[Communication - Identity]Install dependencies failing in nightly runs

Communication - Identity nightly test runs are failing with:
The command failed:

Error message:
D:\a_work\1\s\common\temp\pnpm-local\node_modules.bin\pnpm install --store D:\a_work\1\s\common\temp/pnpm-store --config.cacheDir=D:\a_work\1\s\common\temp/pnpm-store --config.stateDir=D:\a_work\1\s\common\temp/pnpm-store --no-prefer-frozen-lockfile --strict-peer-dependencies --config.auto-install-peers=false --config.resolutionMode=highest --config.ignoreCompatibilityDb
ERROR: Error: The command failed with exit code 1

ERROR: The command failed with exit code 1
##[error]Cmd.exe exited with code '1'.
Finishing: Install dependencies

For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3517520&view=results

installation error should've been fixed now after we upgrade puppeteer to 22.2.0.  Currently still failing due to a differnt error though


set default id

Nanomorph (will very soon) check for IDs in element lists. To prevent the placeholder element from accidentally being rendered, nanocomponent elements should always have an ID present.
if ._element has an id on it already, we don't modify it and will set it to our placeholder elements going forward.

related to https://github.com/yoshuawuyts/nanomorph/issues/8
cc/ @juliangruber

v4.0.1 :tada:


Script for Testing Mammo-CLIP Model

Congratulations on your impressive work with the Mammo-CLIP. I am currently interested in testing this model on a new dataset and analyzing the resulting embeddings. Please let me know if there is an existing script available for this purpose.
Thank you for your time and assistance.

Hi,
Thanks for taking interest in our work. So u want to get the embeddings from Mammo-CLIP encoders, so that u can test it on a new data, is my understanding correct? Do u want the embeddings from the vision encoder or text encoder?

If you want to get the vision embeddings you can refer here
Also you can follow the workflow for the linear probe:
  python ./src/codebase/train_classifier.py \
    --data-dir '/restricted/projectnb/batmanlab/shawn24/PhD/RSNA_Breast_Imaging/Dataset' \
    --img-dir 'External/Vindr/vindr-mammo-a-large-scale-benchmark-dataset-for-computer-aided-detection-and-diagnosis-in-full-field-digital-mammography-1.0.0/images_png' \
    --csv-file 'External/Vindr/vindr-mammo-a-large-scale-benchmark-dataset-for-computer-aided-detection-and-diagnosis-in-full-field-digital-mammography-1.0.0/vindr_detection_v1_folds.csv' \
    --clip_chk_pt_path "/restricted/projectnb/batmanlab/shawn24/PhD/Mammo-CLIP/src/codebase/outputs/upmc_clip/b5_detector_period_n/checkpoints/fold_0/b5-model-best-epoch-7.tar" \
    --data_frac 1.0 \
    --dataset 'ViNDr' \
    --arch 'upmc_breast_clip_det_b5_period_n_lp' \
    --label "Mass" \
    --epochs 30 \
    --batch-size 8 \
    --num-workers 0 \
    --print-freq 10000 \
    --log-freq 500 \
    --running-interactive 'n' \
    --n_folds 1 \
    --lr 5.0e-5 \
    --weighted-BCE 'y' \
    --balanced-dataloader 'n'

This script will get the embeddings from the encoders and train a linear classifier at the same time. If you go to experiments.py file (line-296 and 297) and breast_clip_classifier.py (Line-53-56), you get the embeddings. From breast_clip_classifier.py file, you can retrun the embedding directly and save it in the experiments.py file.

Also, we develop another method which will use Mammo-CLIP to debug a classifier. In the repo of that paper, we have the scripts to extract and save the embeddings. The code will be uploaded here. Keep an eye of it.

@GuilhermeJC13
You can use this:
import torch
import gc
import time
from pathlib import Path

import numpy as np
import pandas as pd
import torch
from sklearn.metrics import f1_score
from torch.optim import Adam
from torch.utils.tensorboard import SummaryWriter
from tqdm import tqdm
from transformers import get_cosine_schedule_with_warmup
import sys
sys.path.append('/restricted/projectnb/batmanlab/shawn24/PhD/Mammo-CLIP/src/codebase/')

from Classifiers.models.breast_clip_classifier import BreastClipClassifier
from Datasets.dataset_utils import get_dataloader_RSNA
from breastclip.scheduler import LinearWarmupCosineAnnealingLR
from metrics import pfbeta_binarized, pr_auc, compute_auprc, auroc, compute_accuracy_np_array
from utils import seed_all, AverageMeter, timeSince
from breastclip.model.modules import load_image_encoder, LinearClassifier

class Args:
    def __init__(self):
        self.tensorboard_path = '/restricted/projectnb/batmanlab/shawn24/PhD/Mammo-CLIP/log'
        self.checkpoints = '/restricted/projectnb/batmanlab/shawn24/PhD/Mammo-CLIP/checkpoints'
        self.output_path = '/restricted/projectnb/batmanlab/shawn24/PhD/Mammo-CLIP/out'
        self.data_dir = '/restricted/projectnb/batmanlab/shared/Data/RSNA_Breast_Imaging/Dataset'
        self.img_dir = 'RSNA_Cancer_Detection/train_images_png'
        self.clip_chk_pt_path = '/restricted/projectnb/batmanlab/shawn24/PhD/Breast-CLIP/src/codebase/outputs/upmc_clip/b5_detector_period_n/checkpoints/fold_0/b5-model-best-epoch-7.tar'
        self.csv_file = 'RSNA_Cancer_Detection/train_folds.csv'
        self.dataset = 'RSNA'
        self.data_frac = 1.0
        self.arch = 'upmc_breast_clip_det_b5_period_n_ft'
        self.label = 'cancer'
        self.detector_threshold = 0.1
        self.swin_encoder = 'microsoft/swin-tiny-patch4-window7-224'
        self.pretrained_swin_encoder = 'y'
        self.swin_model_type = 'y'
        self.VER = '084'
        self.epochs_warmup = 0
        self.num_cycles = 0.5
        self.alpha = 10
        self.sigma = 15
        self.p = 1.0
        self.mean = 0.3089279
        self.std = 0.25053555408335154
        self.focal_alpha = 0.6
        self.focal_gamma = 2.0
        self.num_classes = 1
        self.n_folds = 4
        self.start_fold = 0
        self.seed = 10
        self.batch_size = 1
        self.num_workers = 4
        self.epochs = 9
        self.lr = 5.0e-5
        self.weight_decay = 1e-4
        self.warmup_epochs = 1
        self.img_size = [1520, 912]
        self.device = 'cuda' if torch.cuda.is_available() else 'cpu'
        self.apex = 'y'
        self.print_freq = 5000
        self.log_freq = 1000
        self.running_interactive = 'n'
        self.inference_mode = 'n'
        self.model_type = "Classifier"
        self.weighted_BCE = 'n'
        self.balanced_dataloader = 'n'

# Create an instance of the Args class
args = Args()

# Now you can use args just like you would in your script
print(args.tensorboard_path)
# /restricted/projectnb/batmanlab/shawn24/PhD/Mammo-CLIP/log
args.model_base_name = 'efficientnetb5'
args.data_dir = Path(args.data_dir)
args.df = pd.read_csv(args.data_dir / args.csv_file)
args.df = args.df.fillna(0)
args.cur_fold = 0
args.train_folds = args.df[
                (args.df['fold'] == 1) | (args.df['fold'] == 2)].reset_index(drop=True)
args.valid_folds = args.df[args.df['fold'] == args.cur_fold].reset_index(drop=True)

print(f"train_folds shape: {args.train_folds.shape}")
print(f"valid_folds shape: {args.valid_folds.shape}")
# train_folds shape: (27258, 15)
# valid_folds shape: (13682, 15)

ckpt = torch.load(args.clip_chk_pt_path, map_location="cpu")
args.image_encoder_type = ckpt["config"]["model"]["image_encoder"]["name"]
train_loader, valid_loader = get_dataloader_RSNA(args)
print(f'train_loader: {len(train_loader)}, valid_loader: {len(valid_loader)}')
# Compose([
#   HorizontalFlip(p=0.5),
#   VerticalFlip(p=0.5),
#   Affine(p=0.5, interpolation=1, mask_interpolation=0, cval=0.0, mode=0, scale={'x': (0.8, 1.2), 'y': (0.8, 1.2)}, translate_percent={'x': (0.1, 0.1), 'y': (0.1, 0.1)}, translate_px=None, rotate=(20.0, 20.0), fit_output=False, shear={'x': (20.0, 20.0), 'y': (20.0, 20.0)}, cval_mask=0.0, keep_ratio=False, rotate_method='largest_box', balanced_scale=False),
#   ElasticTransform(p=0.5, alpha=10.0, sigma=15.0, interpolation=1, border_mode=4, value=None, mask_value=None, approximate=False, same_dxdy=False),
# ], p=1.0, bbox_params=None, keypoint_params=None, additional_targets={}, is_check_shapes=True)
# None
# train_loader: 3407, valid_loader: 1711

n_class = 1
print(ckpt["config"]["model"]["image_encoder"])
config = ckpt["config"]["model"]["image_encoder"]
image_encoder = load_image_encoder(ckpt["config"]["model"]["image_encoder"])
image_encoder_weights = {}
for k in ckpt["model"].keys():
    if k.startswith("image_encoder."):
        image_encoder_weights[".".join(k.split(".")[1:])] = ckpt["model"][k]
image_encoder.load_state_dict(image_encoder_weights, strict=True)
image_encoder_type = ckpt["config"]["model"]["image_encoder"]["model_type"]
image_encoder = image_encoder.to(args.device)

print(image_encoder_type)
print(config["name"].lower())
# cnn
# tf_efficientnet_b5_ns-detect

progress_iter = tqdm(enumerate(valid_loader), desc=f"[tutorial]",
                     total=len(valid_loader))
