ImportError: libharpcuda.so.0: cannot open shared object file: No such file or directory

/root/.conda/envs/llama/lib/python3.10/site-packages/transformers/optimization.py:591: FutureWarning: This implementation of AdamW is deprecated and will be removed in a future version. Use the PyTorch implementation torch.optim.AdamW instead, or set no_deprecation_warning=True to disable this warning
warnings.warn(
GPU = NVIDIA A100-SXM4-80GB. Max memory = 79.151 GB.
6.062 GB of memory reserved.
==((====))==  Unsloth - 2x faster free finetuning | Num GPUs = 1
\   /|    Num examples = 196,516 | Num Epochs = 3
O^O/ _/ \    Batch size per device = 4 | Gradient Accumulation steps = 32
\        /    Total batch size = 128 | Total steps = 4,605
"-____-"     Number of trainable parameters = 41,943,040
Warning: The following arguments do not match the ones in the trainer_state.json within the checkpoint directory:
per_device_train_batch_size: 48 (from args) != 4 (from trainer_state.json)
0%|                                                                                | 0/4605 [00:00<?, ?it/s]Traceback (most recent call last):
File "/root/fork/train_llama3.1.py", line 125, in
trainer_stats = trainer.train(resume_from_checkpoint=True)
File "", line 126, in train
File "", line 363, in _fast_inner_training_loop
File "/root/.conda/envs/llama/lib/python3.10/site-packages/transformers/trainer.py", line 3318, in training_step
loss = self.compute_loss(model, inputs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/transformers/trainer.py", line 3363, in compute_loss
outputs = model(**inputs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/accelerate/utils/operations.py", line 819, in forward
return model_forward(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/accelerate/utils/operations.py", line 807, in call
return convert_to_fp32(self.model_forward(*args, **kwargs))
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/amp/autocast_mode.py", line 16, in decorate_autocast
return func(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/models/llama.py", line 964, in PeftModelForCausalLM_fast_forward
return self.base_model(
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/peft/tuners/tuners_utils.py", line 188, in forward
return self.model.forward(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/accelerate/hooks.py", line 169, in new_forward
output = module._old_forward(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/models/llama.py", line 883, in _CausalLM_fast_forward
outputs = self.model(
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/accelerate/hooks.py", line 169, in new_forward
output = module._old_forward(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/models/llama.py", line 720, in LlamaModel_fast_forward
hidden_states = Unsloth_Offloaded_Gradient_Checkpointer.apply(
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/autograd/function.py", line 553, in apply
return super().apply(*args, **kwargs)  # type: ignore[misc]
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/cuda/amp/autocast_mode.py", line 115, in decorate_fwd
return fwd(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/models/_utils.py", line 659, in forward
output = forward_function(hidden_states, *args)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/accelerate/hooks.py", line 169, in new_forward
output = module._old_forward(*args, **kwargs)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/models/llama.py", line 466, in LlamaDecoderLayer_fast_forward
hidden_states = fast_rms_layernorm(self.input_layernorm, hidden_states)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/kernels/rms_layernorm.py", line 190, in fast_rms_layernorm
out = Fast_RMS_Layernorm.apply(X, W, eps, gemma)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/torch/autograd/function.py", line 553, in apply
return super().apply(*args, **kwargs)  # type: ignore[misc]
File "/root/.conda/envs/llama/lib/python3.10/site-packages/unsloth/kernels/rms_layernorm.py", line 144, in forward
fx[(n_rows,)](
File "/root/.conda/envs/llama/lib/python3.10/site-packages/triton/runtime/jit.py", line 532, in run
self.cache[device][key] = compile(
File "/root/.conda/envs/llama/lib/python3.10/site-packages/triton/compiler/compiler.py", line 624, in compile
return CompiledKernel(fn, so_path, metadata, asm)
File "/root/.conda/envs/llama/lib/python3.10/site-packages/triton/compiler/compiler.py", line 638, in init
mod = importlib.util.module_from_spec(spec)
File "", line 571, in module_from_spec
File "", line 1176, in create_module
File "", line 241, in _call_with_frames_removed
ImportError: libharpcuda.so.0: cannot open shared object file: No such file or directory
Please help me!

i do not find anything information about the file 'libharpcuda.so.0'.

@shaper @Qubitium @bet0x @sebdg

Oh that's not good - can you try nvcc in the terminal

Sure.
(llama) root@intern-studio-50208757:~# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:02:13_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0
I guess the issue is about the version of CUDA and Unslooth not being compatible. How about you?

Oh that's not good - can you try nvcc in the terminal

Sure.
(llama) root@intern-studio-50208757:~# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:02:13_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0
I guess the issue is about the version of CUDA and Unslooth not being compatible. Is that possible?

i try to change the version of CUDA like this:

but the issue still here.
i use the env of training llama3.1 as follow:
conda create --name unsloth_env
python=3.10
pytorch-cuda=<11.8/12.1>
pytorch cudatoolkit xformers -c pytorch -c nvidia -c xformers
-y
conda activate unsloth_env
pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
pip install --no-deps "trl<0.9.0" peft accelerate bitsandbytes
the code is:
import os
import torch
from unsloth import FastLanguageModel
from datasets import load_dataset
from transformers import TrainingArguments, AdamW, TrainerCallback
from trl import SFTTrainer
禁用P2P和IB以解决NCCL错误
os.environ['NCCL_P2P_DISABLE'] = '1'
os.environ['NCCL_IB_DISABLE'] = '1'
加载模型和分词器
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="Meta-Llama-3.1-8B",  # 模型路径
max_seq_length=2048,  # 可以设置为任何值内部做了自适应处理
dtype=torch.float16,  # 数据类型使用float16
load_in_4bit=True,  # 使用4bit量化来减少内存使用
device_map="auto",  # 将整个模型加载到指定的GPU上
)
应用LoRA调整
model = FastLanguageModel.get_peft_model(
model,
r=16,  # 选择任何大于0的数字！建议使用8、16、32、64、128
target_modules=["q_proj", "k_proj", "v_proj", "o_proj",
"gate_proj", "up_proj", "down_proj",],
lora_alpha=16,
lora_dropout=0,  # 支持任何值，但等于0时经过优化
bias="none",    # 支持任何值，但等于"none"时经过优化
use_gradient_checkpointing="unsloth",  # True或"unsloth"适用于非常长的上下文
random_state=3407,
use_rslora=False,  # 支持排名稳定的LoRA
loftq_config=None,  # 和LoftQ
)
启用梯度检查点
model.gradient_checkpointing_enable()
加载数据集
dataset = load_dataset("json", data_files="ShareGPT-Chinese-English-90k/sharegpt_jsonl/common_zh_70k.jsonl", split="train")
定义格式化模板
alpaca_prompt = """
Instruction:
{}
Input:
{}
Response:
{}"""
确定结束标记
EOS_TOKEN = tokenizer.eos_token
定义格式化函数
def formatting_prompts_func(examples):
conversations = examples["conversation"]
texts = []
for conversation in conversations:
for turn in conversation:
if "human" in turn and "assistant" in turn:
instruction = turn["human"]
input_text = turn["human"]
output_text = turn["assistant"]
# Must add EOS_TOKEN, otherwise your generation will go on forever!
text = alpaca_prompt.format(instruction, input_text, output_text) + EOS_TOKEN
texts.append(text)
return {"text": texts}
将格式化函数应用到数据集
dataset = dataset.map(formatting_prompts_func, batched=True, remove_columns=dataset.column_names)
打印和检查格式化后的数据集
print(dataset)
print(dataset[0])
定义训练参数
training_args = TrainingArguments(
output_dir="models/save/llama3.1",  # 输出目录
per_device_train_batch_size=48,  # 将批量大小减小为1
gradient_accumulation_steps=32,  # 增加梯度累积步数以弥补减小的批量大小
warmup_steps=5,
# max_steps = 60, # 最大训练步数，测试时设置
num_train_epochs=3,  # 训练轮数
logging_steps=50,  # 日志记录频率
save_steps=500,   # 模型保存策略
learning_rate=1e-5,  # 学习率
fp16=True,  # 是否使用float16训练
bf16=False,  # 是否使用bfloat16训练
optim="adamw_8bit",  # 优化器
weight_decay=0.01,  # 正则化技术，通过在损失函数中添加一个正则化项来减小权重的大小
lr_scheduler_type="linear",  # 学习率衰减策略
seed=3407,  # 随机种子
resume_from_checkpoint=True,  # 是否从检查点恢复训练
)
创建自定义优化器
optimizer = AdamW(model.parameters(), lr=1e-6, weight_decay=0.01)
创建Trainer实例
trainer = SFTTrainer(
model=model,  # 模型
tokenizer=tokenizer,  # 分词器
args=training_args,  # 训练参数
train_dataset=dataset,  # 训练数据集
dataset_text_field="text",  # 数据集文本字段名称
max_seq_length=2048,  # 最大序列长度
dataset_num_proc=64,  # 数据集处理进程数
packing=False,  # 可以让短序列的训练速度提高5倍
optimizers=(optimizer, None),  # 将自定义优化器传递给Trainer
)
当前GPU信息
gpu_stats = torch.cuda.get_device_properties(0)
当前模型内存占用
start_gpu_memory = round(torch.cuda.max_memory_reserved() / 1024 / 1024 / 1024, 3)
GPU最大内存
max_memory = round(gpu_stats.total_memory / 1024 / 1024 / 1024, 3)
print(f"GPU = {gpu_stats.name}. Max memory = {max_memory} GB.")
print(f"{start_gpu_memory} GB of memory reserved.")
开始训练
trainer_stats = trainer.train(resume_from_checkpoint=True)
保存模型和分词器
lora_model="models/save/llama3_20240901"
model.save_pretrained(lora_model)
tokenizer.save_pretrained(lora_model)

I was able to run it successfully a few days ago, but I don't know why it has been reporting this error for the past two days. I guess the problem might be the model. I am trying to download the new one, Llama3. I have installed another environment using Conda, but I don't think that is the reason.
Please help me~

I would match the cuda lib to match your driver cuda first. Then make sure transformers,accelerate, trl is latest release. I have never seen this libharpcuda.so error.
12.1 is also fairly old so try to get the gpu driver to latest stable driver if possible.
You also may have conflicting cuda toolkit installs.

Hmmm I'm stumped sadly - ye as @Qubitium said, it's most likely some cudatoolkit conflicts - for conda environments, try this step by step:

Install Torch with Triton & cudatoolkit - verify Torch and Triton all work, and nvidia-smi and torch's cuda match
Install Xformers, then check it with python -m xformers.info
Install bitsandbytes then check it with python -m bitsandbytes
Then install Unsloth

If you do each step separately, you might find which issue is the main bottleneck

Hmmm I'm stumped sadly - ye as @Qubitium said, it's most likely some cudatoolkit conflicts - for conda environments, try this step by step:

Install Torch with Triton & cudatoolkit - verify Torch and Triton all work, and nvidia-smi and torch's cuda match
Install Xformers, then check it with python -m xformers.info
Install bitsandbytes then check it with python -m bitsandbytes
Then install Unsloth

If you do each step separately, you might find which issue is the main bottleneck

I apologize for the delayed response. I had put this matter aside for the past couple of days because it was causing me a lot of frustration. Today, I tried following your advice and reinstalled the environment. Unlike before, I used 'pip install "unsloth[cu121-ampere-torch211] @ git+https://github.com/unslothai/unsloth.git"' to install Unsloth. Now, it has successfully installed, and the training has started running smoothly. (Previously, I used 'pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git".) Lastly, I want to thank you for your suggestion.
Thank you, this has been a great help to me.

I would match the cuda lib to match your driver cuda first. Then make sure transformers,accelerate, trl is latest release. I have never seen this libharpcuda.so error.
12.1 is also fairly old so try to get the gpu driver to latest stable driver if possible.
You also may have conflicting cuda toolkit installs.

Thank you very much for your suggestion. I checked the CUDA version, and eventually, I found that there might be a conflict between a part of Unsloth and CUDA tools. I was able to resume my training by using the version unsloth[cu121-ampere-torch211]. I really appreciate your help.

Nice you solved it!


Link to webpage added.

Link to webpage explaining gradient descent optimization algorithms by Sebastian Ruder added to the document.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @menpj
Thank you for your PR but currently, we do not merge PRs that only add to the More Information section.
You can refer to the Contributing Guide here to see why we close certain PRs.


fix: adding files by pull stream

fixes #745

released interface-ipfs-core and update deps here. Let's see what CI has for us :)


[Feature request] Add layer groups or tree-style nested layers to Layer list in draw.io

Layers is great function that allow to do different versions for parts of scheme in one file. But with active usage we always got long plain list of layers, that includes parts of parts of scheme. And it is too hard to operate with this long plain list of layers.
Please add ability to create tree with nested layers, or layer folders, or maybe groups by tag (for example, "footer elements", "header elements"), or any other grouping solution.
Good example of interface with nested layers you can see in GIMP: https://docs.gimp.org/en/gimp-layer-groups.html

@alderg, thanks for the tip - this is a good workaround for now, but operating with layer groups will be much comfortable that using tags. So will be good to see this functional in future.


I have some problem about permissions

Hi, fr34kyn
I got some problem, it worked fine before
but now I cant solved the problem it happened
here is the link about my problem, is that a bug or something?
https://rocketmod.net/forum/thread/4125-kit-bugged-need-help/

okay, another server owner told me I have to add a permission that will fix it
sorry for disturb , now it fixed


Removing ITKReview dependency

that easy huh? great.
you could have put some ITK version stuff around the checking, but alternatively you address in the installation doc.


pull request for e2e test at 12/03/2016 04:26:02

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Does MXNET has the tool to compute the mean of batches of images?

Does MXNET has the tool to compute the mean of batches of images?Thanks

ImageRecordIter will compute mean if not found.

Thank you very much.


Firefox reports bad bounding x-values due to fractional width

Firefox may report bad bounding xmin/xmax values because the text width is reported as a fraction. While xpos was already int-cast, the value for scanwidth also needs to be int-cast for Firefox to report the correct values.

fixed in https://github.com/Pomax/Font.js/commit/73428fad115a2d4f9d74c05edbc6dba223037bb7


Update discipline-core to 1.1.5

Updates org.typelevel:discipline-core from 1.1.3 to 1.1.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "discipline-core" } ]

labels: test-library-update, semver-patch

Codecov Report

Merging #107 (5cd3685) into master (e2f7388) will decrease coverage by 1.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
- Coverage   93.75%   92.50%   -1.25%
==========================================
  Files           2        2
  Lines          80       80
==========================================
- Hits           75       74       -1
- Misses          5        6       +1

Impacted Files
Coverage Δ

...ala/com/vladkopanev/cats/saga/SagaTransactor.scala
84.21% <0.00%> (-2.64%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2f7388...5cd3685. Read the comment docs.


Refactor contact-form

@Tishasoumya-02 Can you please add a reference to the initial github issue for this PR?!

Okay Ya sure @avoinea


Adding title to README.md

Unfortunately, Google doesn't  have interest and attention to PRs on this repo, according to this comment


docs: Fix link to code of conduct in readme

CONTRIBUTING.md has no contributor-code-of-conduct header.
I think CODE_OF_CONDUCT.md is the best destination for this link (that file was added by a google bot that didn't update the readme). It's also possible that this should link to the review-our-community-guidelines header in CONTRIBUTING.md. I'm happy to update this PR to do that if that's the case.

Nice catch @wolfpeyton! Thanks for spotting this 😄


can you support monitoring with fx

it would be useful for synth playing

monitoring with fx? some kind of proprietary reaper feature?

sth like reverb toggle

still don't get it. monitoring for me is reading metrics

still don't get it. monitoring for me is reading metrics

https://help.ableton.com/hc/en-us/articles/360006569179-Monitoring-in-Live#:~:text=Monitoring means that you're,on your speakers or headphones.

Looks like a specific feature of this proprietary product.


facebook binding - invitable_friend request issue

I am getting "The operation couldn’t be completed. (com.facebook.sdk error 5.)" error when trying to get invitable friends via Facebook request. I have created following post on stackoverflow.
http://stackoverflow.com/questions/28881948/robovm-facebook-binding-invitable-friends-issue-com-facebook-sdk-error-5
I really appreciate if you can check it.

Have you remembered to add a canvas to your Facebook app? This is required in order to use invitable friends and get your Facebook app recognized as a game.
I've had the exact same error as you because of this.

The latest Facebook bindings have been released as RoboPod: https://github.com/robovm/robovm-robopods/tree/master/facebook
The only thing you need to do is to add a maven or gradle dependency to your project, like

compile "org.robovm:robopods-facebook-ios:1.0-SNAPSHOT"


Working with GraphQL playground / Queries after enabling Cognito is unclear

Which Category is your question related to?
Authentication
What AWS Services are you utilizing?
Cognito
Provide additional details e.g. code snippets
When creating GraphQL api that uses @auth template, we require to use Cognito as authentication mechanism.
After it is set up, we need to authenticate in AppSync console -> Queries in order to use GraphQL playground and view documentation. Authentication dialog requires ClientID, Username and Password and there are several issues I found

ClientID / AppID generated by aws amplify have ...app_clientWeb and ...app_client details. I initially used ...app_client one that has a secret and kept getting errors until I realised that I need to use another app id that has no secret. I feel like all of this is a bit unclear at the moment.

In AppSync console name ClientID is used instead of App client ID from Cognito.

Assuming my app only uses federated sign in mechanisms from google and facebook, how would I use them to log into AppSync console, since it only allows for username and password auth? Regarding this, say we only want to allow facebook login, is it possible to disable default username / email login?

Thanks for the suggestion. It seems like you were able to figure it out but here is a suggestion for others that may be facing this same confusion. You can easily find metadata such as the User Pools ClientID by looking at amplify-meta.json file in your project. Inside it you will see a section per category with high level details on the project's resources. For example, you will see something like this for the auth category.
"auth": {
		"cognito6765b762": {
			"service": "Cognito",
			"providerPlugin": "awscloudformation",
			"providerMetadata": {
				"s3TemplateURL": "https://s3.amazonaws.com/searchtest-20190307103316-deployment/amplify-cfn-templates/auth/cognito7291b784-cloudformation-template.yml",
				"logicalId": "cognito7291b784"
			},
			"lastPushTimeStamp": "2019-03-08T23:00:06.545Z",
			"output": {
				"AppClientSecret": "1h8s2pnltdgr8ajalsudmn9491als8dje8ald82j801pstcm16q",
				"UserPoolId": "us-west-2_9sald7wkjdf",
				"AppClientIDWeb": "6abi2s6g29a83jdlkf3preikc0t",
				"AppClientID": "7q8c80ma7sdjwldibde3d6gl5c",
				"IdentityPoolId": "us-west-2:d4d76bea-202d-4116-b83e-a5a7dhcac3357",
				"IdentityPoolName": "cognito6765b762_identitypool_18djal762__dev",
				"UserPoolName": "cognito6765b762_userpool_71jd9762"
			},
			"lastPushDirHash": "hUSB7DNp5ehFUrAhH882KMJxNd8="
		}
	}

When using the AppSync console's query tab, you will use the "AppClientIDWeb" for the Client ID as well as your own username & password for the user configured in the user pool. I will make an note to update the docs with this information.


Sluggable package is not being installed

When installing as a standalone module the Sluggable package is not being installed
PHP Fatal error:  Trait 'Cviebrock\EloquentSluggable\Sluggable' not found in /vendor/vanilo/product/src/Models/Product.php on line 20
Steps to reproduce:

Install new Laravel app
Install Product package
Run the app

Vanilo\Product 2.0.0
Laravel 8.15.0
Composer 2.0.0

Thanks for the report! It's been fixed and released in v2.0.1


Test case 45 - Comments on level DiagnosticReport

There is no reference file available yet for test case 45 "Comments on level DiagnosticReport" and I'm wondering in which field the comment should be written? If the Belgian profile would be based on the latestet FHIR version 6.0.0 http://build.fhir.org/diagnosticreport.html, I would include it as a note but there is no note field foreseen in FHIR version 4.0.1 on which the Belgian profile https://www.ehealth.fgov.be/standards/fhir/lab/StructureDefinition-be-laboratory-report.html is based.
So, should we use the field "conclusion" for it? If so, I think the test case 45 should be relabeled as ' Clinical conclusion (interpretation) on level DiagnosticReport' which is more precise than the generic word 'Comments' which can mean +/- everything.
Furthermore, as I already mentioned in https://github.com/hl7-be/lab/issues/216, it's also possible to send report comments via an observation with the LOINC code 86468-6 'Report comment section' like in test case 41C. So, I'm wondering if test case 45 really makes sense and should not just be dropped from the test plan?

@frederic-istace ,
There is an extension added to the profile (see screenshot):

So you can definitely use this extension to put a report level note. The use of an observation with 86468-6 is possible as well.
Both can be used and will be approved. You can be the first to send the reference file ;) !

@bdc-ehealth
Thanks but I don't see a corresponding definition on https://www.ehealth.fgov.be/standards/fhir/lab/1.0.0/artifacts.html#structures-extension-definitions
Should I just invent a new code, like for example 'be-report-comment'?

@frederic-istace
https://www.ehealth.fgov.be/standards/fhir/lab/StructureDefinition-be-ext-note.html

@bdc-ehealth
I have submitted an example using extension be-ext-node for test case 45 under message ID 1656. Could you please have a look at it?

@bdc-ehealth
If fixed it. See message ID 1670.

@frederic-istace
test is green.


[FEATURE]

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Team top different requirements
Describe alternatives you've considered
I would like the /team top to be based on more aspects, like baltop, kills and mobs killed. It would be nice if this top made a statistic with these 3 things.
Additional context
none

well, the /team top represents the team PVP status, and the /team baltop represents topp-est team in the economy!
and well take a look on the commands wiki:
https://github.com/booksaw/BetterTeams/wiki/Commands
Greetings,
~ Adarsh

As mentioned a command exists for baltop
How would you propose the rankings of this new leaderboard are calculated?

This issue is being closed for inactivity. If you are still having problems feel free to open a new issue linking this one, make sure you answer any questions asked in the new issue.


Usage of hpc parameters clarification

What is the current behavior?
It seems that the hpc parameters received by transpiler.compile(..., hpc=..., ...) are not really added to the resulting Qobj - they are checked inside the function, but not used after that. This behaviour is also present in 0.5.7, and it seems we lost that functionality at some point in the past (with no strong side effects it seems :) )
Now that some changes to the transpiler are being done in #705 and related efforts, could we try to clarify if those parameters are really meant to be in use anymore, and act accordingly - either adding them to the returned object, or removing the checks from the code? There is also code in ibmqjob.py that parses them, that might need to be checked depending on the action taken.
Steps to reproduce the problem
What is the expected behavior?
Pinging explicitly @ajavadia and @jaygambetta for it!
Suggested solutions

I would like to remove all hpc and that if it is needed it goes into a config.py as getting designed by @chriseclectic for qiskit aer

Added to #704's Transpiler epic.
This is legacy and we should remove it. I think the hpc backend should do the optimizations by default. If there is really a use case for users turning off those parallelization optimizations, then it should be done via the config as Jay mentioned.

This affects #657, it should be safe to remove passing the hpc parameters.

Fixed via #724.

Reopening as it seems that #724 does not solve the issue and hpc is still present in a number of places of qiskit/transpiler/_transpiler.py - Ali, can you check if you were referring to other issue instead?

I think this should be closed and tracked in #1052 @diego-plan9 do you agree


fix: 🐛 removing connected-react-router

As discussed in #24

Pull Request Test Coverage Report for Build 106502418

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 99.669%

Totals

Change from base Build 106494280:
0.3%

Covered Lines:
241

Relevant Lines:
241

💛  - Coveralls

Pull Request Test Coverage Report for Build 106502418
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 99.669%

Totals

Change from base Build 106494280:
0.3%

Covered Lines:
241

Relevant Lines:
241

💛  - Coveralls


User Guide for output from events

A guide detailing the output from events received in the publisher

Looking at your documentation I started some head scratching...

I can see that. Much (if not all) of what you are remarking on is already there in 2.7, nothing we added as part of the events feature

Hi @peterbryntesson, I saw in your walkthrough that encodeableDictionary implementation was changed, maybe new implementation needs to be revisited.


Provide code for customize Identity article

I think this probably can be resolved, @ajcvickers added docs here https://docs.microsoft.com/en-us/aspnet/core/security/authentication/customize-identity-model?view=aspnetcore-2.2


Token from Google authenticator is never verified

Hello smart people!
I am looking for some help making my implementation work. I read through similar issues but I didn't manage to find help there. I am writing a nodejs server based on Express and using google authenticator to generate codes. Here is my code.
const SPEAKEASY = require('speakeasy');
const QR_CODE = require('qrcode');

// initiating the 2 factor authentication, generating QR code
router.post('/signin/2factorAuth',  auth.authenticate(), (req, res) => {
	const SECRET = SPEAKEASY.generateSecret({
		length: 20
	});
	console.log(SECRET.base32);

       // saving the user secret
	req.user.twoFactorAuthSecretTemp = SECRET.base32;

	return QR_CODE.toDataURL(SECRET.otpauth_url, (err, data_url) => {
		res.send(data_url);
	});
});

// checking the token
router.get('/signin/auth_token', auth.authenticate(), (req, res) => {
	const USER_TOKEN = req.query.token;

        // temp solution for my timezone only
	const TIME = (MOMENT().unix() + 7200); // in seconds

	const TOKEN = SPEAKEASY.totp({
		secret: req.user.twoFactorAuthSecretTemp,
		encoding: 'base32',
		time: TIME
	});

	console.log('server TOKEN ' + TOKEN);

	const VERIFIED = SPEAKEASY.totp.verifyDelta({
		secret: req.user.twoFactorAuthSecretTemp,
		encoding: 'base32',
		token: USER_TOKEN,
		time: TIME
	});

	res.json(VERIFIED);
});

At first, I thought the problem was that my device time is different from server time. However after setting "time" option verify still returns undefined. My server time is UTC and device timezone is +2hrs.
auth.authenticate()  - checks if the JWT token in the Authorization header is valid. It also sets the current logged in user to req.user
Any advice is highly appreciated.
Thank you and have a lovely day :D

Would be very grateful to get any help on this.

@piggydoughnut I would suggest you logging req.user.twoFactorAuthSecretTemp inside /signin/auth_token route :) please read docs on Express (that's the one you're using, right?) about how req, res and next are generated and used :)
Long story short: the req.user from the first route is a completely different object from the req.user in the second route :)

@backmeupplz Hello) Thx to your reply. I am sorry, there is a bit of my code missing there. I am actually saving the user object in the first route so the keys are definitely the same ones. However thank you for noting down the missing part. So both req.user.twoFactorAuthSecretTemp are the same in both routes.

If anyone ever gets stuck like I did, here is what was my problem. Implementation was correct and all was working fine. However the time on my Mac was not synced with the time on device. Even though, I am not sure now, but I think I the time seemed to be same on device and on a phone, coz it was one of the first things I checked.
Easy fix is to set both your Mac and iPhone to sync their time with Apple Europe server. You just gotta tick "set time and date automatically" and then all works perfectly fine :) My Google authenticator codes are validated and I m one very happy person now 😸


HOTFIX fix issues found while trying to update HS backend regression tests

Restore the ability to run single prover tests This was broken by https://github.com/runtimeverification/evm-semantics/pull/1894 and is necessary for Haskell backend test update automation and a custom CI workflow using target test-prove-smoke.
Fix bug report name rstrip was used but is doing more than removesuffix
Remove stray unknown attribute from mcd/verification.k Attribute proj was not known to kompile.

Hmmmm, it seems that we should just make the testing harness make it easier to run individual tests? We can already do that, right? I usually run (for example, to run proof erc20/hkg/transferFrom-success-2-spec.k):
export KEVM_LIB=$(pwd)/.build/usr/lib/kevm
make -C kevm-pyk test-integration TEST_ARGS='-k erc20/hkg/transferFrom-success-2-spec'

Is this sufficient?
Also, the proj attribute should already be taken care of on master branch I think.

Hmmmm, it seems that we should just make the testing harness make it easier to run individual tests? We can already do that, right? I usually run (for example, to run proof erc20/hkg/transferFrom-success-2-spec.k):
export KEVM_LIB=$(pwd)/.build/usr/lib/kevm
make -C kevm-pyk test-integration TEST_ARGS='-k erc20/hkg/transferFrom-success-2-spec'

Is this sufficient?

Yes, that works, but we need to retrieve the bug-report (kevm-bug-something.tgz) - it will probably land in a different place now. I could try to use an environment variable (instead of letting kevm-pyk come up with a name) to pass the option.
The other Q is for how long this is going to still work... it depends on running proofs with kprove (and that is what the extracted regression tests are checking). The restored Makefile variables are an easy way to get the functionality back so I went that way first. Can try to use the test-integration way instead.

Also, the proj attribute should already be taken care of on master branch I think.

Yes, that change was there because the k version we run with is different (newer) in Haskell-backend. The proj will be gone when evm-semantics is updated to newer k.

So, there are two problems when I try to use make -C kevm-pyk test-integration ... in my script (which is btw here)

When I use custom KORE_EXEC_OPTS to pass the --bug-report flag, the variable gets overwritten. I fixed that in pyk here (maybe we want to merge that anyway?)
Some of the tests that we have chosen as regression tests are not run using the legacy kprove any more, they use the pyk_prove flavour instead. The regression test is for kprove so I would like to call test_legacy_prove on those tests in some way if possible. (which gets us back to the question how long this will continue to work...)

@tothtamas28 @ehildenb is there a way to call that legacy test method, or should I keep the Makefile  way to run them alive instead?

is there a way to call that legacy test method, or should I keep the Makefile way to run them alive instead?

Would it be an option to make the backend regression test generation scripts standalone, i.e. copy the minimal set of artifacts necessary to run kprove to the backend repo? Test test_legacy_prove basically just kompiles a definition and calls kprove, so it's easy to reproduce.  This way, we avoid making the evm-semantics test suite effectively part of the public API.

State is kept as branch hs-backend/test-extraction-branch, to use in future (manual) test extraction runs - closing this


Call to undefined method Illuminate\Database\Query\Builder::getQualifiedForeignKeyName()

I'm getting an error when trying to use filter on relationships
Call to undefined method Illuminate\Database\Query\Builder::getQualifiedForeignKeyName()
The error seems to come from  line 255 of EloquentBuilderTrait.
Anyone else have this issue?

If I change getQualifiedForeignKeyNameto getQualifiedForeignKey it seems to work.

What version of Laravel are you using?

v5.4.35

What kind of relation is throwing the error?

i'm having the same error, on same laravel version, my relation is like this:
public function staff()
{
    return $this->belongsTo(User::class);
}

If you're using Laravel 5.5, it's because of two functions that wee renamed, detailed here:
https://github.com/laravel/framework/issues/20869#issuecomment-326334760

Noup, i'm using 5.4.

Okay, we are using 5.5 how do I change the method?


NIFI-4572: Include database and table names in CaptureChangeMySQL events even when cache is not configured

Summary
NIFI-4572
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[x] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[x] Documentation formatting appears as expected in rendered files

LGTM
Thanks @mattyb149 for this improvement.
Merged to main.


[web]:build web 端 放在iis 访问 没任何反应

使用https://flutter.cn/docs/get-started/web
build web 端 放在iis 访问 没任何反应

已经 解决，，要放在一级目录  二级目录是会报错的

Closing this based on above comment (translate: It has been resolved. It must be placed in the first-level directory. An error will be reported in the second-level directory.).


Fix for Sass precompiler does not work with abide form error class #6942

In libsass the attribute selector (e.g. [data-abide]) is rendered to CSS with quoted (e.g. "[data-abide]"). Wrapping the isolated interpolated value in parenthesis resolves the problem.

Hi - thanks for the PR! We still want this to go into Foundation 5 and we'll be pushing a patch next week. Are you able to re submit on the V5 branch so we can get it in? Thanks!

No longer an issue in Libsass 3.3 and up, just tested!


password should be in a config file instead of command line

passing password to the exporter via command line is very insecure.
Another exporter had similar issues trying to get listed:
https://github.com/leansys-team/couchbase_exporter/issues/10

pass it via COUCHBASE_PASSWORD environment variable?
https://github.com/totvslabs/couchbase-exporter/blob/fcc6cffb69c7c57109523c0f2b6cba58e2df9ba3/main.go#L24

as noted, you cam use the env var instead :)


Missing examples and details about option for command on website , customer asking about it.

[Enter feedback here]
2)The “--base-image-trigger-type” parameter has two values: “All” and “Runtime”. We didn’t find more detailed explanation about what these really mean. Can you please advise?
examples!

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

ID: d13a1ecb-d45d-84fe-aa0d-d61a4020e5dc
Version Independent ID: 128e5bc6-e518-bd5a-f511-48e0ed185739
Content: az acr task
Content Source: src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/_help.py
Service: container-registry
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@northtyphoon  I vaguely recall you answering this somewhere else. Was it fixed / can this be closed now?

In a multi-stage Dockerfile, users can build the binaries based on one or more “buildtime” image and then package the binaries to a “runtime” image. The final output image is based on the “runtime” image.
ACR Tasks currently supports tracking runtime base image. We plan to support buildtime in the future. “All” is reserved for this purpose.

/cc @dlepow

https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-base-images


Create 0001-0100.md

added 100 basic problems
Related Issue #385
[Cite any related issue(s) this pull request addresses. If none, simply state "None”]
Description
[Please include a brief description of the changes or features added]
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:

Code Harbor Hub Community Features
Docusaurus Documentation
React.js Documentation
Markdown Guide
MDX Documentation
Mermaid Documentation

Resources for DSA Features on Our Site:

Tabs: Switch Languages
Line Numbering
Math Equations

@Ajay-Dhangar does i have to
{
"problemName": "1. Inorder Traversal",
"difficulty": "basic",
"leetCodeLink": "https://www.geeksforgeeks.org/problems/inorder-traversal/0",
"solutionLink": "#"
}
but it was gfg URL not leetCodeLink

@Ajay-Dhangar does i have to { "problemName": "1. Inorder Traversal", "difficulty": "basic", "leetCodeLink": "https://www.geeksforgeeks.org/problems/inorder-traversal/0", "solutionLink": "#" }
but it was gfg URL not leetCodeLink

No problem! We use props to pass data, and it's only a name. For GFG, we are currently using LC, and you can use it as well. I will update and set up the code for GFG and others, so don't worry and give it a try.

ok then i will correct it

@Ajay-Dhangar Please check it

taking out 150 points due to guidelines. 200 points on this repo will be awarded for contribution.
any technical work added wont be counted.


Symmetric Difference - incorrect test case

I feel that the following test case is incorrect.
sym([1, 2, 5], [2, 3, 5], [3, 4, 5]) should return [1, 4, 5]
Should this really return a 5 in the results if 5 is present in all 3 arrays?

@AlimacsMusings please post an Issue on Github only if you need to address a specific bug and not get help for a challenge.
Apart from that, from the definition of Symmetric Difference, 5 should be indeed in the symmetric difference of the 3 arrays, so this is not an Issue and should be closed.

@AlimacsMusings thanks for the issue, but the challenge test you pointed out is correct. Please take a look at the example in the instructions. It shows you why. If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Happy coding!

Hey @erictleung and @KonSal  I believe @AlimacsMusings is on to something.
The explanation in  https://www.freecodecamp.org/forum/t/freecodecamp-challenge-guide-find-the-symmetric-difference/301611 says that for odd numbers of arrays, elements that are present in all arrays will be part of the Symmetric difference.
In my understanding, this is due to an implementation error: two arrays that include the same element are compared, so their symmetric difference doesn't include the element. Then this intermediary result is compared to the third array, which once again contains the element. It's the included in the final result.
From a set theory point of view this doesn't make any sense, if you compare the sets by hand, you wouldn't include an element that is present in all sets. We have to compare all sets simultaneously
The flaw becomes apparent, because there is no test case with an even number of sets where every set includes the same element - here it would suddenly not be included. This is nonsensical !

Okay, I also see the discussion here: https://github.com/freeCodeCamp/freeCodeCamp/issues/12598


Create publishing-a-new-release.md

Procedure targeted to maintainers of the project

Adding myself as reviewer, I'm interested!
Question for myself when I get around to read it properly: why is 7.14.0 different from 7.15.0? Missing changelog preview?

I forgot the part to click "Auto-generate release notes"


[BUG] LinearRegressionModel use default parameters if yStd is 0

What changes were proposed in this pull request?
In the (rare) case where yStd is 0 in LinearRegression, parameters are not copied immediately to the created LinearRegressionModel instance, but they should (as in all other cases), because now the default column names are used in and returned by model.findSummaryModelAndPredictionCol(), which leads to schema validation errors.
How was this patch tested?
some simple manual tests

Can one of the admins verify this patch?

@shkdee This PR makes sense. Could you create a JIRA and add test case for this issue?

@shkdee Could you add test case for this issue? Thanks.

It looks like this was fixed in SPARK-15339, so can you please close this issue?  Thanks!


Homebridge crashing after a few hours

Hello,
So I got my homebridge working but after a few hours it'll crash and I get this error.
errorhub { Error: connect ETIMEDOUT <IP_ADDRESS>:5222
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5222 }
errorhub { Error: connect EHOSTUNREACH <IP_ADDRESS>:5222
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
code: 'EHOSTUNREACH',
errno: 'EHOSTUNREACH',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5222 }
events.js:160
throw er; // Unhandled 'error' event
^
Error: MAX_CLIENTS=6
at Connection.onStanza (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:355:17)
at StreamParser. (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:226:10)
at emitOne (events.js:96:13)
at StreamParser.emit (events.js:188:7)
at SaxLtx. (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:58:14)
at emitOne (events.js:96:13)
at SaxLtx.emit (events.js:188:7)
at SaxLtx._handleTagOpening (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:31:18)
at SaxLtx.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:105:26)
at StreamParser.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:123:17)
at Connection.onData (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:305:17)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20)
root@raspberrypi:~# OS~
does anybody have an idea whats wrong?
thanks in advance

It looks like the harmonyhub plugin is causing this. You might try posting there.
KraigM/homebridge-harmonyhub#70

Okay thanks
I Just posted it there but can you tell anything from this error? What maybe helps me?

This is a known issue with the Harmony Hub itself, and one of the dependencies libraries is not catching the error. Check out issue #84 on that plugin's issues page. There are workarounds but no fixes.
Sent from my iPhone

On Aug 15, 2017, at 5:13 AM, noaboa97<EMAIL_ADDRESS>wrote:
Okay thanks
I Just posted it there but can you tell anything from this error? What maybe helps me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@ToddGreenfield how is #84 related to my issue to me it seems it absolutly diffrent

The issue on the homebridge-harmonyhub plugin - https://github.com/KraigM/homebridge-harmonyhub/issues/84
Sent from my iPhone

On Aug 16, 2017, at 2:35 AM, noaboa97<EMAIL_ADDRESS>wrote:
@ToddGreenfield how is #84 related to my issue to me it seems it absolutly diffrent
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I read a lot of stuff so I thought I just make sure it's not the connection of the harmony to my router wich fails or somethings with the network. So I placed another router next to my hamrony hub and since then my homebridge hasn't crashed. Although my router is in the living room and I've got my harmonyhub in my room wich is about 3-4 meters away with a wall between and I thought the connection is good but it turned out not to be...


[HUDI-1520] add configure for spark sql overwrite use INSERT_OVERWRIT_TABLE

Tips
If user want to use overwrite with INSERT_OVERWRITE_TABLE of replace, can add this option in spark.write
.option(DataSourceWriteOptions.OPERATION_OPT_KEY, DataSourceWriteOptions.INSERT_OVERWRITE_TABLE_OPERATION_OPT_VAL)
What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2428 (78572a6) into master (23e93d0) will decrease coverage by 40.89%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2428       +/-   ##
============================================
- Coverage     50.54%   9.64%   -40.90%
+ Complexity     3033      48     -2985
============================================
  Files           417      53      -364
  Lines         18725    1929    -16796
  Branches       1917     230     -1687
============================================
- Hits           9464     186     -9278
+ Misses         8488    1730     -6758
+ Partials        773      13      -760

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.64% <ø> (-59.83%)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2428       +/-   ##
============================================
- Coverage     50.54%   9.64%   -40.90%
+ Complexity     3033      48     -2985
============================================
  Files           417      53      -364
  Lines         18725    1929    -16796
  Branches       1917     230     -1687
============================================
- Hits           9464     186     -9278
+ Misses         8488    1730     -6758
+ Partials        773      13      -760

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.64% <ø> (-59.83%)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Update assembly for parquet tools

Small update for parquet-tools module to be able to create distribution including shell scripts and all dependencies. Also documentation update.
Reporter: Ivan Sadikov / @sadikovi
Note: This issue was originally created as PARQUET-748. Please see the migration documentation for further details.

Ivan Sadikov / @sadikovi:
I will work on this, it is fairly trivial and will get myself familiarized with code base a little bit.

Ivan Sadikov / @sadikovi:
See PR comments for more info.
https://github.com/apache/parquet-mr/pull/375


Implements #349. Adds a donate button to the info list.

Additionally, a bit of minor clean up + moved the URL strings to constants. Removed "localization" on the URL strings too, because that makes no sense. Note that the current privacy policy URL is returning a 404.

awesome

Thanks Yogi!  The main OBA.org site underwent a transition to WordPress,
and it looks like the privacy page got lost in the shuffle.  I'll see if I
can fix that early next week.
On Jul 3, 2015 2:40 AM, "Aaron Brethorst"<EMAIL_ADDRESS>wrote:

Merged #429 https://github.com/OneBusAway/onebusaway-iphone/pull/429.
—
Reply to this email directly or view it on GitHub
https://github.com/OneBusAway/onebusaway-iphone/pull/429#event-347132190
.


Pesto polish fixes.

Fix the background color and AppBar transparency on the Recipe page.
Use a Hero animation for the recipe card.
Draw the background image under the status bar on the recipe page.
Added instructional text on favorites page when there are no favorites.

BUG=https://github.com/flutter/flutter/issues/4403
BUG=https://github.com/flutter/flutter/issues/4405
BUG=https://github.com/flutter/flutter/issues/4436
BUG=https://github.com/flutter/flutter/issues/4399


add example to docstring

Great! Here are a few things that would be better to add:

A simple description about how we do the partition in the documentation
A sentence about what kind of query our partition method supports (select, project, join) in the documentation
One test case for each supported type of query (we already have select in our test, so only queries with project and join operations are needed)

great job! I polished the examples and I think you can continue resolving @wangxiaoying 's comments.


feat(mento-v2): Integrate mento-v2

Description
This PR integrates mento-v2 in swappa. This entailed writing a PairMentoV2 smart contract and a ts component following the general Pair interface.
Tested
PairMentoV2.sol and SwappaRouterV1.sol were deployed and swaps were tested on Baklava. Integrated celo-foundry packaged and tested PairMentoV2.sol contract.
In order to easily tests swaps we replaced mainnet.SwappaRouterV1.json address with baklava address  - 0xf821B3c10c922C88D12FF5f91Cf2275e0768D7Dc
Issues

Fixes #122

@ninocomputer I just skimmed through some of mento-v2 stuff, it is a bit too complicated so i probably would need to take a bit of time to understand all the complexities.
However, one thing i noticed is that there is some mention of trading limits. Should those also be implemented in addition to buckets to determine OutputAmounts? I havent looked into it in details, but from cursory glance it seems like if trading limits are reached trades can't happen despite current bucket sizes?

@ninocomputer I just skimmed through some of mento-v2 stuff, it is a bit too complicated so i probably would need to take a bit of time to understand all the complexities.
However, one thing i noticed is that there is some mention of trading limits. Should those also be implemented in addition to buckets to determine OutputAmounts? I havent looked into it in details, but from cursory glance it seems like if trading limits are reached trades can't happen despite current bucket sizes?

Currently, tradingLimits go into action only during swaps in the Broker not whilst calculating the amountOut. I don't think we'd need to implement tradingLimits logic in the component but do let me know if you think otherwise 🙏🏻


#459 Fix incorrect error types loading drivers

ch341.py expects drivers to raise ImportError when a failure occurs during initialization, and ConnectionRefusedError when the failure occurs during connection.
libusb.py and windll.py both are throwing ConnectionRefusedError during the initialization phase. A failure to load the driver during this phase will not be caught by the calling code and will result in a failure to fall back to any alternate driver present.

This is a bit more complex. It needs to turn the file not found into an import error. The connection refused stuff is if the driver loaded but did not connect. That's how that should react correctly there. While I don't have the issue myself, I checked the flow and the better solution is to either catch the filenotfounderror in the main routine or to reraise it as an import error (since that's kind of what that is). I made a commit that should fix it

#459 see https://github.com/meerk40t/meerk40t/commit/962ab67230e674754d5d407340707fd6cd73e301


feat: Adding plugin for Cronos ZKEVM

Relates to:

https://github.com/elizaOS/eliza/pull/1128

Risks

Background
What does this PR do?
What kind of change is this?

Documentation changes needed?

Testing
I have tested the branch by building it locally. LGTM

Where should a reviewer start?
Detailed testing steps

@thomas-nguy thanks for your contribution and efforts. your PR is merged 🚀

This PR broke the integration tests. I think the issue might be related to the import of @elizaos/plugin-cronoszkEVM instead of @elizaos/plugin-cronoszkevm

Fixed in #1468


[Feature Request] Expiring and Postponed RBACDefinitions

Hi team,
This is a really awesome tool and it's helped us reduce a lot of repeated binding specs.
I was wondering if it would be possible to add a way to specify for how long a RBACDefinition is valid for, and additionally, a "start date" to specify when the RBACDefinition will become valid. For example, it would be nice if we could do the following (extending the example on the README):
apiVersion: rbacmanager.reactiveops.io/v1beta1
kind: RBACDefinition
metadata:
  name: dev-access
rbacBindings:
  - name: dev-team
    subjects:
      - kind: Group
        name: dev-team
    roleBindings:
      - clusterRole: edit
        namespaceSelector:
          matchLabels:
            team: dev
    # If startTime is omitted, then it is valid immediately
    startTime: "2020-09-15T00:17:10Z"
    endTime: "2021-09-15T00:17:10Z"

Some use cases I had in mind were:

Sometimes I want to give temporary access, and for that I could use some kind of endTime field
Perhaps I have a new employee that I know will need permissions at some point, I could specify a startTime so that I could apply the RBACDefinition now, but it's effect won't take place until later. Another example here is: I have an intern for which I know the exact time they start and end, so I could set up their roles to have a start and expiry date.

This would be a really cool feature. I feel like it might be a significant change, but a very very cool feature.


pip is configured with locations that require TLS/SSL; Cannot find command 'git' - do you have 'git' installed and in your PATH?

Required attestation

[x] I have completely and exactly followed the virtual environment setup instructions from the book or README in absence of the book.
[x] I have cloned either this repository or my fork of this repository so that I have all necessary files on my local machine.
[x] I have checked that this issue has not already been reported or resolved here.
[x] I am aware that there is a pre-built Binder environment that I can use, but I want to install locally on my machine instead.

Background information
1. Which OS are you using?
Windows 11, Version 21H2, Build 22000.438;
2. Which Python version are you using?
Anaconda3 with Python 3.9.7
3. Are you using conda or venv?
conda

Commands run and their outputs
Please provide all of the commands you ran as well as the traceback:

TODO: paste commands and any traceback here

Screenshots
Optionally, include any screenshots that will help diagnose the issue.

My systemis giving two error messages:

First: "WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available."
Second: "ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q https://github.com/stefmolin/login-attempt-simulator.git 'C:\Users\iraci\AppData\Local\Temp\pip-req-build-1mj3iakt'
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?"
My operating System is Windows 11, Version 21H2, Build 22000.438;
Anaconda3 with Python 3.9.7

Regards
Iracildo

@iracildols - It looks like you entered a bug report when you should have created a troubleshooting issue. Please take a look at the pinned issues as this one is probably the same issue you are experiencing.
If that doesn't fix your issue, please open a troubleshooting issue and fill out all the information requested.

@iracildols - You will have to attach any screenshots directly in GitHub.
I converted your issue into a troubleshooting issue. Please go through the checklist at the top of this issue and mark the ones you completed. If you still have issues after that, fill in everything preceded with TODO: I already filled in the operating system and Python version for you, but I need you to do the rest.

I am using conda.

I troubleshooted my system and the issue now is as follows:

ERROR: Invalid requirement: './visual-aids' (from line 18 of c:\Users\iraci\anaconda3\envs\book_env\Hands-On-Data-Analysis-with-Pandas-2nd-edition\requirements.txt)

The message above says there is an error in file requirements.txt at line 18.

Regards
Iracildo

@iracildols - Just confirming that you closed the issue because you got it working.
If not, you are almost there – you just need to change directories before running the pip3 install command:
cd Hands-On-Data-Analysis-with-Pandas-2nd-edition
pip3 install -r requirements.txt

@stefmolin
I did what you suggested. I ran pip3 again. Follows messages of its execution.
The following part worked as expected.
Execution_Messages.pdf
This next part worked with errors.
Error_Messaages.pdf
The problem begins with: "Preparing wheel metadata ... error".
Please, tell me what to do!
Regards
Iracildo

@iracildols You set up your conda environment with a version of Python that is too recent for the NumPy requirement. This is the same as this issue.
You will need to delete your conda virtual environment and this time specify the Python version when you create it:
conda remove --name book_env --all
conda create --name book_env python=3.8

It kind of looked like you cloned the repository into the folder for your virtual environment, which means it will likely be deleted. You should clone the repository elsewhere; for example, c:\Users\iraci would be a perfect spot for it. Then, as before, you would run through the install:
cd Hands-On-Data-Analysis-with-Pandas-2nd-edition
pip3 install -r requirements.txt

If you aren't comfortable with the command line, I would highly recommend you try the Binder environment, which is all accessible through the web and doesn't require you to install anything locally.

@stefmolin
Everything worked fine! Thanks for your help!
Best wishes
Iracildo


Count limits of "empty response" to close client.

Describe the bug
When getting a large node or getting a long children list, It is easy to reach 10 "empty responses"
To Reproduce
BUG reproduce
As ISSUE 228-2 in README.md

Run npm i
Start a zookeeper server
cd issue228-2
Change the address in options.js to the server address
Run node init-data.js until enough nodes have been appended to root node (create 100000 nodes to root node) and the data size of root node have reached the upper limit.
Run node get-node.js (get data of root node) for serveral times. Observe the log ofyield:zookeeper_process returned no response too many times
Run node get-children.js (get children of root node) for serveral times. Observe the log ofyield:zookeeper_process returned no response too many times

after I run the example, the largest number I had saw is 82.
Expected behavior
Maybe 300 (larger than 3 * 82) is a safe limit count for empty response.

@toBeTheLight Thanks to the pull request #278 this might be solved now. :smile:
Thank you @jbienkowski311 for connecting the PR and this issue. :clap:
I'll close this one. If you still experience issues, please reopen or create a new issue.


Windows & Gradle 7.6.1 file lock not being released

Expected Behavior
I expect to be able to run my application and it's tests in separate windows/processes.
Current Behavior
Since updating to 7.6.1 I'm experiencing the following error (on Windows) trying to launch more than one process (run the app and run the acceptance tests)

Timeout waiting to lock artifact cache (C:\Users\me\.gradle\caches\modules-2). It is currently in use by another Gradle instance.
Owner PID: 6472
Our PID: 15212
Owner Operation:
Our operation:
Lock file: C:\Users\me\.gradle\caches\modules-2\modules-2.lock

The lock is only released if gradlew --stop is run (killing all processes), but running the app again will re-instate the lock, sometimes on other files in the caches folder (such as fileHashes.lock or fileContent.lock).
This does not happen if I change back to Gradle 7.6
Context
I am unable to run acceptance tests as I cannot have more than one process
Steps to Reproduce

I will work on this but currently the gradle-issue-reproducer does not create a running application
Your Environment

Build scan URL:

Updating to 8.0.2 appears to have resolved the issue, I'm going to give this more time and will close once I'm more confident.

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A minimal reproducible example can really help us track down and fix your problem. We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
We request you to provide a reproducer because we need to be sure we are looking at the exact problem you are facing.
The ideal way to provide a reproducer is to leverage our reproducer template.
This issue will be closed after 7 days unless you can provide more information.

Are you running your build in a isolated container? Is there anything that could prevent gradle daemon to talk to each other?

Your issue lacks information about how to reproduce the problem you're having. A minimal reproducible example can really help us track down and fix your problem. We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.

I understand, it just has not been a priority to recreate the problem, as it requires a running service, not just a up-and-down execution (the reproducer template is of little help here).
I'm running either in IDEA or on the command line (git-bash), which has worked for over a year prior to last week.


remove duplicate ms.topic

After this, you should have green builds!

Docs Build status updates of commit 41af879:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks @mairaw !


Make number of input channels in classification models configurable

🚀 Feature
Allow users to create classification models (ResNet, VGG, etc) with a number of input channels other than 3.
Motivation
Classification models from CV are often used as feature extractors in other fields (e.g., ResNet-based architectures sometimes used for speaker recognition tasks). But since data there is not actually an image, it may have different number of channels. So currently one is forced to copy and paste code from torchvision simply for the sake of adjusting number of channels in the first layer.
Pitch
Add new argument, input_channels with default value 3 to the constructors of classification models, and use it in the specification of the first convolutional layer. Optionally, add checks to the factory functions to ensure that pretrained=True only passed together with the default number of channels.

Copy-pasting models in torchvision is the most flexible way, and I wouldn't say that it is not recommended, as this allows us to keep the implementation simple.
This way users have full flexibility on how to modify the implementation for their own needs (which is generally needed for research), and the least amount of indirections / complexity the better.
Another example is that disallowing loading pre-trained models with different than 3 input channels might not be what some users expect. E.g., users of RGB-D data might want to initialize the model from a pre-trained RGB model, and there is no way for us to handle all those possible cases.
For completeness, it is generally possible to change the number of input channels fairly easily with the current models, check for example https://github.com/pytorch/vision/issues/741#issuecomment-463187907, which allows you to re-use the weights for a pre-trained model.
Here is one way of doing it is as follows:
model = models.resnet18()
model.conv1 = nn.Conv2d(4, 64, 7, stride=2, padding=3, bias=False)

As such, I'm closing the issue but let me now if you have further questions or disagree with the reasoning.

Yes, at the end of the day, copy-pasting is the most flexible way, but it also the most error-prone (and inelegant) one, so I would prefer to resort to it only when significant change is required. I understand that this is my personal view and can not speak for the community here, but I think that we have something to gain and nothing to lose from implementing this change. It is relatively non-invasive, transparent for the existing users, and a hundred percent backward-compatible. The main cost here as far as I understand is an effort required for initial implementation and I'm willing to care of that part.

Another example is that disallowing loading pre-trained models with different than 3 input channels might not be what some users expect. E.g., users of RGB-D data might want to initialize the model from a pre-trained RGB model, and there is no way for us to handle all those possible cases.

Good point, thanks. What about providing a warning then? I won't take away any flexibility from users who know what they are doing and may prevent errors in a case when it was done by mistake.
Again, I'm willing to create PR with changes, if that may affect your opinion)

Hi,
Thanks for proposing to work on this.
I think the issue is that, even though is is a reasonable thing to ask, there are many other options that are also reasonable but that do not work in combination.
This means that we would start having to handle a number of corner cases due to conflicting options.
The pre-trained option is one of those -- there has been requests of users to let us load a pre-trained model with a different number of classes (say resnet18(pretrained=True, num_classes=2)) but replacing the classifier with a randomly-initialized one.
This per se is also another reasonable request, but IMO if we combined both approaches it would become quite complicated to try to handle all possible use-cases (and it would still be kind of flaky).
As such, I think it's preferable to force to the users to understand a bit more the models that they are trying to use, as the users are those who know best what they are trying to achieve, and IMO hiding this complexity might not be beneficial in the long run.
But I might be wrong :-)

So, if I got it right, it essentially boils down to the interaction of this option with pre-trained models - at least, I am not able to come up with a scenario where it would lead to the confusing or ambiguous behavior for the non-pretrained case. Feel free to correct me if I got wrong or if you have such scenario in mind :)
Let me think about it, maybe I'll be able to come up with something reasonable here :)

It also interacts with https://github.com/pytorch/vision/issues/2200 for example, as another reasonable request, but which might add too much complexity.


Implement support for TOPK.RESERVE (topk command)

Implement support for command TOPK.RESERVE in topk_mixin.py.
Initializes a TopK with specified parameters.
Here is the Official documentation

Hey, I would like to work on this.

Hi, thanks for jumping in.
I started creating a skeleton for it here.
Feel free to fork and continue working on it, as I won't have time this month.
Let me know if you have any questions.

@cunla sure will do. Was thinking of building a separate package for the HeavyKeeper datastructure, would you mind importing it, instead of adding it here as part of the source code?

See the file. I started implementing the HeavyKeeper class...
not sure whether that class merit its own package.

Ok. I will continue from there.

Do you have an ETA when you finish it?
I want to release a new version and it would be great if this is in it.

1 to 2 week max

any update on this?

Actually something came up that's impossibilating me to work on this. Sorry, maybe next time will be able to contribute 😄


h2specd: Moved handshaking into test cases

Moved handshaking action into test cases instead of handshaking at start of every connection.
So that we can have some tests sending frame or invalid data before sending server preface.
Refs: PR-74#comment

Thank you for your continuous contribution!
These changes are well considered about the spec of h2.
LGTM 👍


Example when clause

If i add a when to my pipeline: https://github.com/jjasghar/drone-example-yamls/blob/main/kind-exec.drone.yaml#L5-L14 it seems to skip it.
Should I run this after the exec or does when not work? I'm having trouble :(

Looking at your when configuration, it seems the step only runs when one of the previous steps failed, or when a previous build failed, but this one succeeded. If you want this step to always send an email, replace changed with success.
You can find the docs for Drone conditions related to build status here: https://docs.drone.io/pipeline/docker/syntax/conditions/#by-status

Looking at your when configuration, it seems the step only runs when one of the previous steps failed, or when a previous build failed, but this one succeeded. If you want this step to always send an email, replace changed with success.
You can find the docs for Drone conditions related to build status here: https://docs.drone.io/pipeline/docker/syntax/conditions/#by-status

@mjwwit oh! thanks for this. I'll move the run down to the end. Maybe we should put a note in the README that it should (in most cases) be the last thing in your pipeline?

@mjwwit oh! thanks for this. I'll move the run down to the end. Maybe we should put a note in the README that it should (in most cases) be the last thing in your pipeline?


Temporarily return to rapidjson

I have a problem that is not directly from emmett but with the installation of orjson.
All the server infrastructure I use is freebsd (+ jails). The orjson installation with pip does not use binaries, it is compiled. To compile you need to install some dependencies, including maturin. In the maturin installation an error occurs (I reported it) and therefore I cannot install orjson.
I've been seeing this [1]
What I want to do is temporarily modify serializers.py [2] and go back to rapidjson. This is apparently the only place where orjson is referenced. The query is if this change is enough and nothing will break.
[1] https://github.com/emmett-framework/emmett/commit/2878fbdfd0ddedbee40ed863d78fb9c6525fc93e
[2] https://github.com/emmett-framework/emmett/commit/5bbbae35c8517fd147e9b76ec4486432c347ef9e

I modified:
[1]
imports
and
json = partial(
and [2]
class JSONServicePipe(Pipe):
output = 'str' (with orjosn output = 'bytes')
and in a simple example it works
[1] emmett/serializers.py
[2] emmett/tools/service.py

@josejachuf yes it should be enough.
I'm thinking about a patch-release to make orjson an extra, will update you if I decide in that direction

Hi @gi0baro. This how it would be, a parameter would be passed to App () when instantiating the application to tell it to use orjson?

@josejachuf I was thinking more to extra-packages, eg:

@josejachuf yep, I can't think about a better approach.
btw, I still need to think about this, AFAIK on the main platforms the only issue right now with orjson is the lack of wheels for windows and macos on Python 3.9 (that should be addressed within next 2 weeks I hope).

Hi @gi0baro,
Here in service.py:
class JSONServicePipe(Pipe):
    __slots__ = ['decoder', 'encoder']
    # output = 'bytes'
    output = 'str'

is the library used (orjson / rapidjson) that defines the data type?

@josejachuf yes, orjson returns byte strings, while rapidjson returns unicode strings

@josejachuf with v2.1.1 orjson is optional. You can upgrade and just have the same behaviour of 2.0.x (ensure to cleanup your virtualenv eventually).
I'm closing this.

Thanks @gi0baro

I received help to install maturin in freebsd and already with maturin installed orjson it installed without problems. in this link [1] is the solution in case someone needs it.
Basically in a new installation you should do the following

pkg install -y rust-nightly gcc9 python38

Here's the trick:
cd /usr/bin
mv ld ld.bak
ln -s /usr/local/bin/ld /usr/bin/ld

Then in your virtualenv simply:

pip install maturin

[1] https://github.com/PyO3/maturin/issues/363

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266213


Validate container image tag

Forbid latest
hash

Image name and tag format
https://docs.docker.com/engine/reference/commandline/tag/
[HOST[:PORT_NUMBER]/]PATH[:TAG]

Tag Format

The tag must be valid ASCII and can contain lowercase and uppercase letters, digits, underscores, periods, and hyphens.
It cannot start with a period or hyphen and must be no longer than 128 characters.
If the tag is not specified, the command uses latest by default.

https://github.com/google/re2/wiki/Syntax

\w: word characters (≡ [0-9A-Za-z_])

\w[\w.-]{0,127}

Docker Hub Action
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-docker-hub-action
jobs:
  my_first_job:
    steps:
      - name: My first step
        uses: docker://alpine:3.8
      - uses: docker://alpine@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33 # 3.18.3

docker://{image}:{tag}
docker://{host}/{image}:{tag}

Docker action
https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#example-using-public-docker-registry-container
runs:
  using: 'docker'
  image: 'docker://debian:stretch-slim'

Job container
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-running-a-job-within-a-container
https://github.com/suzuki-shunsuke/ghalint/blob/main/docs/policies/007.md

The value can be the Docker Hub image name or a registry name.

jobs:
  container1:
    runs-on: ubuntu-latest
    container:
      image: node:latest

  container2:
    runs-on: ubuntu-latest
    container:
      image: alpine@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33 # 3.18.3

https://github.com/renovatebot/renovate/discussions/25263
https://github.com/renovatebot/renovate/issues/25276


Bug with URLs in Request Feedback

A user reported a bug (which I can reproduce) in the Request Feeback section.
Steps to reproduce:

In the UCOP account - request feedback on a plan
Click on the dmptool link
This goes to a 404

can you share the contents of the email (including the bad link)?

The user who originally reported this bug was trying to add a link to his internal site to the Feedback Request email.

In the “Message” text that appears to the user when they request feedback, I was attempting to link the highlighted text out to our organization’s resource page on data management. When I have something linked (using the link button) and then go back in to test “Request Feedback,” pressing the button leads to the error:

I'm unable to replicate this issue. I can add links to the message and the page loads ok. Perhaps there is something wrong with the URL. Can you have them send the URL they want to use?


First images not rendered in view - iOS only

Hi there,
I am using latest version on plugin and on the latest iOS with Xcode etc. and getting problem with rendering first visible images in the View. I have RadListView and two columns with 4 items in total per screen. So in total 4 items are displayed when View is loaded, but images are not displaying until I scroll down to see other items (which does render images). When I scroll back up, images (previously not rendered) are displaying properly (they get rendered).
Android works just fine, default NS  works as well but does not have all features this ui-image module has.
Is there a way to force rendering (re-rendering) or enable/disable cashing or what ever is needed that I can test for iOS?
Which platform(s) does your issue occur on?

iOS only, Device, version: 14.6
iOS only, emulator, version: 14.5 (not tested below)
Android: works without problems

Please, provide the following version numbers that your issue occurs with:

CLI: 8.0.4
' Plugin version: 4.0.24
"dependencies": {
"@nativescript-community/ui-collectionview": "^4.0.29",
"@nativescript-community/ui-image": "^4.0.24",
"@nativescript/core": "~8.0.0",
"@nativescript/geolocation": "^7.1.1",
"@nstudio/nativescript-cardview": "^2.0.1",
"@nstudio/nativescript-checkbox": "^2.0.4",
"@ticnat/nativescript-searchable-select": "^1.0.7",
"nativescript-appversion": "^1.4.4",
"nativescript-barcodescanner": "^4.1.1",
"nativescript-dom": "^2.0.5",
"nativescript-effects": "^2.0.0",
"nativescript-fonticon": "^2.0.0",
"nativescript-geolocation": "^5.1.0",
"nativescript-google-maps-sdk": "file:nativescript-google-maps-sdk-4.0.0.tgz",
"nativescript-onesignal": "^1.0.8",
"nativescript-plugin-firebase": "^10.1.1",
"nativescript-slides": "^2.3.0",
"nativescript-sqlite": "^2.3.3",
"nativescript-theme-core": "~1.0.6",
"nativescript-ui-listview": "9.1.0",
"nativescript-ui-sidedrawer": "^9.0.3",
"nativescript-vibrate": "^4.0.1",
"rxjs": "^6.4.0",
"typescript": "^4.2.4"
},
"devDependencies": {
"@nativescript/android": "8.0.0",
"@nativescript/webpack": "~5.0.0-beta.0",
"eslint": "~5.8.0",
"node-sass": "^4.7.1"
},

Please, tell us how to recreate the issue in as much detail as possible.
Run the sample below inside  lv:RadListView.listViewLayout
<iOS><img:Img row="2" col="0" placeholderImageUri="res://noimage" failureImageUri="res://noimage" progressiveRenderingEnabled="true" src="{{ 'https://myap/' + file_url }}"/> </iOS>

please test with listview and not rlv . the issue might be with rlv


taking tow much time to deploy

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Deployment to "as-iop-ui-dev-001" failed. See output channel for more details.
Version: 0.16.2
OS: win32
OS Release: 10.0.10586
Product: Visual Studio Code
Product Version: 1.41.1
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:1:503230
o extension.bundle.js:1:500515
processTicksAndRejections task_queues.js:89:5

Thanks for reporting @anupampahari.  Could you provide the details in the output channel and repro steps please?


add list pod

A part of #8
Signed-off-by: Xianglin Gao<EMAIL_ADDRESS>

This change is

@feiskyer updated

@xlgao-zju Generally lgtm, with only one nit.

@feiskyer fixed.

Thanks. LGTM.


proposal: remove package keyword

Presently the "package" is required in each go file. The package dictates the name of the library when imported somewhere else. Often it matches the directory name of the package but not always. In these cases when a library is imported this defined package must be used to call the code from this library instead of the name of the directory.
For example:
file: github.com/foo/bar/bar.go
package "bar"

func DoSomething() {}

file: github.com/foo/baz/baz.go
package "baz"

import "github.com/foo/bar"

func Bar() {
  bar.DoSomething()
}

vs
github.com/foo/bar2/bar.go
package "bar"

func DoSomething() {}

github.com/foo/baz/baz.go
package "baz"

import bar "github.com/foo/bar2"

func Bar() {
  bar.DoSomething()
}

I think the package keyword should be made optional, only for backwards compatibility, and the directory of the go files should be assumed as package name automatically. This will allow us to simplify refactoring(just rename a directory instead of all uses of the package keyword in that directory), plus it will simplify refactoring imports - there will no longer be a need to scan the imported library and look for the package name, instead the directory name will be used right away. If two packages with the same directory are imported, import aliasing still works like before.
Some may say that package keyword is required for the build functionality, but I think that, since main() is a magic function name, whenever a package contains this method, it should be automatically assumed it is the main package(build/functionality-wise, not name-wise..unless the directory is called main, of course) and can be compiled into executable and does not have to be specifically named as main.

This was proposed before. Someone like it, someone don't.

ok, thanks. it is hard to find duplicates with 5k open issues.


[SourceControl] Memoize results of some git calls

During package resolution, we end up shelling out repeatedly for some
operations (tools version, manifest parsing, etc). We can memoize the
result of some git operations to improve performance. Also note that
GitRepository objects are released after resolution process is over.
rdar://problem/54584428

@swift-ci smoke test


Ubuntu 14.04 build errors

I could be wrong but it looks like this won't build on 14.04 ubuntu amd64.  I'm testing in a docker container and I'm getting no member found errors:
process didn't exit successfully: `/build/target/release/build/apt-pkg-native-78b23c663c8114ea/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=apt-pkg-c/lib.cpp
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-std=gnu++11" "-Wall" "-Wextra" "-o" "/build/target/release/build/apt-pkg-native-5b278d76fd822a27/out/apt-pkg-c/lib.o" "-c" "apt-pkg-c/lib.cpp"
cargo:warning=apt-pkg-c/lib.cpp:231:30: error: no member named 'SourcePkgName' in 'pkgCache::VerIterator'
cargo:warning=    return wrapper->iterator.SourcePkgName();
cargo:warning=           ~~~~~~~~~~~~~~~~~ ^
cargo:warning=apt-pkg-c/lib.cpp:235:30: error: no member named 'SourceVerStr' in 'pkgCache::VerIterator'
cargo:warning=    return wrapper->iterator.SourceVerStr();
cargo:warning=           ~~~~~~~~~~~~~~~~~ ^
cargo:warning=apt-pkg-c/lib.cpp:245:53: error: no matching member function for call to 'GetPriority'
cargo:warning=    return wrapper->cache->cache_file->GetPolicy()->GetPriority(wrapper->iterator);
cargo:warning=           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
cargo:warning=/usr/include/apt-pkg/policy.h:82:25: note: candidate function not viable: no known conversion from 'pkgCache::VerIterator' to 'const pkgCache::PkgIterator' for 1st argument
cargo:warning=   virtual signed short GetPriority(pkgCache::PkgIterator const &Pkg);
cargo:warning=                        ^
cargo:warning=/usr/include/apt-pkg/policy.h:83:25: note: candidate function not viable: no known conversion from 'pkgCache::VerIterator' to 'const pkgCache::PkgFileIterator' for 1st argument
cargo:warning=   virtual signed short GetPriority(pkgCache::PkgFileIterator const &File);
cargo:warning=                        ^
cargo:warning=3 errors generated.
exit code: 1

--- stderr
thread 'main' panicked at '

Internal error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-std=gnu++11" "-Wall" "-Wextra" "-o" "/build/target/release/build/apt-pkg-native-5b278d76fd822a27/out/apt-pkg-c/lib.o" "-c" "apt-pkg-c/lib.cpp" with args "c++" did not execute successfully (status code exit code: 1).

My guess is that I'm not using the right min version but I don't know what that should be.

The first bit of data isn't available in Trusty's version of apt; it's not even computed:
https://github.com/Debian/apt/commit/a221efc331693f8905da870141756c892911c433
The second is there, but not exposed (which means):
https://github.com/Debian/apt/commit/9fb02ab02528ea45747318af26fae8a732cd2840#diff-0c92f95f49f860ef2cb1d552e179f47eR324
I could.. do a feature flag that allows compilation with the older apt, and doesn't expose that info?
I wouldn't advise trying to upgrade apt on Trusty.

It appears the build passes on Trusty on Travis as Travis is helpfully backporting apt for us:
https://travis-ci.org/FauxFaux/apt-pkg-native-rs/jobs/314351920#L444

That commit works for me inside a Trusty docker container. Build with:
cargo build --features ye-olde-apt

Does that help? If so, I'll do a release.

haha  alright i'll give it a try.  I'll post back soon :)


Fix a build error when Python is turned off

Fixed issue 403. Build successfully. Bmi_Py_Formulation should not be used when python is off.
Additions

Removals

Changes
test/realizations/catchments/Bmi_Multi_Formulation_Test.cpp
Testing
Passed all unit tests.
Screenshots
Notes

Todos

Checklist

[x ] PR has an informative and human-readable title
[x ] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[x ] Linux

Yeah. Good point.
On Mon, Apr 4, 2022 at 12:56 PM Matt Williamson @.***>
wrote:

@.**** requested changes on this pull request.
I realized that a related error can happen on line 673 also if Fortran
support is turned off instead of Python... see my PR on your branch.
—
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/ngen/pull/404#pullrequestreview-930755461,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACA4SRILA4NHB4GX5YR2B53VDMULTANCNFSM5SCZVAXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add to DockerHub

Since there is an official Dockerfile for zulip, can you please add it to DockerHub or any public docker image registry?
Edit I just noticed that it is incomplete.

@JoyceBabu just curious -- why did you close this ticket?

My net connection is not very fast, so building a docker file usually takes a long time. I thought the official Dockerfile for Zulip was working, and thought it would be nice it is available on DockerHub for quick pull. But when I tried to build the Dockerfile, I found that it doesn't  does not contain any code to install Zulip.
Since there is no official working Dockerfile, my question is meaningless. So I closed it 😀

OK, you should check out #450, a production docker file that we're working on :)


event register not working with vue-events 3.0.0

Hi Rati,
Thanks for your great vuetable2 module and tutorials. They helped me a lot.
Currently vue-events vue-2.x acutually installs 3.0.0 packege, which removed the support of registering event listeners using the events option.  https://github.com/cklmercer/vue-events#usage
So it might be a good idea to update to the latest style it supports.
...Fox

@fox4u Many thanks, will find time to merge it tonight.