for step, data in progress_iter:
    inputs = data['x'].to(args.device)
    inputs = inputs.squeeze(1).permute(0, 3, 1, 2)
    batch_size = inputs.size(0)
    input_dict = {"image": inputs, "breast_clip_train_mode": True}
    image_features, raw_features = image_encoder(input_dict)
    print(image_features.shape)
    break
    # torch.Size([1, 2048])

@shantanu-ai Is the clip_chk_pt_path, the path to the model available on huggingface?

https://huggingface.co/shawn24/Mammo-CLIP/tree/main/Pre-trained-checkpoints

Hello @shantanu-ai,
Every time I try to run the scripts, I keep getting the error "KeyError: filename 'storages' not found" when I try to load the model using "ckpt = torch.load(args.clip_chk_pt_path)". I'm not sure what's causing this error. Could it be due to corrupted or improperly formatted models? Am I doing something wrong in the execution?
I unzipped the hugginface file and turned it into a .tar

Also, under the hood, the notebook is calling this function
If you want to modify anything custom, you can modify the forward function of the above method.
Also, we uploaded a tutorial notebook on setting up classifier using Mammo-CLIP vision encoder. U can take a look as well.

Let me know if you have further issues. If not, let me know if i can close the issue?

Hi @shantanu-ai,
Thanks, this helped!
I plan to do the same thing I did with image encoding, but this time with vision and text encoders together. In short, I want to extract the actual embedding from the CLIP model. Do you know if you already have a script to get these embeddings?
I really appreciate your attention!

Hi @GuilhermeJC13
Can you clarify by "extract the actual embedding from the CLIP model"? Do u want to do that for the text encoder of Mammo-CLIP or u want from the actual clip?
For text embedding from Mammo-CLIP
def save_rsna_text_emb(clip_model, args):
    prompts = create_rsna_mammo_prompts()
    sentences_list_unique = save_sent_dict_rsna(args, sent_level=True)
    idx = 0
    text_embeddings_list = []
    with torch.no_grad():
        with tqdm(total=len(sentences_list_unique)) as t:
            for sent in sentences_list_unique:
                text_token = clip_model["tokenizer"](
                    sent, padding="longest", truncation=True, return_tensors="pt", max_length=256)

                text_emb = clip_model["model"].encode_text(text_token.to(args.device))
                text_emb = clip_model["model"].text_projection(text_emb) if clip_model["model"].projection else text_emb
                text_emb = text_emb / torch.norm(text_emb, dim=1, keepdim=True)
                text_emb = text_emb.detach().cpu().numpy()
                text_embeddings_list.append(text_emb)

                t.set_postfix(batch_id='{0}'.format(idx + 1))
                t.update()
                idx += 1

    text_emb_np = np.concatenate(text_embeddings_list, axis=0)
    print(f"Sent list shape: {len(sentences_list_unique)}")
    print(f"Text embedding shape: {text_emb_np.shape}")
    np.save(args.save_path / f"sent_emb_word_ge_{args.report_word_ge}.npy", text_emb_np)
    print(f"files saved at: {args.save_path}")

Note this code, I copied from another project of mine and that codebase is messy, so it may contain trivial errors which you can fix
For extracting embeddings from CLIP
We compared our model with CLIP as a baseline so did not save the embeddings of CLIP. If you want to setup the baseline, refer to this issue and then u can use the code I shared earlier.

is possible to evaluate the model provided for downstream on HuggingFace. I don't know what I am doing wrong but I am defining the model
  n_class = 1
  model = BreastClipClassifier(args, ckpt=ckpt, n_class=n_class)
  model.load_state_dict(torch.load(args.clf_chk_pr_path)["model"])
  model = model.to(args.device)
  model.eval()

  where clf path   is Downstream_evalualtion_b5_fold0/classification/Models/Classifier/fine_tune/mass/upmc_breast_clip_det_b5_period_n_ft_seed_10_fold0_best_acc_cancer_ver084.pth  and doing the usual prediction

  for step, data in progress_iter:
    inputs = data['x'].to(args.device)
    inputs = inputs.squeeze(1).permute(0, 3, 1, 2)
    batch_size = inputs.size(0)
    with torch.cuda.amp.autocast(enabled=True):
        y_preds = model(inputs)  # Get raw model outputs (logits)

        # Apply sigmoid activation to get probabilities
        probabilities = torch.sigmoid(y_preds)

        # Compare probabilities with threshold 0.5
        predictions = (probabilities >= 0.5).float()

        # Display predictions with labels
        for i, pred in enumerate(predictions):
            label = "Cancer" if pred == 1 else "No Cancer"
            print(f"Sample {i}: {label} (Probability: {probabilities[i].item():.4f})")

    and testing this on the folder of rsna , and I am getting 18% correct , I don't know what I am doing wrong.

Can you use the valid_fn() in this file. Also, did you preprocess the RSNA images with this script? Also, make sure the transforms are correct.

sure, I will give it a try! thanks for quick response.

@Al-Dai
The args and argparse in the train_classifier are the same. If you follow, it will go the BreastClassifier. So, have it accordingly. Important is to do the preprocessing of RSNA. Also, for a sanity check, u can do it on VinDr - mass, calcification and density classification. For VinDr, u dont need to perform preprocessing, we directly uploaded the preprocessed files here.

Training from scratch requires upmc dataset. Legally, we cannot release
that dataset.
On Mon, Oct 28, 2024 at 10:37 AM Al-Dai @.***> wrote:

Thanks, I did apply the correct transformation and it worked! thanks.
Another side question, If I want to train the Mammo-CLIP from scratch, say
with torchrun --nproc_per_node=4 ./src/codebase/train.py --config-name
pre_train_b5_clip.yaml, I would need to have upmc datasets right ? or is it
possible to just train with vindr or rsna alone?
—
Reply to this email directly, view it on GitHub
https://github.com/batmanlab/Mammo-CLIP/issues/10#issuecomment-2441773086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC53JXMNMCPBJLLVF2VYHJLZ5ZD27AVCNFSM6AAAAABMQ5KE5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRG43TGMBYGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@Al-Dai
As mentioned by Kayhan, the upmc dataset is private one. VinDr and RSNA do not have reports. To train Mammo-CLIP, u need at least some image+text datasets. The results will be better if you mix an image+label dataset (e.g, RSNA or VinDr) with the image+text dataset. So, if you have any image+text dataset, you can train Mammo-CLIP. Just follow the settings for UPMC for your own image+text data. The text means radiology reports.

I understand, I went through your work, and I think it's excellent! I wanted to thank you.
One last question: how is the location identified with text? I read in the paper this line: '...With Mammo-FActOR, Mammo-CLIP vision encoder excels in localization tasks, accurately identifying findings like masses and calcifications using descriptive sentences, without relying on ground truth bounding boxes.' I was wondering how these lines are generated or if there is code for it.

@Al-Dai ,
So, this is weak localization using text. That's the Mammo-Factor part of the paper. Read Section 2.3. For a TL;DR: we have templated sentences constructed with the help of a radiologist. We use these sentences and the vision encoder of the trained Mammo-CLIP to train a lightweight projector (Eq.3 in the paper) to learn the mapping: which activation unit (neuron) in the representation from Mammo-CLIP corresponds to a mammography finding (mass or calcification).


TypeError while retrieving ProvDocuments from ProvStore using Py3

Hello,
I tried out the Tutorial given at http://nbviewer.ipython.org/github/trungdong/notebooks/blob/master/PROV Tutorial.ipynb, everything very nice explained. But I always got exceptions when trying to retrieve ProvDocuments from ProvStore looking like this:
TypeError: initial_value must be str or None, not bytes
This exception was raised by the deserializer from model.py because the content it tried to parse were bytes. I found the origin of the problem in the request call at line 106 r= self._request(...), in api.py from provstore-api module, which returns the content as bytes and that raised the error from the io.StringIO function in the deserializer which accepts only unicode. I simply decoded the content as UTF-8, right before the deserializer is called from the api and everything worked again. I don't know what is responsible for this incompatibility, maybe Windows 7 which I'm using? Anyway please check the compatibility of these modules again.
Best wishes
Bojan

Hello @BoJanisch,
Thank you for reporting this. It was caused by @millar's provstore-api package passing bytes objects to the prov package's deserialisers, which wasn't previously supported.
I have now added the support for deserialising Python 3's bytes objects in the above commit.
@millar, in the provestore-api package, during deserialising of the content from a request r, if you could pass r.text, which will be correctly decoded by the requests package, instead of r.content, the package will handle strings using codecs other than UTF-8 better, I think. Cheers.


Expand the maintenance team for this gem

Maybe @nofxx can try and involve some of the people that were recently making pull requests and who are actively using this gem?

Need to give it more love, will do this year.
Also yah, motivate and involve ppl, that's a social skill I need to improve ;) hehe

@nofxx Do you want me to try and coerce some other people into maintainers here? Now that I am using this library actively I am happy to do some grooming around the project's issues and PRs and see who can contribute - if you're OK with me running with it?

Hello @dblock, just added you as admin, thanks!

Thanks, I'll try to take care of some open PRs and issues. But feel free to not let me and step in @nofxx  :)

On it.


502 Gateway Error

Hi - not sure why this is happening, but whenever I fire up the applet (i.e. for Amazon Music), I am getting a 502 gateway error (from Sparky Linux / Debian 10).
Thoughts - Glenn
<EMAIL_ADDRESS>

Hello @gvjensen. Could you attach a screenshot of Nuvola window with that error?

I think I've found the source of the error. Could you verify that it has been fixed?

You found it... working fine now...
Currently running SparkLinux - a Debian 10 variant.  Thanks a bunch!
On 11/28/19 5:42 AM, Jiří Janoušek wrote:

I think I've found the source of the error. Could you verify that it
has been fixed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tiliado/nuvolaruntime/issues/568?email_source=notifications&email_token=ADJCRMWWL4VNE65HJWHRXA3QV7DCZA5CNFSM4JSLZ7PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFMUORQ#issuecomment-559499078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJCRMQ3YYCMD5LT25NFJLDQV7DCZANCNFSM4JSLZ7PA.

Hello @gvjensen. Could you attach a screenshot of Nuvola window with that error?

Sorry... missed your email.. the issue has been fixed.  The symptom was that the app would act like it was starting up, and then simply hang.... (and I saw the gateway error when I fired it up from the terminal).
Ironically, my Linux Mint environment worked fine, so it had to be something with Debian 10 / SparkyLinux.  I went through all the normal troubleshooting steps... super happy!
Works great now... not sure how it was fixed.


[1258] Explicitly include sites on vacancy pages

Context
This is needed to match up with changes on the backend: https://github.com/DFE-Digital/manage-courses-backend/pull/245
Changes proposed in this pull request
These changes cause the API request to ask for site statuses and sites
to be included in the course.
Guidance to review

https://trello.com/c/ugdZrwOI


[UTable] Why Reactive sorting does not auto-refetch data?

Description
Hi there!
I'm trying to build a table that requires back-end data for both pagination and sorting.
It works perfectly for pagination: when endpoint value is updated, thanks to the watch property, the data is automatically re-fetched and updated.
But I don't understand why for sorting, it does not work. here is my current code:
<template>
  <UTable :rows="data?.items" :columns="columns" v-model:sort="sort" />
    <template v-if="data">
      <UButton
        :disabled="!data.previous_page"
        icon="i-ph-arrow-circle-left-bold"
        @click="endpoint = data.previous_page"
      />

Page {{ data.page }}

      <UButton
        :disabled="!data.next_page"
        icon="i-ph-arrow-circle-right-bold"
        @click="endpoint = data.next_page"
      />
    </template>
</template>


Option to not load OpenAl

Hi there
This is super low priority but, I though I would document it anyway. (also it might be there already and in that case it would be great to know)
It is always possible that people will be using something like FMod or WWise for sound, it would be nice if there was a configuration option so that openAL is not used in Duality .
I am sure that adds some extra loading and starting time.
Seems kind of trivial to not create the SoundDevice on DualityApp.OnInt() but a little bit more to check that is not used if the device is not there :D

This issue has been superseded by the OpenTK Abstraction Layer and will be implemented as part of that. Closing this.


easing docs are confusing

The Remotion docs on easings was extended from this website.
We fixed it with this PR, and I'd love to make this change.

vnvn


Tile layer opacity issue in v3.14

In v3.14, the layer opacity behavior has changed. It appears that the opacity is no longer directly applied when the tile is loaded, causing flicker when dragging the map.
Refer to the following fiddles and drag the map around to load new tiles:
v3.13.1: http://jsfiddle.net/norric/g52zuf2x/
v3.14.0: http://jsfiddle.net/norric/h74hnrhu/
Related to https://github.com/openlayers/ol3/pull/4597 ?

This is indeed related to #4597. Because ol.source.OSM has the opaque flag set to true, no clip regions for visible lower resolution tiles will be calculate, causing lower resolution tiles and actual tiles to overlap until all are loaded.
For now, you can configure your ol.source.OSM with opaque: false to make this issue go away. But since this is a regression, I think we'll also check for layer opacity in addition to source opaque before we skip calculation of clip regions.

Thanks for the quick response.
Using opaque: false seems to solve one part of it. However, it made me notice something else: Sometimes when you zoom, flickering lines appear at the tile seams. If you quickly zoom in or out multiple steps you can see it.
The lines appear also without opaque: false but are less noticeable when the tiles themselves flicker as well. Looks fine on 3.13.

I noticed these lines to - it's because the clip regions do not align with the tiles in a pixel exact manner. I'll be fixing both.

#4939 fixes the regression.

Unfortunately, the lines still appear when zooming in 3.14.1
See http://jsfiddle.net/norric/mopu8d7x/

This is as good as it gets with the new renderer code. The remaining lines are not related to the opacity.

I ticketed the remaining issue as #4943. Maybe I have some time before v3.15 to investigate possible fixes.

Thanks!

Actually the remaining lines are indeed still an opacity issue, and not the ones I described in #4943. I created #4960 with a simplification and fix.

@norric I updated your fiddle to use the fix I propsed in #4960: http://jsfiddle.net/mopu8d7x/2/. Can you please test if that satisfies?

I couldn't get that fiddle to load the ol.js, but I got it working in this one: http://jsfiddle.net/mopu8d7x/6/
It looks great now! No signs of flickering tiles or lines. Thanks Andreas!


Map ChainID/Address to Bundlr currency string

{
  "chainId_tokenAddress" : "bundlrString"
}

[ ] For native tokens, use 0x000... token address
[ ] Token addresses should be checksummed

ethereum, chain 1, tokenAddress = 0x0
matic, chain 137, tokenAddress = 0x0
bnb, chain 56, tokanAddress = 0x0
arbitrum, chain 42161, tokanAddress = 0x0
avalanche, chain 43114, tokenAddress = 0x0
boba, chain 288, tokenAddress = 0xa18bF3994C0Cc6E3b63ac420308E5383f53120D7
boba-eth, chain 288, tokenAddress = 0x0


Using locales

Hello,
I try to use another language without success in ember-cli:
In .hbs file:
{{bs-datetimepicker date=reportDate format='DD.MM.YYYY' maxDate=maxDate locale="de"}}

In Brockfile.js:
app.import("bower_components/moment/min/moment.min.js");
app.import("bower_components/moment/locale/de.js");

Javascript console now outputs:
Uncaught TypeError: locale() locale de is not loaded from moment locales! bootstrap-datetimepicker.js:1504

However, it's possible to access moment.localeData('de') directly via Javascript console.
Any idea what I missed?
Kind regards
haggins

This addon could have an option to choose which locales to load. Meanwhile, in your brocfile, just include:
app.import(app.bowerDirectory + '/moment/moment.js');
app.import(app.bowerDirectory + '/moment/locale/de.js');

This way you're manually including moment locale file.

Locals and other dependencies should be included by the application itself.
Also the current option to include booststrap for the addon will be removed.


Where is Option 2 and more?

Since Option 1 is here

https://github.com/OpenGVLab/EgoExoLearn#option-1-google-drive-links

We are figuring out a BaiDuYun option, please stay tuned.

Since Option 1 is here

https://github.com/OpenGVLab/EgoExoLearn#option-1-google-drive-links

Hi, thanks for your patience. We have updated the BaiDuYun link to access our data, feel free to have a try!
If there are other suggestions on which platform is easy to access, please don't hesitate to comment here.


Can you upload your lfw

Thanks for your code,this is really nice work,but I do not have matlab,can you upload your pocessed lfw image?really appreciate it if you can upload it!

The original lfw has been used. You do not need matlab, just read and follow the Test section.

Thanks!


Consider using grid-template-areas

Hey Sarah, thank you so much for an impressive and really useful project like this!
Have you considered using grid-template-areas for simpler layouts which may make output code more readable, e. g.
.parent {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 70px 1fr 140px;
  grid-column-gap: 10px;
  grid-row-gap: 0px;
  grid-template-areas: "div1 div1"
                       "div4 div2"
                       "div4 div3";
}

.div1 { grid-area: div1; }
.div2 { grid-area: div2; }
.div3 { grid-area: div3; }
.div4 { grid-area: div4; }

Versus:
.parent {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 70px 1fr 140px;
  grid-column-gap: 10px;
  grid-row-gap: 0px;
}

.div1 { grid-area: 1 / 1 / 2 / 3; }
.div2 { grid-area: 2 / 2 / 3 / 3; }
.div3 { grid-area: 3 / 2 / 4 / 3; }
.div4 { grid-area: 2 / 1 / 4 / 2; }

This isn't an option for layouts that have overlapping areas, however.

The overlapping support is precisely why this decision was made :) It's an important feature. Thanks though!


add DeletePayment that allows to delete a specific payment or its failed HTLCs

Description
This PR adds a RPC DeletePayment that allows to delete a payment by specifying its payment hash. It also has the option to only delete failed HTLCs of a payment by setting the failed_htlcs_only option.
Similar to DeleteAllPayments payments that have status InFlight are not touched as they cannot be removed safely. Instead an error is returned.

I am not sure of the linting error. It seems to make a wrong suggestion?

I am not sure of the linting error. It seems to make a wrong suggestion?

Yeah, that's a bit annoying. You need to add the // nolint:interfacer comment to get rid of the suggestion.

Thanks @guggero for your review! I have squashed in the requested changes. Please let me know if there is anything else, or if I didn't fully address your issues.

I have force-pushed the new changes and hope to have addressed all issues.

Thanks for the updates, @bjarnemagnussen! The unit tests seem to fail now. But everything else looks good, so we can merge once that's fixed.

Oh, I see what happened! PR #5635 changed the DB structure and I didn't rebase when running the unit tests locally. I have made the changes with the new db structure and it passes now.

Thanks for the fix. The remaining kvdb unit test seems to have been introduced by another recently merged PR, going to fix asap.


Add OSGi manifest headers

This change moves to using the biz.aQute.bnd Gradle plugin to
produce OSGi-compatible manifests in jar files. Currently, only the
aeron-client, aeron-driver, and aeron-cluster modules have been updated
to provide OSGi metadata because the other modules are samples, tests,
or should never need to be visible inside an OSGi container. Care
has been taken to preserve the existing defined manifest fields
(Automatic-Module-Name, Implementation-Title, etc).
Note that until Agrona 1.0.4 is released (or at least a version containing
https://github.com/real-logic/agrona/commit/49e769e07c3ba3fa176d3b1079f2472184612e1d),
the generated package imports for Agrona will be unversioned. This will
self-correct when Agrona 1.0.4+ is released and Aeron is updated to
point to the new version.

Please consider, if you have an Aeron release coming up, releasing Agrona first and then pointing Aeron at the new release. :smile:

Thanks. Will do. We will release Agrona early this week. I need it for some other changes.


feat: support partial_inputs param to generate input objects where al…

Pull Request Test Coverage Report for Build 948900747

15 of 15 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 95.47%

Totals

Change from base Build 946103196:
0.04%

Covered Lines:
979

Relevant Lines:
1009

💛  - Coveralls


docker build fails at „Step 5/11 : COPY build/weaver /athenapdf-service/“

i’m trying to build a docker container image to deploy it to Amazon ECS, but the docker build command (docker build -t martineberle/athenapdf-service .) fails at Step 5/11 : COPY build/weaver /athenapdf-service/ with this error:
COPY failed: stat /var/lib/docker/tmp/docker-builder025847287/build/weaver: no such file or directory
Am i doing something wrong?

The build for v1/v2 is pretty dated in terms of Docker workflow.
Give make buildservice a try @marteb :)

Ok, thanks. That worked.

Awesome! Apologies for the not-so-straightforward-setup.


FIX: Animal Dash Components Cards

Description
The Animal Dash Components cards were looking messy, this pull request aims to make the cards of uniform size
Related Issues
This PR addresses the issue #90
Checklist

I have tested my changes locally.
I have added necessary documentation or updated existing documentation.
My code follows the project's coding conventions and style guidelines.
All tests pass successfully.
I have added/updated relevant unit tests.

I will close this pull request, please reopen in the future if you fix :)


AWQ Support for MPT

When can be expect support to load MPT models in AWQ format?
Is there any workaround until the feature comes out?

Hi @vidhyat98 It should be supported now if you use vLLM's latest main branch and will be shipped to v0.2.2 very soon.


Bug/476 multiple methods per interface with JSON serialization doesn´t work

Description
Now the Actor manager provides the MethodName for the serialization ActorMessageSerializersManager.
This makes it now possible for the JSON serialization to support Actor interfaces with more than one method defined in it.
Issue reference
It's part of the issue #476 starting with this comment.
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests

That was not possible for me because of #1342 if somebody else could try out these changes that would help a lot.

[ ] Extended the documentation

partly, I added at the interesting locations in the code comments.
This change shouldn't affect the current documented actor model, it just fixes a broken feature

cc @onionhammer as original contributor :)

@onionhammer it would be nice if you could try out these changes. For me, it seems to not be possible yet. I will look the next days into #1342 to solve the debugging / contribution story for others.

@onionhammer This is now ready to review :) That was a fun research. I tried to don't break existing code paths as much as I could.

install all dotnet sdks that the tests requires. (dotnet 6 is still the default, maybe we should change that too)
.NET 7 fell out of support May 14 of this year and .NET 8 will do the same on November 10, 2024 with .NET 9 being introduced in the same time frame. That should be right around the 1.15 release, so I think there will be a good case to be made to drop .NET 6 and .NET 7 explicit support, target .NET 8 instead and include .NET 9 in the test suite for 1.16.

@WhitWaldo  if I change the default version to dotnet 9.0 the new security vulnerability scanning of the dotnet CLI turns on implicitly and produces, of course, a lot of errors.
I guess the upgrading of the default SDK needs to be delayed.
maybe a separate issue is needed to clean up the solution of, the old tests, old implementation, and what else is connected to it. I guess the documentation needs to be updated too.
In that issue, the devcontainer shouldn't be forgotten.
So for now I would try to just update the default to dotnet 8.0 (support until November 10, 2026, it's LTS), and postpone the change to dotnet 9.0 to a later point in time.

That's right - the plan is to put off changing the targeted releases until after the release of Dapr 1.15. There, we'll target .NET 6 and .NET 8 still, so no changes needed in the short term. But we'll put something prominent announcing EOL in the release notes so it's clear that in 1.16 we'll drop support for .NET 6 in favor of .NET 8 (and language version C# 12). An open question on that thread is whether we should go on targeting .NET 9 as well (though I'm also inclined to lean yes since there are frequently so many performance improvements in each).
You're right, that'll require some significant doc updates in addition to the other projects, but I've got a draft PR that'll likely handle the latter as I'm gradually adding nullability annotations throughout the .NET SDK and there are several other PRs in place that'll shift up some of the project layouts as well that'll help.
Things to tackle after the next release!

@WhitWaldo do you know anybody I could ping to get a review? (maybe yourself)

@paule96 I'm not a maintainer, so my check isn't worth a whole lot. I suspect this will get more attention as we edge closer to the 1.15 release and there's more of a general code freeze. If it hasn't been looked at closer to that timeline, I'll give it a look myself (for whatever it might be worth).

@dapr/maintainers-dotnet-sdk can anybody review this pr :)

cc @halspang @philliphoff

@halspang & @philliphoff friendly reminder

I'm not already super familiar with how Dapr handles serialization under the hood, so I'm learning as I read through your changes here. The approach already taken registers the interface and references it throughout using an int, why it does this, I'm not entirely sure, but I'd assume it's to avoid name conflicts and shorten the amount of data passed around. If that's at all accurate, I'm concerned that this approach, which binds the serialization to the name of the method runs a risk of being insufficiently specific (especially in light of #1350 and the opportunity for polymorphic bindings reflecting the same method names).
Now, perhaps that's not a problem, as different interfaces should register different IDs and you're keying the serializers by both this interface and method. Perhaps you've considered this, but given your richer familiarity with the underlying problem space, does it make more sense to have a similar ID registry for the method names as we appear to have for the actor interfaces rather than the approach you've taken here?
Second, could you add some unit tests that prove that this approach works sufficiently well for method overloads?

@WhitWaldo sorry for the late reply. Was kinda busy these days.
Thank you for pointing out the other pullrequest.
My first comment to overloads is:
It's not supported. Their is an explicit exception for that in the file: https://github.com/dapr/dotnet-sdk/blob/ee8be673374f7ff0c65b9ff4f506de874f6a2ad3/src/Dapr.Actors/Description/InterfaceDescription.cs#L135-L151
I will try to see what I can do to enable support for it. But I guess it will still work with names instead of Ids. The problematic part is, that we need to type match here. And because the transport types are json, it maybe becomes a challenge. (not sure yet)
And I can understand that actors get an "id". Because their polymorphy is possible. By the language design of methods I'm not aware of any function that will provide polymophic behavior to methods.
The only thing that I could see, if to trick around with inheritance, to like use the new modifier in a class for methods. But that would effectively not work in dapr actors space, because the actors are proxied with the interface, and the interface needs to point to an exact method and not to a new flagged method.

@WhitWaldo I now have created the basic changes for method overloading. I will not push it to this branch or PR. The problem is, that by the design of the actors part of dapr, it doesn't seem to be supported.
For now I would put it on hold, but would like to know where we can find the framework independent documentation for dapr. Where you can see how dapr works outside of the SDK you use.
The reason is write now on my local changes, I changed the method name from:
yourcoolnamespace.evenbetterclassname.SuperFancyMethod
to:
yourcoolnamespace.evenbetterclassname.SuperFancyMethod()
or if it has parameters:
yourcoolnamespace.evenbetterclassname.SuperFancyMethod(FullNameOfParameterType, FullNameOfParameterType)
And I'm quite sure that this will be a breaking change, in special if you try to call an actor from example a python app.
But I couldn't find the documentation where this standards are documented

@WhitWaldo I now have created the basic changes for method overloading. I will not push it to this branch or PR. The problem is, that by the design of the actors part of dapr, it doesn't seem to be supported.
For now I would put it on hold, but would like to know where we can find the framework independent documentation for dapr. Where you can see how dapr works outside of the SDK you use. The reason is write now on my local changes, I changed the method name from:
yourcoolnamespace.evenbetterclassname.SuperFancyMethod
to:
yourcoolnamespace.evenbetterclassname.SuperFancyMethod()
or if it has parameters:
yourcoolnamespace.evenbetterclassname.SuperFancyMethod(FullNameOfParameterType, FullNameOfParameterType)
And I'm quite sure that this will be a breaking change, in special if you try to call an actor from example a python app. But I couldn't find the documentation where this standards are documented

The actor runtime itself is in dapr/dapr, but I don't know that there's any specific documentation available that details any of it. As I understand it, it works similarly under the hood to Orleans (well, sort of) and Service Fabric Actors (closer)

@WhitWaldo so can we skip the topic for now on this pullrequest and maybe open a new issue for method overloading? Because that was not scope of this PR

@paule96 I agree method overloading isn't in scope, but I'm concerned about the opportunity for developers attempt to do so and then run into an odd runtime experience (as happens where with more than one method per interface).
I'm going to review this again this week and see if we can't get it merged as-is.

@WhitWaldo is their a chance that you can take a lock to this :)

@WhitWaldo  done :)

I neglected to say it earlier - thank you very much for your contribution here @paule96 !


left_sidebar: Add New DM hover button to DM header row.

As specified and often requested by @terpimost :) This adds a button to the DM header row that opens the compose box to compose a fresh direct message.
A couple other small adjustments here:

The introduction of a .tippy-left-sidebar-tooltip-no-label-delay class, so that both the New DM and All DMs icon share the same hover delay, without having to further add classes/IDs into the TippyJS file.
Both the New DM and All DMs icons are shown when zoomed into the More Conversations state of the DMs area, in parallel with how hover buttons are shown on channel rows.

CZO discussion

Screenshots and screen captures:

On row hover
On icon hover (long delay)

Zoomed-in DMs, before
Zoomed-in DMs, after

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @karlstolley!


All Icons are monochrome with new release (5.1.4)

Just installed the 5.1.4 release, my Bracket version is still 1.6.0. I'm working on Linux Mint 64bits.
I guess it's something about config but don't how to fix it.

How can I get them back to colour?

In Console of Brackets enter:
var preferences = brackets.test.PreferencesManager.getExtensionPrefs("custom.work"); preferences.set("grayScaleIcons", false); preferences.save();


https://nshipster.com/ is down

Navigation to https://nshipster.com/ fails:

use http is good

@rickytan HTTPS is an important modern standard to adopt.
Many agree that all websites should use HTTPS, and not HTTP:

Google: Webmasters support | Web Fundamentals
EFF
US CIO Council
etc.


Change logo

How can I change the logo with my own logo? Can find it how to change this.

Found it.


[SPARK-48684][INFRA] Print related JIRA summary before proceeding merge

What changes were proposed in this pull request?

We print JIRA summaries from the PR title alongside the PR summary to do a precheck
================================================================================
=== JIRA SPARK-48680 ===
Summary		Add char/varchar doc to language specific tables
Assignee	None
Status		Open
Url		https://issues.apache.org/jira/browse/SPARK-48680
Affected	['4.0.0']

=== Pull Request #47052 ===
title	[SPARK-48680][DOCS] Add char/varchar doc to language specific tables
source	yaooqinn/SPARK-48680
target	master
url	https://api.github.com/repos/apache/spark/pulls/47052
Proceed with merging pull request #47052? (y/N):

Why are the changes needed?
It's important to double-check the JIRA ID before adding it to the commit log as it may sometimes be incorrect. Providing the "Affected Versions" to the signer as a reference will help decide whether a PR should be backported.
Does this PR introduce any user-facing change?

no
How was this patch tested?

test log as above
Was this patch authored or co-authored using generative AI tooling?

no

cc @HyukjinKwon @dongjoon-hyun thanks

Also cc @LuciferYang

Thank you @HyukjinKwon
This linter CI passed, merged to master


artificial-intelligence

create a program from a 4-dimension
can be from a 5-dimension if possible
from all 10 dimensions!

make-retina-avatars


Accessing deployed docker container from another IP?

I've deployed my Vespa app using pyvespa VespaDocker, which I can connect to on localhost on the same machine, but trying to connect to it from another machine results in a timeout. Do we need to run the application on <IP_ADDRESS> (as with flask, for example), to enable connection from external machines? If so, looking at the source code "localhost" is hardcoded in several places, so I guess it's not currently possible?

Hi @TTitcombe, indeed localhost is currently hard-coded. We can change that. However, I am not sure if this alone would solve your problem. Have you tried this solution for a generic Docker application to see if using <IP_ADDRESS> works?
A quick look around seems that the solutions are more involved than that, e.g. this article.

Thanks @thigm85. I think the issue I was experiencing was due to port access. Deploying on port 80 seemed to have resolved the issue (I'm a networking novice so I don't have an explanation for this). The context I left out was that this was being deployed on EC2, so I believe this is an AWS networking issue, not Vespa.
This raises another point about whether it's appropriate to try to deploy onto EC2 with PyVespa. Compared to the deployment instructions for plain Vespa, vespa_docker.deploy seems too simple. I don't want to derail this issue with other questions though - do you guys have a Slack or something similar to discuss this?

We have a public Vespa Slack space (vespatalk.slack.com). Feedback on how to improve vespa_docker.deploy is welcome :)

We just added https://docs.vespa.ai/en/operations/multinode-systems.html#aws-singlenode this week for EC2 deployments, plmk if this helps or could be extended to improve pyvespa usage


Plow init should generate varying metadata in a way that they are commented out

plow init currently generates an ontology document with all the required values prefilled to default values.
While this certainly provides a low-friction way towards submitting the ontology, this will likely result in all those metadata fields not being changed by most ontologies, and all those packages being published by "John Doe", etc..

Seems like sometime in the meantime this has been adjusted to be correct.


RFP - second-life-viewer

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://secondlife.com/
Direct download URL for the software / installer : https://viewer-download.secondlife.com/Viewer_6/Second_Life_6_4_10_549686_x86_64_Setup.exe
Software summary / short description: To explore, communicate, and connect in Second Life, you'll need to download our 3D browsing software, or what we call the SL Viewer. It's not only fast and easy to download and install, but it's free and contains no spyware.
Package Expectations
There is a third party viewer in the repo already, but I would like to have the first party viewer in the repo.

I no longer need this software, and I don't want to tie up devs with software no longer needed. I am closing this request.

I no longer need this software, and I don't want to tie up devs with software no longer needed. I am closing this request.


Support Swift 3 syntax in the EarlGrey Gem.

This also requires updating all of the test / demo / contrib projects.


Nested fields in State constructors do not compile

Although fields in messages are allowed in State constructors, it appears that nested fields do not validate. What's more, when the object that has the nested field is used, RIDDL compiles fine without noticing that the types are off. Furthermore and in general, it appears that types are not checked when setting fields in State constructors - in the given example I can change my record field types to anything that is a valid field type in my domain and it still validates.
See below for example code. infoThatShouldNotWork and nameThatShouldNotWork should not validate given type safety, and nameThatShouldWork should validate.
domain Example is {
   context ExampleContext is {
     type Info {
       name: String
     }

    command Foo {
     info: Info
    }

    entity ExampleEntity is {
      handler ExampleHandler is {
          on command Foo {
            then morph entity ExampleEntity to state FooExample
              with !FooExampleState(
                infoThatShouldNotWork = @Foo.info,
                nameThatShouldWork = @Foo.info.name,
                nameThatShouldNotWork = @Foo.info
              )
          }
          on other {
            then error "You must first create an event using ScheduleEvent command."
          }
      }

      record FooExampleState is {
        info: String,
        name: String
      }
      state FooExample of FooExampleState is {
        handler FooExampleHandler {
          on other {
            then error "You must first create an event using ScheduleEvent command."
          }
        }
      }
		}
	}
}

the corresponding validation output is:
[info] Warnings: 0
[info] Errors: 1
[error] Error: example.riddl(17:25): Path 'Foo.info.name' was not resolved, in Anonymous Example, but should refer to a Field:
                name = @Foo.info.name,
[info] Severe Errors: 0

Second example:
domain Example is {
	context ExampleContext is {
		type Foo is {
			bar: Bar
		}
		type Bar is {
			name: String
		}
		entity FooEntity is {
			record FooExampleState is {
	        foo: Foo
	    }
	    state FooExample of FooExampleState is {
	        invariant shoulntBeValidButIs is {
<EMAIL_ADDRESS>@FooExampleState.foo)
	        }
	        invariant shoulBeValidButIsnt is {
<EMAIL_ADDRESS>@FooExampleState.foo.bar)
          }
	        handler DoNothing is {}
	    }
    }
  }
}

[info] Warnings: 0
[info] Errors: 2
[error] Error: example.riddl(18:17): Path 'FooExampleState.foo.bar' was not resolved, in Invariant 'shoulBeValidButIsnt', but should refer to a Field:
<EMAIL_ADDRESS>@FooExampleState.foo.bar)
                ^
[error] Error: example.riddl(18:43): Path 'FooExampleState.foo.bar' was not resolved, in Invariant 'shoulBeValidButIsnt', but should refer to a Field:
<EMAIL_ADDRESS>@FooExampleState.foo.bar)
                                          ^
[info] Severe Errors: 0


Merge develop to master.

Current coverage is 80.09% (diff: 100%)

Merging #61 into master will not change coverage

@@             master        #61   diff @@
==========================================
  Files             4          4
  Lines           216        216
  Methods          30         30
  Messages          0          0
  Branches         49         49
==========================================
  Hits            173        173
  Misses           16         16
  Partials         27         27

Powered by Codecov. Last update b73c2df...1ddda05


Cicero CLI v0.11.1 is broken

npm install -g @accordproject/cicero-cli
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
npm WARN deprecated<EMAIL_ADDRESS>postinstall-build's behavior is now built into npm! You should migrate off of postinstall-build and use the new `prepare` lifecycle script with npm 5.0.0 or greater.
/Users/dselman/.nvm/versions/node/v8.15.0/bin/cicero -><EMAIL_ADDRESS>+<EMAIL_ADDRESS>updated 1 package in 3.552s
Dan-MacBook-Pro:latedeliveryandpenalty dselman$ cicero --version
module.js:550
    throw err;
    ^

Error: Cannot find module 'chai'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/dselman/.nvm/versions/node/v8.15.0/lib/node_modules/@accordproject/cicero-cli/node_modules/@accordproject/ergo-engine/lib/util.js:20:14)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

It looks like ergo-engine requires Chai but it is declared as a devDependency:
https://github.com/accordproject/ergo/blob/master/packages/ergo-engine/package.json#L39
We probably need to refactor this so that we don't require Chai at runtime.

Fix is in, see PR #327

With 0.11.1:
npm WARN deprecated<EMAIL_ADDRESS>postinstall-build's behavior is now built into npm! You should migrate off of postinstall-build and use the new `prepare` lifecycle script with npm 5.0.0 or greater.
/Users/jeromesimeon/.nvm/versions/node/v8.12.0/bin/cicero -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /Users/jeromesimeon/.nvm/versions/node/v8.12.0/lib/node_modules/@accordproject/cicero-cli/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success<EMAIL_ADDRESS>is installed via remote

><EMAIL_ADDRESS>postinstall /Users/jeromesimeon/.nvm/versions/node/v8.12.0/lib/node_modules/@accordproject/cicero-cli/node_modules/nunjucks
> node postinstall-build.js src

+<EMAIL_ADDRESS>added 508 packages from 392 contributors in 37.746s
bash-3.2$ cicero --help
module.js:550
    throw err;
    ^

Error: Cannot find module 'chai'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/jeromesimeon/.nvm/versions/node/v8.12.0/lib/node_modules/@accordproject/cicero-cli/node_modules/@accordproject/ergo-engine/lib/util.js:20:14)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

With the development version:
bash-3.2$ npm install -g<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>postinstall-build's behavior is now built into npm! You should migrate off of postinstall-build and use the new `prepare` lifecycle script with npm 5.0.0 or greater.
/Users/jeromesimeon/.nvm/versions/node/v8.12.0/bin/cicero -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>postinstall /Users/jeromesimeon/.nvm/versions/node/v8.12.0/lib/node_modules/@accordproject/cicero-cli/node_modules/cucumber-expressions
> node scripts/postinstall.js

+<EMAIL_ADDRESS>added 57 packages from 204 contributors and updated 6 packages in 16.705s
bash-3.2$ cicero --help
Commands:
  parse     parse sample text using a template
  archive   archive a template directory
  execute   execute a clause with JSON request
  init      initialize a clause
  generate  generate code from the template model

Options:
  --help         Show help                                             [boolean]
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]

Fixed in Cicero 0.12:
bash-3.2$ npm install -g<EMAIL_ADDRESS>/Users/jeromesimeon/.nvm/versions/node/v8.12.0/bin/cicero -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /Users/jeromesimeon/.nvm/versions/node/v8.12.0/lib/node_modules/@accordproject/cicero-cli/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success<EMAIL_ADDRESS>is installed via remote

><EMAIL_ADDRESS>postinstall /Users/jeromesimeon/.nvm/versions/node/v8.12.0/lib/node_modules/@accordproject/cicero-cli/node_modules/cucumber-expressions
> node scripts/postinstall.js

+<EMAIL_ADDRESS>added 542 packages from 529 contributors and updated 5 packages in 39.394s
bash-3.2$ cicero --version
0.12.0


A question about maze experiment.

Thank you for your exceptional work; I've been trying to replicate and follow along with it.
Is maze experiment also available online? If not, could I get some guidance on what I should consider (e.g., different configurations)?

I have the same question. Are there codes for the maze environments? Thanks a lot!

Hey guys, I created another independent repository for the Maze environments, see https://github.com/Rooshy-yang/BeCL-2D-Maze

Thanks a lot!


Build: Add macro capability

This PR adds the keyword DEFINE to the build.info file language, making it possible to add C macro definitions selectively per file.

I've taken this out of WIP, as I don't see that there's much more development needed in this PR specifically (even thought there are ideas for other, future PRs)

Merged.
7b34f0fa5d060409be1fb5165ef29e5a159b1e33 Build: Make it possible to have defines assigned to end products as well
0a37ff4dcaf7da498355dfe9a1672905ac5496a5 Build: adapt VMS build file template to use the extra macros
21712b2fc1e9ad0fa7ff9d6086b4cc6be6cb76a9 Build: adapt Windows makefile template to use the extra macros
25628ab2ba7ebcf3a897944ede4bbeb3796e162c Build: adapt Unix Makefile template to use the extra macros
b96ab5e6d0125c7e2a6804d568cb2a732cbf4504 Build: make it possible to assign macro definitions for specific outputs


environment

Can you provide an environment to run the code?

what env? hardware env?

For example, some versions of packages such as torch torch3d, etc., I'm experiencing version incompatibility when running the code

okey, thanks~


PnP extensions impacting load time

Category

[x] Bug

Describe the bug
There are 4 PnP extensions that have a severe impact on the page load time
Expected or Desired Behaviour
I expect some load time, but not this much

Observed Behaviour
The time to launch our intranet home page is very long and using the Page Diagnostics tool, the reason is PnP ectensions
Environment Details (Development & Target environment)

Starter kit version:  v1 for legacy solution
OS: Windows 10
Target Environment:| SharePoint Online
Framework: [Node.js v6/v8/v10/v12] mmm, not sure
Browser(s):  Chromium Edge v79
Additional details: The more context you can provide, the easier it is (and therefore quicker) to help.

Is there a way to resolve this?
or to remove the extensions?

Hi @Mandylf , Sorry to hear you are having performance issues. This is something we can look into.
You absolutely can remove the extensions. The best method is to connect to each site the extensions are running on using PnP PowerShell and remove the customactions that are injecting them into the page.
You would connect to your site first with Connect-PnPOnline
Then call Get-PnPCustomAction -Scope Site
This will return all the custom actions in your site. For each one you want to remove, you would grab the ID and call
Remove-PnPCustomAction -Identity <TheIDOfYourCustomAction>

Thank you for the update – I will give it a try
I did notice however that the name on the analytics is different from the one in PowerShell?
Is it the same thing?
<EMAIL_ADDRESS><EMAIL_ADDRESS>Kind regards,
‑
Mandy Lightfoot
Information Manager
SolutionsPT
Address:
Unit 1 Oakfield Road, Cheadle Royal Business Park, Cheadle, SK8 3GX
Tel:
0161 495 4662fax:0161 495 4662
| Fax:
0161 495 4690
Email:
mandy.lightfoot<EMAIL_ADDRESS>| Web:
www.solutionspt.comhttp://www.solutionspt.com/
[Edge to Enterprise AVEVA 2020]https://info.solutionspt.com/edge-to-enterprise-webinars
<EMAIL_ADDRESS>🌲 Consider the environment. Do you really need to print this email?
SolutionsPT Ltd accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
From: Beau Cameron<EMAIL_ADDRESS>Sent: 24 July 2020 00:02
To: pnp/sp-starter-kit<EMAIL_ADDRESS>Cc: Mandy Lightfoot<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [pnp/sp-starter-kit] PnP extensions impacting load time (#419)
EXTERNAL EMAIL - Use caution with links and attachments
Hi @Mandylfhttps://github.com/Mandylf , Sorry to hear you are having performance issues. This is something we can look into.
You absolutely can remove the extensions. The best method is to connect to each site the extensions are running on using PnP PowerShell and remove the customactions that are injecting them into the page.
You would connect to your site first with Connect-PnPOnline
Then call Get-PnPCustomAction -Scope Site
This will return all the custom actions in your site. For each one you want to remove, you would grab the ID and call
Remove-PnPCustomAction -Identity
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pnp/sp-starter-kit/issues/419#issuecomment-663272633, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKRE4LWGALGTEQIAFAGQA2LR5C6MXANCNFSM4PDILYKQ.
SolutionsPT is a trading name of SolutionsPT Limited, Registered office: Unit 1, Oakfield Road, Cheadle Royal Business Park, Cheadle, SK8 3GX Registered in England & Wales Registration Number: 1937672 ****************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ******************************************************************************

Hi, unfortunately I can't see your images when you respond in the email. Could you post the images to the ticket? Thanks!

Hi Beau, apology, here are the screen grabs

and

Thank you Mandy. It's possible that some of them are not scoped to the site. Can you run Get-PnPCustomAction without the scope parameter and see if they show up? Thanks!

@Mandylf a few comments for you.
It appears as though you are connecting to your root site collection, i.e. https://"tenant".sharepoint.com, then executing get-pnpcustomaction. This will display the custom actions added to your root site collection. By default the kit does not globally deploy the kit provided SPFx extensions. Therefore you would want to connect to the specific sites deployed by the kit. Now if you added the extensions to the root site collection, that would be different.
By default the extensions added as a part of the kit are added as web scoped custom actions, not site scoped. You can see this in the starterkit.xml provisioning template if you look for pnp:CustomActions elements within specific provisioning template sections.
Regarding overall speed and how these extensions are affecting performance. When these extensions were built, they were built primarily as technology demonstrators, not so much as enterprise optimized solutions. Making a SPFx component truly enterprise ready often requires complexity that goes beyond the "starter" kit aspect of this project. Most of these extensions make requests to SharePoint lists on each load, they do not look to cache results for performance gains, etc.
If you are concerned about performance, and you do not need specific extensions, absolutely remove them using PnP PS, or remove them from the starterkit.xml (./source/templates) and rebuild your .pnp provisioning file. Or even better, optimize the extensions and if you are willing, commit them to your own repos on github and share your results with the community. We actively encourage the community to extend and share if possible how you all are furthering the kit.

Thank you for the feedback


Updated Node.gitignore

Added Node patch, Optional stylelint cache and SvelteKit build to Node gitignore file.

Thanks for the PR, but you failed to follow the template provided. See the project's README for help.


Copy-SqlResourceGovernor - Script Analyzer Test failure

We're adding Pester tests and AppVeyor to dbatools, see https://github.com/sqlcollaborative/dbatools/wiki/AppVeyor-and-Pester for more detail.
The following rules were highlighted for this function:

RuleName
Severity
Line
Message

PSPossibleIncorrectComparisonWithNull
Warning
146
$null should be on the left side of equality comparisons.

see https://github.com/sqlcollaborative/dbatools/issues/627 , aka "the issue that tracked them all"


I cant add again a device after i erased it

zigbee2mqtt add-on version (if edge, please report commit hash):
1.15.0
Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):
Raspberry Pi 4
I connected a siren to zigbee2mqtt, it give my problem, i erased it checking the button to be able to connect again later but now i cant connect it again
Your entire configuration from the frontend (with sensitive fields redacted):
data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://<IP_ADDRESS>:1883'
  user: mqtt
  password: mqtt
serial:
  port: /dev/ttyACM0
advanced:
  log_level: info
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Your logs from Home Assistant
Logs didnt show anything relevant

Any logs available? Best to use edge with debug enabled to be able to help

I have tried to put it in debug mode, but the only traces that the log shows me are those of the devices that I already have connected. There is some file where it saves the devide it refuse to connect? I saw a blocklist property in the config but is empty.

To have proper debug (for now) is to use Edge version unfortunately using the zigbee_herdsman_debug option

I install the edge version with the option, but the only new thing that show me is:
File /share/zigbee2mqtt/devices.js not found! Starting with default devices.js
The device will be:
https://www.zigbee2mqtt.io/devices/SZ-SRN12N.html

After deleting a device, you cannot add a device. After installing zigbee2mqtt again, you cannot add a device

So what options do I have? Is there a file with the deleted devices that I can modify?

I encountered the same situation as you, I am not proficient in English, translation seems to have a little problem, my operating environment is running on synoogy Hass.io 。Waiting for a solution

@ahonxxx don't worry about english. If i can't understand something from translation I will ask for more details.
@Gulivert Can you provide exact steps? I don't know how you erased a device. Was it through the built-in frontend? What options did you click?

@ciotlosm  Thank you. After I updated to 1.15.0, through the built-in front-end interface, I checked forced deletion when deleting devices. After deleting, I could not add devices. I have 5 ZigBee devices in total. After deleting the remaining 4 devices, I can no longer add devices. I unloaded the hass.io After the deployment, ZigBee devices can not be added.

@ahonxxx I assume you are putting your coordinator in pairing mode from the UI. Do you have any active router in your setup or just end devices?

I have the same problem, I even tried pairing new devices on a different RPi but after this update I cannot add anything. To answer the latest question, I have about 10 devices mixed with active and end

What kind of stick / firmware do you use? What is your startup debug message? Are you putting it in pairing mode?

@ahonxxx don't worry about english. If i can't understand something from translation I will ask for more details.
@Gulivert Can you provide exact steps? I don't know how you erased a device. Was it through the built-in frontend? What options did you click?

In my case i use the "force remove" but not the "block from joining again". After that whe i put the device on pairing, it didnt show mup.

@Gulivert make sure you also put the coordinator in pairing mode.

I solved it by reflashing my CC2531 stick, changing the zigbee channel and reinstalling zigbee2mqtt.

@Gulivert make sure you also put the coordinator in pairing mode.

Yes i did

@Gulivert the only other solution I can see is what @Aerallo is suggesting, a re-flashing for the coordinator.

@Gulivert I changed the ZigBee channel, channel: 14 everything is OK

@Gulivert I changed the ZigBee channel, channel: 14 everything is OK

I see that maybe is that the only solution. I tried to refrash it but didnt work, now the problem of change the channel is add it again all the device...

In fact, after i change the channel, even caming back to the previous channel all the device are erased. I'm not sure if this is the normal behaviour.

Changing a channel requires reconnection of devices from previous channel. I'm not sure why changing it back doesn't work.

I have the same sort of issue with my Home Assistant installation running in a VM using a ConBee II stick. I installed the MQTT Broker add-in and the zigbee2mqtt add-in. The integration of the mqtt broker within Home Assistant is successful, including an enabled discovery. In the logs of the mqtt broker I can see that zigbee2mqtt and Home Assitant are conected. Now I tried to add two xiaomi devices (temperature sensor and window/door sesnsor). The zigbee2mqtt frontend shows that both devices are connected, I can also see that mqtt messages got published with sensor values. But nevertheless, both devices are not auto discovered by Home Assistant.
I have a fresh installation with the following versions:
Home Assistant 0.116.4 (HassOS 4.14)
Zigbee2mqtt: 1.15.0
Since I am new to the whole Home Assistant stuff, I tried for the last three days to get it working, but without luck (including several restarts 😉 )
My last hope, it is not a problem on my side but rather an issue of the plugin in the newest.

I solved my issue, it was independent from the reported one.
If someone is interested, here a short summary:

mqtt broker allowed anonymous access - not recommended
zigbee2mqtt config was invalid (username instead of user)
zigbee2mqtt did connect and publish to the broker but anonymously, therefore the discovery of home assistant did not work

I had the same issue. I changed the channel to 14 and I reconnected everything. I think there is a bug in the integration, it would be nice if would be corrected. I needed to reconnect only 7 devices but those who have couple of dozens, they are in trouble.

I recommend opening issues here: https://github.com/Koenkk/zigbee2mqtt/issues/new/choose
This issue tracker is only for the add-on and it's functionality. The add-on just wraps zigbee2mqtt so most of the inner workings, including the firmware for the USB stick can't be handled here.
I will close this issue as people were able to restore pairing, but make sure you raise issues on the other repo to get more support.

I had the same issue and solved it:
I have HA in VM thus the coordinator never powered down upon reboot. I disabled zigbee2mqtt, disconnected the coordinator for few seconds, reconnected, started zigbee2mqtt and I could reconnect all devices that I previously removed.

Thank you, @mglatz, your answer helped me to solve the same issue, I had.
I am running HA on a pi, just make my first steps with zigbee2mqtt. Deleted a device in Z2M, and failed to reconnect it again.
Your solution worked for me!

@mglatz very old thread, but your fix worked for me too, thank you!
I had (force) removed a device and couldn't get it added back, even after a soft reboot (via Web UI) of my zigbee coordinator. What ended up fixing it was totally disconnecting the coordinator from power for a while, like you suggested, thanks!

Hello,
It did not work for me... I tried the solution described above, but it fails to re-discover the devices that were deleted by a physical press on the pairing button :
I stopped the Z2MQTT container on Proxmox, unplugged the coordinator for 4seconds then plugged it back and restarted the container : nothing new happens when i try to pair again my devices...
Any idea where the history of the previous devices is stored in Z2MQTT ?


Insert nodes not using autocomplete text from lsp

This is possibly a feature request instead of a bug; if so I'm interested in adding the feature, but I'll need some hints for where to start looking.
I'm using lsp-zero with the defaults.
Let me know if I should ask the maintainers for nvim-cmp instead
luasnip config
ls.config.set_config {
    history = true,
    update_events = "TextChanged,TextChangedI",

    enable_autosnippets = true,

    ext_opts = {
        [types.choiceNode] = {
            active = {
                virt_text = { { "<--", "Error" } },
            },
        },
    }
}

Ideally, after confirming my selection the final result should be
package.loaded['snippets.react'] = nil
require('snippets.react')

instead of
package.loaded['sn'] = nil
require('snippets.react')

Ahh, the two lines are one snippet, and the part in package.loaded is a copy of the require'd string below?
I assume nvim-cmp inserting text does not trigger either of TextChanged,TextChangedI.. you could manually call ls.active_update_dependents() in the mapping you use to accept the current selection by nvim-cmp, that should do it.
Not sure if/how to approach making something like this happen automatically though :/

If nvim-cmp doesn't trigger TextChangedI that's sounds weird and quite unexpected for exactly this kind of thing 👀

True.. Maye it triggers/should trigger TextChangedP? Sounds a bit more appropriate, even though cmp's menu is not necessarily the popup menu

I've just tried using "active_update_dependents", no luck. (I even created a separate binding to invoke it manually)
I did notice that if I continue typing after confirming my selection the nodes don't update and I can't jump around in the snippet, implying that the snippet is no longer active after cmp inserts text.
And no, TextChangedP doesn't work either.
Is there a way to revive or preserve the snippet.

Oooh, okay, that sounds more like extmarks getting messed up due to some interaction with cmp, and the snippet not updating due to that..
What's your cmp-config? Are you using the native menu? If so, disabling it might make it work

I'm using lsp-zero and havent messed with the cmp configs.
If the docs are up to date my config is
local cmp = require('cmp')

cmp.setup({
  sources = {
    {name = 'nvim_lsp'},
  },
  mapping = {
    ['<C-y>'] = cmp.mapping.confirm({select = false}),
    ['<C-e>'] = cmp.mapping.abort(),
    ['<Up>'] = cmp.mapping.select_prev_item({behavior = 'select'}),
    ['<Down>'] = cmp.mapping.select_next_item({behavior = 'select'}),
    ['<C-p>'] = cmp.mapping(function()
      if cmp.visible() then
        cmp.select_prev_item({behavior = 'insert'})
      else
        cmp.complete()
      end
    end),
    ['<C-n>'] = cmp.mapping(function()
      if cmp.visible() then
        cmp.select_next_item({behavior = 'insert'})
      else
        cmp.complete()
      end
    end),
  },
  snippet = {
    expand = function(args)
      require('luasnip').lsp_expand(args.body)
    end,
  },
})

after some testing, I'm confirming using the custom menu and not the native one.
not familiar with extmarks looking into the subject.
here's the snippet incase you wanted to try and replicate the issue; (it's for lua)
    s('req_reload', fmt([[
            package.loaded['{}'] = nil
            require('{}')
        ]],
        { rep(1), i(1) }
    )),


add support for xdg environment paths

This PR adds support too freedesktop XDG_DATA_HOME and XDG_CONFIG_HOME environment variables on linux platforms. This can be useful if VScode was installed for example from flatpak as config dir is in ${HOME}/.var/app/com.visualstudio.code/code/config and extensions are located at ${HOME}/.var/app/com.visualstudio.code/data/vscode/extensions.

Thanks, will release this in upcoming version this week.

meanwhile, it would be great if you resolve the conflicts and let me know when its ready.

Done. If you need anything else, let me know.

Released in v2.9.1
Thanks for your contribution
Let me know if you are willing to contribute in other features :)


Check for set equality

These tests have been failing for me locally for a long time and the structure of the tests have made it hard to understand why.
Checking for set equality is nicer because pytest will output the delta:
         # Assert we include everything from `pkg_a` and `pkg_b` but not `pkg_c`:
>       assert files == {"a.py", "c.py", "e.py", "script.py", "__init__.py", "f.py", "h.py"}
E       AssertionError: assert {'__init__.py...'g/h.py', ...} == {'__init__.py..., 'h.py', ...}
E         Extra items in the left set:
E         'g/h.py'
E         Extra items in the right set:
E         'h.py'
E         Full diff:
E         - {'a.py', 'h.py', '__init__.py', 'c.py', 'e.py', 'script.py', 'f.py'}
E         ?         --------                       --------
E         + {'a.py', '__init__.py', 'c.py', 'script.py', 'f.py', 'g/h.py', 'e.py'}
E         ?                                                    ++++++++++++++++++

So now I think I know that it's something synchronicity related for me locally? I'll fix that separately.

will fix this tomorrow but @freider lmk if you think the approach makes sense?


我想它可以更有趣

可以配色
可以把拖拽到 header 游戏对象上的其他游戏对象直接存在在 Header下方而不是默认行为（成子物体）
可以拖拽 header 游戏对象时把其下的游戏对象隐藏，当释放离手时再次跟随此 header 展示出来
不需要 icon
需要 foldout 但是影响的不是子节点而是其下管理的 游戏对象。
拖拽到header 上或者右键游戏对象可以moveto 指定的 header下受其管理

If you(@Bian-Sh) can answer the following questions then I can maybe start to work on som of these features?

"When dragging the header game object, the game objects under it can be hidden, and when released, the header will be displayed again."

So do you mean something like when we drag the header object then the objects are hidden in hierarchy or in scene?

"No icon required"

What do you mean by this?

"Drag and drop to the header or right-click the game object to be managed by moveto the specified header."

By this do you mean like give option in right-click menu for the object to be moved to a header?

Can I contribute to this project or not? @BennyKok

@MehadND feel free to do so by creating a pull request!

@MehadND

"When dragging the header game object, the game objects under it can be hidden, and when released, the header will be displayed again."

So do you mean something like when we drag the header object then the objects are hidden in hierarchy or in scene?
A: Just hidden in hierarchy

"No icon required"

What do you mean by this?
A:  each hierarchy cell has a icon on the left of it， if it is a header，icon is no need

"Drag and drop to the header or right-click the game object to be managed by moveto the specified header."

By this do you mean like give option in right-click menu for the object to be moved to a header?
A: YES , move to a header by drag&drop or right-click menu

"Can be matched with colors"

A: Header can change color easily

Just wanted to aks @BennyKok, how does Header objects are displayed in hierarchy window?

Are they done using Labelfield or something else? I'm kind off confused as to how it is done because I want to apply styling to the header text in scene hierarchy.

Can I change the way the Header object is in hierarchy? For example create a new class that can create the headers as Labels that way we can do customisations

I apologise in advance if I'm asking stupid questions. This is my first time contributing to a project so I'm still trying to figure out stuff.

The main idea of this tool was display the header objects as an empty gameobject with the title wrapped with ---TITLE---.
So those are just normal GameObject, it might be difficult to display custom UI over it and could overcomplicate the tool.


Fix URI encoding and improve documentation

I'm sorry that this took so long. I have now reviewed and merged the PR, and also moved the project to the modernxmpp organization so that I'm not longer the bottleneck on this project.


describe latch manager in 2.2 architecture

@nvanbenschoten Can I get you to take a quick look at this description of the latch manager? And can it be backported verbatim from this version into 2.1? (You can also ignore the bit where I moved around some of the content related to MVCC)
closes #4307

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/74d250c3745883cf04eb9cec97cb25cd738ab4f4/

@rmloveland PTAL for copy edits

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/78810f8beab8f8f25b8e8b43a0f5bbc802c11c13/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/fb95d0846d62f74c872965724b44fa36027e9e86/


Fixed issue 178: filter not showing after un-hiding columns

https://github.com/PredixDev/px-data-table/issues/178
This fix is for the Issue from the link above. It was closed recently... However, I have been requested to fix this as a part of the GE team.

@clabot check


manpages: empty $out/bin

$ nix-build -A manpages
/nix/store/l74pj6cxz94yc1lmwkm4c36nkpw6yj0b-man-pages-5.13
$ ls ./result/
bin
share
$ ls -a ./result/bin/
.
..

I suspect this is necessary to get man to find it correctly with nix-shell -p manpages.  Can you test?

its intentional https://github.com/NixOS/nixpkgs/blob/f9501af60e6241bbab8be023413d7a992a91162f/pkgs/data/documentation/man-pages/default.nix#L20


MWPW-159430 Update transition delay

Updated the prompt card's transition delay to 1 second.

Resolve: MWPW-159430
Test URLs
Before: https://stage--dc--adobecom.hlx.live/drafts/tsay/prompt-cards-tabs?martech=off
After: https://MWPW-159430--dc--adobecom.hlx.live/drafts/tsay/prompt-cards-tabs?martech=off

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

Project coverage is 88.61%. Comparing base (d75cedc) to head (3c5fa62).

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #847      +/-   ##
==========================================
- Coverage   88.62%   88.61%   -0.02%
==========================================
  Files          51       51
  Lines        7815     7815
==========================================
- Hits         6926     6925       -1
- Misses        889      890       +1

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


Fixed duplicate text for gts_to_wis2_gateway

@kaiwirt can you resolved the merge conflicts?

@tomkralidis @golfvert : Conflicts resolved


Write union types as X | Y (PEP 604)

Friendlier typing syntax seems to be a carrot for deprecating old python releases.
In my tmuxp project, I still support python 3.7, so have to use Union, Optional, etc.
In my libvcs project, it's python 3.9+, I can use str | None instead of Optional[None] and int | str instead of Union[int, str]. It's so much cleaner.


[Hexagon] Float and quantized dense operators with schedules

This PR implements dense operators for float types and quantized types. The quantized implementation uses floating point numbers for its intermediate compute type, fixed point will be investigated in the future.
float16 accuracy is questionable. Needs further investigation in an actual model (not just a unittest).

@tvm-bot rerun

@tvm-bot rerun

PR is failing for other targets, not sure what is going on.
CC: @mehrdadh

Ping.  The lint issues have been addressed and the PR has been rebased.

Ping @mehrdadh

@mehrdadh


Keeps saying 429 error after allowing access

429 error is Rate Limit Exceeded.
From: https://www.tumblr.com/oauth/apps
Newly registered consumers are rate limited to 1,000 requests per hour, and 5,000 requests per day.


[wip] Update for JupyterLab 3

Haha, whoops, not yet ready for primetime. Still working over on the fork. I'll close this and re-propose when I've got it working.

Haha, whoops, not yet ready for primetime. Still working over on the fork. I'll close this and re-propose when I've got it working.


Close task if it's closed on GH

Suggest open org tasks to set to DONE based on things that are closed on GH.
Since we don't modify the org-file (because we're scared), just suggest it to the user.

Done.


Add speakers/members image in the room card

Is your feature request related to a problem? Please describe.
It would be really cool if we could see the image of the speakers before we join a room
Describe the solution you'd like
As this app uses github/twitter authentication adding picture from github/twitter account should do
Describe alternatives you've considered
Option for user to upload profile picture in settings
Additional context

Instead of names, add profile picture or keep both profile picture and name of the speaker/members present in the room

Being worked on in Kibbeh


Add utility for overflow: clip

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Add utility support for the clip value in overflow / overflow-x / overflow-y.
Motivation and context
I just ran into a situation where overflow-x: clip comes in very handy since it doesn't cut off overflowing content on the y axis (in contrast to overflow-x: hidden, which hides overflowing content in both directions).

Closing as a won't fix for now given the above. You can use the utility API for adding this yourself though.


Win svc should target 4.5 not 4.5.2

    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>

#552 releases/dev15rc2
#547 master


Improve verification results

This is an attempt at fixing the verification result handling that has been found to not work well. This API is useful mostly to repository implementations: clients should likely keep using verify_delegate()
Modify VerificationResult

Remove union(): this is now handled by the new RootVerificationResult
include threshold: This is useful and can be added now that union() does not exist
Use dict[str, Key] instead of set[str] for signed and unsigned

Add RootVerificationResult

Externally looks like VerificationResult (without threshold)
It is actually two VerificationResults in a trenchcoat: Root.get_root_verification_result() is provided as a straightforward way to get one

Note that RootVerificationResult.signed and RootVerificationResult.unsigned assume that there are no keyid collisions between the two verifying roles (same keyid is not used for two different keys): This does not affect verified status in any way (only the signed and unsigned lists) so I think this is totally acceptable.
So far the usage looks quite nice but I think we want to try to use this in an app or two to avoid redoing the mistake of the first VerificationResult...
Fixes #2544

[x] The code follows the Code Style Guidelines
[x] Tests have been added for the bug fix or new feature
[x] Docs have been added for the bug fix or new feature

Still wondering if it would  be useful for the two result types to have a common base type, instead of being just duck typed to feel similar.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

0 of 29 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.03%) to 97.832%

Files with Coverage Reduction
New Missed Lines
%

examples/manual_repo/hashed_bin_delegation.py
1
97.26%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
1374

Relevant Lines:
1397

💛  - Coveralls

I tried this in RSTUF and found it very helpful.
I think adding a common base class would be okay. The inheritance model could look something like this.
class VerificationResult:
  verified: bool
  signed: dict[str, Key]
  unsigned: dict[str, Key]

class Single(VerificationResult):
  threshold: int

class Combined(VerificationResult):
  first: Single
  second: Single

But this does not add much value. The more interesting question is, if we want to provide other common behavior. Two things that I would have found useful:

a list of missing signature infos:
unique tuples of threshold -  len(signed) and unsigned if verified is False per Single result

keys that effectively decrease the missing signature count
union of unsigned if verified is False per Single result

The common base class probably looks more complicated: because Combined wants to override signed and unsigned they probably would have to be properties in the parent class already.


Remove inheritance from Create.TimestampedValues

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Previously, Create.TimestampedValues extended Create.Values. This
actually resulted in confusing behavior in one runner because
Create.Values was overridden using instanceof checks, which
accidentally pulled in Create.TimestampedValues.
Now Create.TimeStampedValues is a simple composite transform.

LGTM

Thanks for the preemptive review, @tgroh :-). I will make that change, certainly. Looping in a committer:
R: @amitsela

LGTM - I ran the RunnableOnService tests and saw that there are no more issues with Create.TimestampedValues


assets download

I can't download the assets

Hello friend! I have never had an issue with this, what happens when you try to download the assets?

Hey @CesarAndresJ , thank you so much for trying to help in here, I'm really busy these days and it's been hard to keep track of the issues posted here.
@Moksys1, adding to @CesarAndresJ 's question, which assets are you trying to download?

Closing due to inactivity...


chore(TCOMP-717): importing components japanese translations

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?
jp translations are here
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results