provide more informative error msg when user does not resetFunctions in compileNimble()

See pump example in lightning intro to manual. Error message if you don't use resetFunctions = TRUE is inscrutable.
￼> CpumpNewMCMC <- compileNimble(pumpMCMC2, project  = pump)
Error in nimbleProject$instantiateNimbleFunction(thisObj[[i]], dll) :
attempt to apply non-function

I trapped this situation and provided the following long error message:
"Error: Oops, there is something in this compilation job that doesn't fit together.  This can happen in some cases if you are trying to compile new pieces into an exising project.  If that is the situation, please try including "resetFunctions = TRUE" as an argument to compileNimble.  Alternatively please try rebuilding the project from the beginning with more pieces in the same call to compileNimble.  For example, if you are compiling multiple algorithms for the same model in multiple calls to compileNimble, try compiling them all with one call."
Look ok?
The location of this in nimbleProjectClass$instantiateNimbleFunction could lead to a merge conflict when we merge with reduceMemory3.


Add a credentials inputs to the Client class

Add a credentials input to the Client class to be able to generate the credentials as the Client class is initiated

Looks good! I'm going to quickly update the build system and then will publish the new version to pip


Flaky Test - Error: Browser was not set-up in time!

Happens in the flaky manner: https://github.com/puppeteer/puppeteer/actions/runs/7046304099/job/19177866980?pr=11471#step:13:906
cc @jrandolf @Lightning00Blade

That error is part of something else log show TimeoutError: Timed out after 9000 ms while waiting for the WS endpoint URL to appear in stdout! I don't know how we don't get the endpoint in that time. Any idea where to start looking?


Patch 0.216.9

Support newly released patch 0.216.9: https://valheim.com/news/patch-0-216-9/

@timkurvers I've made this changes to build.sh and rebuilt the app. Seems to work fine in multiplayer mode
buildid=11422039
manifestid=9217850553460069452
version="0.216.9"

@shelimov Thanks for confirming it works well in multiplayer 🥳


Migrate from Travis CI to Github Actions

DevoLearn should migrate to Github Actions because building on travis-ci.org has ceased since June 15th, 2021.

Fixed in a2a7279dab0fc81124d652d7d0016f47dcfd6cf3


 This app contains best collection of Hot Videos. Many Private videos of girl dancing on Bhojpuri Songs which can be enjoyed with friends and family members. We will be adding more Hot videos every week. Keep yourself updated with this app and please rate this app along with few comments and suggestions. You may also with few comments and suggestions. You may also write the type of videos you wish to watch in this app and we will be adding them regularly. This Bhojpuri Songs and Bhojpuri Dance is commonly of girls and they are really hot which you cannot resist to watch.
Do enjoy this app and share it on social media Bhojpuri Hot Viral Videos Leaked app is a collection of Viral videos of Girl and Leaked Videos.
This app contains best collection of Hot Videos. Many Private videos of girl dancing on Bhojpuri Songs which can be enjoyed with friends and family members. We will be adding more Hot videos every week. Keep yourself updated with this app and please rate this app along with few comments and suggestions. You may also write the type of videos you wish to watch in this app and we will be adding them regularly. This Bhojpuri Songs and Bhojpuri Dance is commonly of girls and they are really hot which you cannot resist to watch. Do enjoy this app
and share it on social media.

fgfdg


Change in ansi v0.4.0 breaks bubbletea v1.1.1

Describe the bug
https://github.com/charmbracelet/x/releases/tag/ansi%2Fv0.4.0 introduces a change which breaks https://github.com/charmbracelet/bubbletea/releases/tag/v1.1.1
Setup

OS: MacOS
Shell: zsh
Terminal Emulator: iterm

To Reproduce

Create a project that references:

github.com/charmbracelet/bubbletea v1.1.1 // indirect
github.com/charmbracelet/x/ansi v0.4.0 // indirect

In the go.mod

Run go vet:

go vet ./...
# github.com/charmbracelet/bubbletea
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:279:24: undefined: ansi.MoveCursor
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:316:17: undefined: ansi.MoveCursorOrigin
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:346:17: undefined: ansi.MoveCursorOrigin
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:519:24: undefined: ansi.MoveCursor
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:556:23: undefined: ansi.MoveCursor
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:562:23: undefined: ansi.MoveCursor
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:583:23: undefined: ansi.MoveCursor
../../../../../go/pkg/mod/github.com/charmbracelet/bubbletea@v1.1.1/standard_renderer.go:588:23: undefined: ansi.MoveCursor
make: *** [fmt] Error 1

Expected behavior
Compatibility with ansi/v0.4.0

Hey @blackbird-hank, we just pushed Bubble Tea v1.1.2 to fix this issue. Thank you for finding this out!

Hey @blackbird-hank, we just pushed Bubble Tea v1.1.2 to fix this issue. Thank you for finding this out!

Wow! A-mazing turnaround @aymanbagabas - thanks so much!!


Fix memory leak for annotated spectra

We're having some odd issues with the h5py.string_dtype() that ultimately leads to a memory leak in when using depthcharge.AnnotatedSpectrumDataset.__get_item__() (kudos to @melihyilmaz for localizing this).
After doing a little research, it seems that h5py processes strings from lists differently than from numpy arrays (in numpy array, specifying the dtype matters) when building the hdf5 file. I've changed the file generation to use strings, and at least this seems to fixed things locally. Here is an example using a simulated 100,000 spectra MGF file:
import os
import gc
import psutil
from pathlib import Path

import torch
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from tqdm.auto import tqdm
from pyteomics.mass import calculate_mass

from depthcharge.data import (
    AnnotatedSpectrumIndex,
    AnnotatedSpectrumDataset,
    SpectrumDataModule,
    SpectrumIndex,
    SpectrumDataset,
)

sns.set()

def run(dataset, n_iter=10000):
    """Run the experiment"""
    gc.collect()
    mems = []
    for i in tqdm(range(n_iter)):
        _ = dataset[i]
        mems.append(psutil.Process(os.getpid()).memory_info().rss / 1024 ** 2)

    return np.array(mems)

def _create_mgf_entry(peptide, charge=2):
    """Create a MassIVE-KB style MGF entry for a single PSM.

    Parameters
    ----------
    peptide : str
        A peptide sequence.
    charge : int, optional
        The peptide charge state.

    Returns
    -------
    str
        The PSM entry in an MGF file format.
    """
    mz = calculate_mass(peptide, charge=int(charge))
    frags = []
    for idx in range(len(peptide)):
        for zstate in range(1, charge):
            b_pep = peptide[: idx + 1]
            frags.append(
                str(calculate_mass(b_pep, charge=zstate, ion_type="b"))
            )

            y_pep = peptide[idx:]
            frags.append(
                str(calculate_mass(y_pep, charge=zstate, ion_type="y"))
            )

    frag_string = " 1\n".join(frags) + " 1"

    mgf = [
        "BEGIN IONS",
        f"SEQ={peptide}",
        f"PEPMASS={mz}",
        f"CHARGE={charge}+",
        f"{frag_string}",
        "END IONS",
    ]
    return "\n".join(mgf)

def _create_mgf(peptides, mgf_file, random_state=42):
    """Create a fake MGF file from one or more peptides.

    Parameters
    ----------
    peptides : str or list of str
        The peptides for which to create spectra.
    mgf_file : str or Path
        The MGF file to create.
    random_state : int or numpy.random.Generator, optional
        The random seed. The charge states are chosen to be
        2 or 3 randomly.

    Returns
    -------
    """
    rng = np.random.default_rng(random_state)
    mgf_file = Path(mgf_file)
    entries = [_create_mgf_entry(p, rng.choice([2, 3])) for p in tqdm(peptides)]
    with mgf_file.open("w+") as mgf_ref:
        mgf_ref.write("\n".join(entries))

    return mgf_file

def _random_peptides(n_peptides, random_state=42):
    """Create random peptides"""
    rng = np.random.default_rng(random_state)
    residues = "ACDEFGHIKLMNPQRSTUVWY"
    for i in range(n_peptides):
         yield "".join(rng.choice(list(residues), rng.integers(6, 50)))

def main():
    mgf_file = _create_mgf(_random_peptides(100000), "test.mgf")

    index = SpectrumIndex("test.hdf5", "test.mgf", overwrite=True)
    dataset = SpectrumDataset(index)
    si_mems = run(dataset)
    del index
    del dataset
    gc.collect()

    index = AnnotatedSpectrumIndex("test.hdf5", "test.mgf", overwrite=True)
    dataset = AnnotatedSpectrumDataset(index)
    asi_mems = run(dataset)
    del index
    del dataset
    gc.collect()

    fig, axs = plt.subplots(1, 2, figsize=(8, 3))
    labs = ["SpectrumIndex", "AnnotatedSpectrumIndex"]
    data = [si_mems, asi_mems]

    for lab, mems, ax in zip(labs, data, axs):
        ax.set_title(lab, loc="left")
        ax.plot(mems)
        ax.set_xlabel("Iteration")
        ax.set_ylabel("Process RSS (mb)")

    plt.tight_layout()
    plt.savefig("oom-test.png")

if __name__ == "__main__":
    main()

One last thing to mentions is that AnnotatedSpectrumDataset.__get_item__() is ~10x slower than SpectrumDataset.__get_item__()! But alas, this is a problem to sort out later...

The latest update seems to improve the speed too.


Finetune on Ray cluster with trial task failed

When performing llm_on_ray-finetune --config_file llm_on_ray/finetune/finetune.yaml to finetune, the following error occurs:
View detailed results here: /home/work/ray_results/TorchTrainer_2024-06-12_19-08-39
To visualize your results with TensorBoard, run: `tensorboard --logdir /tmp/ray/session_2024-06-12_17-52-13_804657_66702/artifacts/2024-06-12_19-08-39/TorchTrainer_2024-06-12_19-08-39/driver_artifacts`
2024-06-12 19:12:22,924	ERROR tune_controller.py:1331 -- Trial task failed for trial TorchTrainer_1f1a0_00000
Traceback (most recent call last):
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/worker.py", line 2613, in get
    values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/worker.py", line 863, in get_objects
    raise value
ray.exceptions.ActorDiedError: The actor died because of an error raised in its creation task, ray::_Inner.__init__() (pid=118836, ip=<IP_ADDRESS>, actor_id=9b4cd2f443263634b3cdcba101000000, repr=TorchTrainer)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/trainable/trainable.py", line 158, in __init__
    self.setup(copy.deepcopy(self.config))
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/trainable/util.py", line 119, in setup
    setup_kwargs[k] = parameter_registry.get(prefix + k)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/registry.py", line 300, in get
    return ray.get(self.references[k])
ray.exceptions.ReferenceCountingAssertionError: Failed to retrieve object 00ffffffffffffffffffffffffffffffffffffff0100000001e1f505. To see information about where this ObjectRef was created in Python, set the environment variable RAY_record_ref_creation_sites=1 during `ray start` and `ray.init()`.

The object has already been deleted by the reference counting protocol. This should not happen.

Training errored after 0 iterations at 2024-06-12 19:12:22. Total running time: 3min 43s
Error file: /tmp/ray/session_2024-06-12_17-52-13_804657_66702/artifacts/2024-06-12_19-08-39/TorchTrainer_2024-06-12_19-08-39/driver_artifacts/TorchTrainer_1f1a0_00000_0_2024-06-12_19-08-39/error.txt
2024-06-12 19:12:22,931	INFO tune.py:1009 -- Wrote the latest version of all result files and experiment state to '/home/work/ray_results/TorchTrainer_2024-06-12_19-08-39' in 0.0038s.

2024-06-12 19:12:22,931	ERROR tune.py:1037 -- Trials did not complete: [TorchTrainer_1f1a0_00000]
2024-06-12 19:12:22,934	WARNING experiment_analysis.py:180 -- Failed to fetch metrics for 1 trial(s):
- TorchTrainer_1f1a0_00000: FileNotFoundError('Could not fetch metrics for TorchTrainer_1f1a0_00000: both result.json and progress.csv were not found at /home/work/ray_results/TorchTrainer_2024-06-12_19-08-39/TorchTrainer_1f1a0_00000_0_2024-06-12_19-08-39')
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) Local object store memory usage:
ray.exceptions.ActorDiedError: The actor died because of an error raised in its creation task, ray::_Inner.__init__() (pid=118836, ip=<IP_ADDRESS>, actor_id=9b4cd2f443263634b3cdcba101000000, repr=TorchTrainer)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/trainable/trainable.py", line 158, in __init__
    self.setup(copy.deepcopy(self.config))
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/trainable/util.py", line 119, in setup
    setup_kwargs[k] = parameter_registry.get(prefix + k)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/registry.py", line 300, in get
    return ray.get(self.references[k])
ray.exceptions.ReferenceCountingAssertionError: Failed to retrieve object 00ffffffffffffffffffffffffffffffffffffff0100000001e1f505. To see information about where this ObjectRef was created in Python, set the environment variable RAY_record_ref_creation_sites=1 during `ray start` and `ray.init()`.

The object has already been deleted by the reference counting protocol. This should not happen.(TrainTrainable pid=118836, ip=<IP_ADDRESS>)

The above exception was the direct cause of the following exception:

(TrainTrainable pid=118836, ip=<IP_ADDRESS>) (global lru) capacity:<PHONE_NUMBER>6
Traceback (most recent call last):
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) (global lru) used: 0%
  File "/home/work/app/miniconda/envs/llm-on-ray/bin/llm_on_ray-finetune", line 8, in <module>
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) (global lru) num objects: 0
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) (global lru) num evictions: 0
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) (global lru) bytes evicted: 0
    sys.exit(main())
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/llm_on_ray/finetune/finetune.py", line 494, in main
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) Exception raised in creation task: The actor died because of an error raised in its creation task, ray::_Inner.__init__() (pid=118836, ip=<IP_ADDRESS>, actor_id=9b4cd2f443263634b3cdcba101000000, repr=TorchTrainer)
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)   File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/trainable/trainable.py", line 158, in __init__
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)     self.setup(copy.deepcopy(self.config))
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)   File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/trainable/util.py", line 119, in setup
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)     setup_kwargs[k] = parameter_registry.get(prefix + k)
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)   File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/tune/registry.py", line 300, in get
    results = trainer.fit()
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)     return ray.get(self.references[k])
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/train/base_trainer.py", line 638, in fit
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) ray.exceptions.ReferenceCountingAssertionError: Failed to retrieve object 00ffffffffffffffffffffffffffffffffffffff0100000001e1f505. To see information about where this ObjectRef was created in Python, set the environment variable RAY_record_ref_creation_sites=1 during `ray start` and `ray.init()`.
(TrainTrainable pid=118836, ip=<IP_ADDRESS>)
(TrainTrainable pid=118836, ip=<IP_ADDRESS>) The object has already been deleted by the reference counting protocol. This should not happen.
    raise TrainingFailedError(
ray.train.base_trainer.TrainingFailedError: The Ray Train run failed. Please inspect the previous error messages for a cause. After fixing the issue (assuming that the error is not caused by your own application logic, but rather an error such as OOM), you can restart the run from scratch or continue this run.
To continue this run, you can use: `trainer = TorchTrainer.restore("/home/work/ray_results/TorchTrainer_2024-06-12_19-08-39")`.
To start a new run that will retry on training failures, set `train.RunConfig(failure_config=train.FailureConfig(max_failures))` in the Trainer's `run_config` with `max_failures > 0`, or `max_failures = -1` for unlimited retries.

logs show that ray cluster you started not worked well, can you share the status of your ray cluster by executiong:
ray status
or maybe you force stop the ray cluster by:
ray stop --force
and then just execute:
llm_on_ray-finetune --config_file llm_on_ray/finetune/finetune.yaml

Thank you for your reply. According to your instructions, the service was restarted, but new problems emerged.
available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
(RayTrainWorker pid=178581) lz4 not available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
(RayTrainWorker pid=145250, ip=<IP_ADDRESS>) 2024-06-18 21:24:50,300 - datasets - INFO - PyTorch version 2.2.0+cpu available.
(RayTrainWorker pid=178581) Warning: Cannot load xpu CCL. CCL doesn't work for XPU device
(RayTrainWorker pid=178581) Setting up process group for: env:// [rank=0, world_size=2]
(RayTrainWorker pid=145250, ip=<IP_ADDRESS>) [E socket.cpp:957] [c10d] The client socket has timed out after 1800s while trying to connect to (<IP_ADDRESS>, 54703).
(RayTrainWorker pid=178581) 2024-06-18 21:24:50,372 - datasets - INFO - PyTorch version 2.2.0+cpu available.
2024-06-18 21:54:51,456	ERROR tune_controller.py:1331 -- Trial task failed for trial TorchTrainer_cfcaf_00000
Traceback (most recent call last):
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/worker.py", line 2613, in get
    values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)

The result of executing ray status:
======== Autoscaler status: 2024-06-19 09:22:06.466467 ========
Node status
---------------------------------------------------------------
Active:
 1 node_c3c54f11b833fbc24442f79ce75e9e647cd33965c4327b10958d0ca7
 1 node_5cd1a43e40db8b19b3b51005f977f6a821d83fd6fbb01791ad4a50dc
 1 node_45a82ca1722b7e1bd1bd77a50219cc3936a43e0f330f584f8225a046
Pending:
 (no pending nodes)
Recent failures:
 (no failures)

Resources
---------------------------------------------------------------
Usage:
 0.0/72.0 CPU
 0B/240.83GiB memory
 0B/107.20GiB object_store_memory

Demands:
 (no resource demands)

Thank you for your reply. According to your instructions, the service was restarted, but new problems emerged.
available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
(RayTrainWorker pid=178581) lz4 not available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
(RayTrainWorker pid=145250, ip=<IP_ADDRESS>) 2024-06-18 21:24:50,300 - datasets - INFO - PyTorch version 2.2.0+cpu available.
(RayTrainWorker pid=178581) Warning: Cannot load xpu CCL. CCL doesn't work for XPU device
(RayTrainWorker pid=178581) Setting up process group for: env:// [rank=0, world_size=2]
(RayTrainWorker pid=145250, ip=<IP_ADDRESS>) [E socket.cpp:957] [c10d] The client socket has timed out after 1800s while trying to connect to (<IP_ADDRESS>, 54703).
(RayTrainWorker pid=178581) 2024-06-18 21:24:50,372 - datasets - INFO - PyTorch version 2.2.0+cpu available.
2024-06-18 21:54:51,456	ERROR tune_controller.py:1331 -- Trial task failed for trial TorchTrainer_cfcaf_00000
Traceback (most recent call last):
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/worker.py", line 2613, in get
    values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)

The result of executing ray status:
======== Autoscaler status: 2024-06-19 09:22:06.466467 ========
Node status
---------------------------------------------------------------
Active:
 1 node_c3c54f11b833fbc24442f79ce75e9e647cd33965c4327b10958d0ca7
 1 node_5cd1a43e40db8b19b3b51005f977f6a821d83fd6fbb01791ad4a50dc
 1 node_45a82ca1722b7e1bd1bd77a50219cc3936a43e0f330f584f8225a046
Pending:
 (no pending nodes)
Recent failures:
 (no failures)

Resources
---------------------------------------------------------------
Usage:
 0.0/72.0 CPU
 0B/240.83GiB memory
 0B/107.20GiB object_store_memory

Demands:
 (no resource demands)

The job running tracing in the Ray dashboard:

Thank you for your reply. According to your instructions, the service was restarted, but new problems emerged.
available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
(RayTrainWorker pid=178581) lz4 not available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
(RayTrainWorker pid=145250, ip=<IP_ADDRESS>) 2024-06-18 21:24:50,300 - datasets - INFO - PyTorch version 2.2.0+cpu available.
(RayTrainWorker pid=178581) Warning: Cannot load xpu CCL. CCL doesn't work for XPU device
(RayTrainWorker pid=178581) Setting up process group for: env:// [rank=0, world_size=2]
(RayTrainWorker pid=145250, ip=<IP_ADDRESS>) [E socket.cpp:957] [c10d] The client socket has timed out after 1800s while trying to connect to (<IP_ADDRESS>, 54703).
(RayTrainWorker pid=178581) 2024-06-18 21:24:50,372 - datasets - INFO - PyTorch version 2.2.0+cpu available.
2024-06-18 21:54:51,456	ERROR tune_controller.py:1331 -- Trial task failed for trial TorchTrainer_cfcaf_00000
Traceback (most recent call last):
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/work/app/miniconda/envs/llm-on-ray/lib/python3.9/site-packages/ray/_private/worker.py", line 2613, in get
    values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)

The result of executing ray status:
======== Autoscaler status: 2024-06-19 09:22:06.466467 ========
Node status
---------------------------------------------------------------
Active:
 1 node_c3c54f11b833fbc24442f79ce75e9e647cd33965c4327b10958d0ca7
 1 node_5cd1a43e40db8b19b3b51005f977f6a821d83fd6fbb01791ad4a50dc
 1 node_45a82ca1722b7e1bd1bd77a50219cc3936a43e0f330f584f8225a046
Pending:
 (no pending nodes)
Recent failures:
 (no failures)

Resources
---------------------------------------------------------------
Usage:
 0.0/72.0 CPU
 0B/240.83GiB memory
 0B/107.20GiB object_store_memory

Demands:
 (no resource demands)

The problem has been identified, start the ray master node: 'ray start --head --node-ip-address <IP_ADDRESS>', due to node-ip-address = <IP_ADDRESS>


Fix WebSocketClientHandshaker not generating correct handshake request when path is empty

Motivation:
WebSocketClientHandshaker#upgradeUrl doesn't comperly compute relative url when path is empty and produces url such as ?access_token=foo instead of /?access_token=foo.
Modifications:

fix WebSocketClientHandshaker#upgradeUrl
add tests for urls without path, with and without query

Result:
WebSocketClientHandshaker properly connects to url without path.

@netty-bot test this please

@slandelle thanks a lot!


Wireguard LXC Freezing up | Unable to use until restart

Please verify that you have read and understood the guidelines.
yes
A clear and concise description of the issue.
When using the Wireguard LXC, I have noticed the LXC tend to freeze up when I attempt to create a tunnel and remains frozen until the container is restarted. This is evident even after attempting multiple times to ensure it wasn't a fluke. I also tested installing WGDashboard on a VM with better settings (3 Gigs of ram and 1 core) and I don't seem to notice any freezing.
Also RIP tteckster 🕊
What settings are you currently utilizing?
Default Settings
Which Linux distribution are you employing?
Debian 12
If relevant, including screenshots or a code block can be helpful in clarifying the issue.
No response
Please provide detailed steps to reproduce the issue.

Install the Wireguard LXC from the website with all default settings
Upon accessing the Dashboard page, attempt to create a tunnel.
After creating a tunnel observe the whole dashboard freezing and unable to be reloaded until restart.
If the tunnel somehow works (worked once), attempt to turn on the tunnel with a default peer or any peer and observe its behavior.

I cannot understand the error.

freshly deployed WireGuard LXC (default settings)
login clicked through, without MFA
pressed “+” in “Home” and entered data => Save
activated
everything runs normally


feat: 🎸 man page for swiftplantuml

Codecov Report

Merging #35 (a35970f) into main (289b7bd) will decrease coverage by 5.89%.
The diff coverage is 89.67%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   96.03%   90.13%   -5.90%
==========================================
  Files          17       42      +25
  Lines         378     1257     +879
==========================================
+ Hits          363     1133     +770
- Misses         15      124     +109

Impacted Files
Coverage Δ

...s/SwiftPlantUMLFramework/Configuration/Theme.swift
0.00% <0.00%> (ø)

...ramework/Presenting/PlantUMLBrowserPresenter.swift
0.00% <0.00%> (ø)

...ramework/Presenting/PlantUMLConsolePresenter.swift
100.00% <ø> (ø)

...antUMLFramework/Configuration/ElementOptions.swift
65.21% <65.21%> (ø)

...PlantUMLFramework/Internal/String+Extensions.swift
70.58% <70.58%> (ø)

...lantUMLFramework/Configuration/Configuration.swift
74.19% <74.19%> (ø)

...ources/SwiftPlantUMLFramework/Logging/Logger.swift
75.00% <75.00%> (ø)

...ftPlantUMLFramework/Internal/PlantUMLContext.swift
77.27% <77.27%> (ø)

...ftPlantUMLFramework/Configuration/Stereotype.swift
82.60% <82.60%> (ø)

...ramework/Configuration/ConfigurationProvider.swift
84.44% <84.44%> (ø)

... and 34 more

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


Docs site is not working

https://terra-money.github.io/terra-sdk-python is not working now, any one plz guide me to the new doc site, thanks very much

https://terra-money.github.io/terra.py
sorry for the inconvinience. it will be fixed soon.


Enhancement documentation

Starts the resolution for Issue #36:

adds sphinx support
adds some of the docstrings

Coverage remained the same at 100.0% when pulling 9f807ab11d2e59ef72d48291fd42c3fc37ae7c61 on BenjamenMeyer:enhancement_documentation into<PHONE_NUMBER>a1e45e558a7e4033cc662689fddcdf on TestInABox:master.

Coverage remained the same at 100.0% when pulling 9f807ab11d2e59ef72d48291fd42c3fc37ae7c61 on BenjamenMeyer:enhancement_documentation into<PHONE_NUMBER>a1e45e558a7e4033cc662689fddcdf on TestInABox:master.

Coverage remained the same at 100.0% when pulling 9f807ab11d2e59ef72d48291fd42c3fc37ae7c61 on BenjamenMeyer:enhancement_documentation into<PHONE_NUMBER>a1e45e558a7e4033cc662689fddcdf on TestInABox:master.


Init strategy

This PR resolves #41 by

moving the parameter initialization to a separate method

The PR is chained with #44 because of non-failing tests.

Hello @stroblme! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file qml_essentials/model.py:

Line 216:37: E203 whitespace before ':'
Line 216:50: E203 whitespace before ':'
Line 217:54: E203 whitespace before ':'
Line 217:67: E203 whitespace before ':'

ignoring pep because we have gh actions


CompiledMethod>>#gtLocalVersionsFor: Change column could display an actual change from previous version

It would be better to display diffs like those defined in view IceNode>>#gtViewDiffFor: to better understand what has happened in the local history.

We are now showing diffs.


Generic Objects which is Array

class ResponseObject<T: Mappable> : Mappable{
    var errorCode: String?

    var errorName: String?

    var status: String?

    var results: T?

    required init?(_ map: Map){

    }

    func mapping(map: Map) {
        errorCode <- map["errorCode"];
        errorName <- map["errorName"];
        status <- map["status"];
        results <- map["results"]

        //        if results is Array {
//            var a = results as! Array
//            a <- map["results"]
//        }
    }
}

sorry my poor english
this is a network response object, which has some common fields but the "results" is a Generic type .
when the T which maybe is "Array"
this will give me error below
Type 'Array' does not conform to protocol 'Mappable'

Any one help me please

class ResponseObject : Mappable{
var errorCode: String?
var errorName: String?

var status: String?

var results: T?

required init?(_ map: Map){

}

func mapping(map: Map) {
    errorCode <- map["errorCode"];
    errorName <- map["errorName"];
    status <- map["status"];
    results <- map["results"]

    //        if results is Array {

//            var a = results as! Array
//            a <- map["results"]
//        }
}
}
I‘am try to change the “T：Mappable” to “T”. But if the T really is a Mappable this given me the result nil ，I hope the “objectmapper” can let us define the “T” not the “T：Mappable” and inside the “objectmapper” if the T not as “Array” or can mappable Object which given the error should be nice.
is there any one agree me？

Unfortunately ObjectMapper cannot handle generic Arrays at this point.
You will probably need two response objects to satisfy this situation. One with var results: T? and one with var results: [T]?
The generic type must conform to Mappable to be used by ObjectMapper


Linux test suite for SE mode. It would be really cool to have a table of what works and what doesn't work.

Linux test project (LPT) tests each syscall: https://linux-test-project.github.io/


Signature is changed after submitting transaction

We have weird issue.. That signature is changed for submitted transaction. How is it possible?
So we sent transaction
02604b65ee5b04a4032fbf1344010a1871d5506ff30f784d4e1f20f8022cb35f4301594c64da108d0b949f5c962ca9480c98968c5f89131534881aff56a24b5fc394000202a9192d6d3fdf38347606e58e96960b4126b6f3c1fb53244032700cdc97a00b18d0860302a0b40718cf8e70aa2ac59236df101a9979ef0df756457cd239c74c9fb48cad999fff0202002102a0b40718cf8e70aa2ac59236df101a9979ef0df756457cd239c74c9fb48cad99020c4469616d6f6e644c6576656c01020f4469616d6f6e64506f7374486173682026654fcb595f8dcab57924e362657faa5d4cdb62492090ad26b4ec44e96b3b554730450220453c24096c44ff521cff91790164f4c0855f16936a22bc85ee7c22ef2a4bb79d022100fdfb9c04ff076db2936712c337ac3b499fd821c1969333001a7f1b7592b44d5e

and after we can see that there is no such transaction but we have same body and different signature after
02604b65ee5b04a4032fbf1344010a1871d5506ff30f784d4e1f20f8022cb35f4301594c64da108d0b949f5c962ca9480c98968c5f89131534881aff56a24b5fc394000202a9192d6d3fdf38347606e58e96960b4126b6f3c1fb53244032700cdc97a00b18d0860302a0b40718cf8e70aa2ac59236df101a9979ef0df756457cd239c74c9fb48cad999fff0202002102a0b40718cf8e70aa2ac59236df101a9979ef0df756457cd239c74c9fb48cad99020c4469616d6f6e644c6576656c01020f4469616d6f6e64506f7374486173682026654fcb595f8dcab57924e362657faa5d4cdb62492090ad26b4ec44e96b3b554630440220453c24096c44ff521cff91790164f4c0855f16936a22bc85ee7c22ef2a4bb79d0220020463fb00f8924d6c98ed3cc853c4b51ad6bb2518b56d3ba55343173d81f3e3

Somehow it happens with diamonds transaction (seems only)
Also it seems like happens not all the time.
What are we missing?

We fully reproduced it. It happens when you send 2 diamonds and happens on 2nd one.
So we sent using bundle transaction by protocol 1st diamond tx
02b8fd099d83a0ca0a7aaae1f44e5d408df775c419622aee86396c28ea86a136cf01623e0ee41dc0696bb7a788bb8282c7e52944dda49a251125127a443a9d2bfddb0002038a4c86f8b9bfa8d63b4e13c302ba6b14b6dbcae86475f6636340f9b78616b436d0860303a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111cccea0102002103a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111c020c4469616d6f6e644c6576656c01020f4469616d6f6e64506f73744861736820c60a2921295e9fa79f9f2ef53f296be2df185d2e625f2f8c5cb64cf30358810a473045022100ae6a8c6b41ce6f251bbb125dca162611a950689570df6faec076855fabf08e2f02204839257b419d661d19950a5b5912ad3e406fc66b2b50ecc750f7b175f1a7fbd9

It has id 3JuEU8EdT2LXSxY9vBnEHAszEwaqc5gDNH7ktmJkmgjea29WVPsM1b same as we can see in explorer
After we prepared and send 2nd reward USING node
02b6b407f35f62ba227b81344872dbd291c97a926c42b38c55410295e409811570010cc53776d01aa8681db71de82881b831b0b34f850be50f0d16b5a886a397774c00020210fa89e270193ec7b8213b8efa49f9d7f4c2a12c06208da33da945b52359c7ded0860303a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111cb1e00102002103a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111c020c4469616d6f6e644c6576656c01020f4469616d6f6e64506f7374486173682005a5dffb97abfd4656540ca08dcac299dc554752012fa108ed918fb65d61f9f047304502205639417c7bdfc707575004f2f64b748b8060e4bcf4d2ede17924d7c422ffd0ca02210087711a017253c62151ed575fc2d282f7403c2967003655bbb71a975403334a1e

So if you calculate ID of it, should be – *3JuETUCoGUsKT2KmeMGGjjhGs8tRtW9fTqtzVoGCWrS8cjPr72QqWX`
Node returned
{"Transaction":{"TxInputs":[{"TxID":[182,180,7,243,95,98,186,34,123,129,52,72,114,219,210,145,201,122,146,108,66,179,140,85,65,2,149,228,9,129,21,112],"Index":1},{"TxID":[12,197,55,118,208,26,168,104,29,183,29,232,40,129,184,49,176,179,79,133,11,229,15,13,22,181,168,134,163,151,119,76],"Index":0}],"TxOutputs":[{"PublicKey":"AhD6ieJwGT7HuCE7jvpJ+df0wqEsBiCNoz2pRbUjWcfe","AmountNanos":50000},{"PublicKey":"A6dpgon2+wjWlI2uZESExEYtQ0DON2lh9mHGPeELSxEc","AmountNanos":28721}],"TxnMeta":{},"PublicKey":"A6dpgon2+wjWlI2uZESExEYtQ0DON2lh9mHGPeELSxEc","ExtraData":{"DiamondLevel":"Ag==","DiamondPostHash":"BaXf+5er/UZWVAygjcrCmdxVR1IBL6EI7ZGPtl1h+fA="},"Signature":{"R":39000067230444674001272252541461828365331923160522036074209205380682163933386,"S":61262067761465946934116689200031670164735809632710522612600934551819883072030},"TxnTypeJSON":2},"TxnHashHex":"679cc1fd614c8a6e3adf77bf70fa678c1bb6ce58e9571aeb298507be5e7ad570","PostEntryResponse":null}

Screenshot
Checking in mempool and OMG. Signature changed??? how?
New ID - * 3JuETXQMinRcn5XBskY1ZPmn41vEFexzJLg6cjHcT2mn32jRoBVGRQ* 3JuETXQMinRcn5XBskY1ZPmn41vEFexzJLg6cjHcT2mn32jRoBVGRQ
Body hex
02b6b407f35f62ba227b81344872dbd291c97a926c42b38c55410295e409811570010cc53776d01aa8681db71de82881b831b0b34f850be50f0d16b5a886a397774c00020210fa89e270193ec7b8213b8efa49f9d7f4c2a12c06208da33da945b52359c7ded0860303a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111cb1e00102002103a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111c020c4469616d6f6e644c6576656c01020f4469616d6f6e64506f7374486173682005a5dffb97abfd4656540ca08dcac299dc554752012fa108ed918fb65d61f9f046304402205639417c7bdfc707575004f2f64b748b8060e4bcf4d2ede17924d7c422ffd0ca0220788ee5fe8dac39deae12a8a03d2d7d077a72b37faf124a8008b7c738cd02f723

You can see SAME body but DIFFERENT signature (not same that was send)
02b6b407f35f62ba227b81344872dbd291c97a926c42b38c55410295e409811570010cc53776d01aa8681db71de82881b831b0b34f850be50f0d16b5a886a397774c00020210fa89e270193ec7b8213b8efa49f9d7f4c2a12c06208da33da945b52359c7ded0860303a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111cb1e00102002103a7698289f6fb08d6948dae644484c4462d4340ce376961f661c63de10b4b111c020c4469616d6f6e644c6576656c01020f4469616d6f6e64506f7374486173682005a5dffb97abfd4656540ca08dcac299dc554752012fa108ed918fb65d61f9f0

Looking for clarification how it's possible? Why orignal signature of transaction CHANGED by node without prior notice?

I believe this was incorrect behavior because I expected my original BODY to be used and not modified like this when I sent the transaction.
Any chances to get fixed it? If the tx is not OK, it should be rejected but NOT MODIFIED, in my opinion.

OK, I just wrote a small script and found an issue. Go lang is not my language, so I do not know why it happens, and not so familiar with its libs.
package main

import (
  "encoding/hex"
  "fmt"

  "github.com/btcsuite/btcd/btcec"
)

func main() {
  sigBytes, _ := hex.DecodeString("304502205639417c7bdfc707575004f2f64b748b8060e4bcf4d2ede17924d7c422ffd0ca02210087711a017253c62151ed575fc2d282f7403c2967003655bbb71a975403334a1e")
  sig, _ := btcec.ParseDERSignature(sigBytes, btcec.S256())
  fmt.Println("%v", hex.EncodeToString(sig.Serialize()))
}

go run script.go
And now we can see that signature changed:
%v<PHONE_NUMBER>39417c7bdfc707575004f2f64b748b8060e4bcf4d2ede17924d7c422ffd0ca0220788ee5fe8dac39deae12a8a03d2d7d077a72b37faf124a8008b7c738cd02f723

@donhardman we're looking into this. How did you prepare the signature? Did you use Identity to prepare it or some other mechanism? We need to inspect the code that prepared the signature in order to debug this.
There are two ways to fix this:

Fix the code that is preparing the signature
Fix the code that is parsing the signature to standardize or error when there is a nonstandard signature

I believe the first path is far easier.

Please explain the full process you used to:

Generate the txn
Sign the txn
Submit the txn

We need to be able to trace all of the code from beginning to end in order to help.

We prepare the transaction on the client-side by using only UTXOs information.
An official identity frame signs the transaction.
Transaction is submitted by using DeSo protocol in bundle (but even when we submit using core node API, it's the same)

I fully agree that the way to fix how the signature is built is the best. So it's about identity service, then.

@donhardman - are you still experiencing this issue or did the update to identity resolve your concern? If so, may we close this issue?

Seems like it's okay now. Sorry for late reply! Thank you for fixing it


not installing properly on linux

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-svt00zhe/zope-interface_c5e58486c9a9463b87d29fb577ab4813/setup.py", line 26, in
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools' (/home/boosiff/.local/lib/python3.9/site-packages/setuptools/init.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
any suggestions for me on the user side?

I fixed got past the feature and setuptools error but now i am getting different errors with such as failed building wheel for certain things a exiting with subprocess 1

clone this repo, open requirements.txt, and change the versions of plyvel and cytoolz to the following:
plyvel==1.2.0
cytoolz==0.11.2
then continue the install process as detailed in the "install from source" instructions and you should be all set.

Even with plyvel==1.2.0, cytoolz==0.11.2 there were errors with plyvel and numpy build. So I used latest version (plyvel==1.4.0 & numpy==1.23.3). Theo working fine now.

sing cached zope.interface-4.6.0.tar.gz (150 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-_iruivlh/zope-interface_db3ca22f01e34ea0a3f5d314d1cf9531/setup.py", line 26, in
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools' (/usr/lib/python3/dist-packages/setuptools/init.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

getting the above error, please provide any solutions for it

change zope version and is sorted.


Works with URLs, not local HTML files on Windows (10)

I'm pretty sure it's a Windows issue. If I use:
html: [
    'http://localhost:3000/index.html',
    'http://localhost:3000/about.html',
    etc
]

uncss runs perfectly. If I try and use:
html: [
    './app/*.html'
]

There is no error, but the output CSS file only contains a html selector. I've tried file:///c:/path/to/files/*.html ` and every combination of relative path I can think of but I just can't get it to work. When I open an HTML file in a browser in Windows, the URL bar returns:
file:///c:/path/to/files/*.html but it seems like phantomjs doesn't like this.

I have exactly the same problem.
	.pipe(uncss({
		html:['app/index.html']
	}))

is not working
gulp.task('sass', function(){
  return gulp.src(input)
    .pipe(sass(sassOptions).on('error', sass.logError)) // Using gulp-sass
	.pipe(uncss({
		html:['http://localhost:3000/']
	}))
	.pipe(gulp.dest('app/css'))
	.pipe(browserSync.reload({
		stream:true
	}));
});

works

👍 I am experiencing this on macOS, however.

Same problem here, even the simplest HTML with a few classes only returns the html selector in the final CSS. OSX 10.11.6, Node 6.9.5.

I've started running to this issue too on Linux.

I'm deprecating this module, please ask over at https://github.com/giakki/uncss/issues.


Specifying generics while calling the function

export declare type StaticStyles = CSSProperties
export declare type DynamicStyles<Props> = (props: Props) => CSSProperties
export declare type Styles<Props> = StaticStyles | DynamicStyles<Props>

export declare function GlamorousComponentFactory<Props>(
  ...styles: Styles<Props>[]
): GlamorousComponent<Props>

// example
type PropType = {someColor: 'string', textSize: 'string'}
// div is a GlamorousComponentFactory
const StyledDiv = div<PropType>({
  display: 'flex'
}, ({someColor}) => ({
  backgroundColor: someColor
}), ({textColor}) => ({
  fontColor: textColor
}))

<StyledDiv someColor="red" /> // textColor missing

How do I specify props type to function call? Because it is a spread argument, it's not simple to pass them as arguments type. So it would help if flow supported call time generics.

Call-time generics aren't necessary, because flow infers the type arguments from your usage of the function.
If you're having trouble typing a generic so that flow can infer the type args, please create a repro using https://flow.org/try/ and post on StackOverflow (https://stackoverflow.com/questions/tagged/flowtype)


Add docs --name flag for prisma migrate dev command

Describe this PR
While I was doing the tutorials, I found out that there was a --name flag for prisma migrate dev. But, this is not listed in the reference. Therefore I added this, so we have it all in one place.
Changes

Addition of --name / -n option to table of options for prisma migrate dev
Addition of info about resetting and naming below the table
Fixed option --h into -h

What issue does this fix?
More concise and clear docs
Any other relevant information
@all-contributors please add @rogiervandenberg for doc and example

@all-contributors please add @rogiervandenberg for doc and example

Thanks a lot @rogiervandenberg 💚


Refactoring - Lazy conversion of Backend Specific Kil to Generic Kil and Graph option in step/resume

Major Highlights:

Wrapper Classes which allow for lazy evaluation from Backend Kil to Generic Kil.
Step/Resume now have an option to compute execution graphs.
Executor now returns a Rewrite Relation object, containing an optional graph parameter, if compute Graph was specified as true in step/resume.
Other supporting structures around lazy evaluation/ execution graphs.

Please Do not merge yet.

This is not at all the design that I had in mind. The idea was to make KRunState and Transition be abstract classes in which the getters which returned the KIL terms were abstract. Then the java backend would be able to exist largely unchanged except for the very minor alteration which accumulates the graph as you rewrite, and a quite small change to the way KRunStates and Transitions are constructed in JavaSymbolicExecutor. The only new classes this diff should have to introduce are RewriteRelation, JavaBackendKRunState, and JavaBackendTransition. The later two classes should extend KRunState and Transition and implement only one method, which is respectively getRawResult and getRule. This should be able to be done in a fairly small diff, rather than having to introduce a number of new classes and constructs, not to mention significantly altering the interface of the rewriter.

Please find the time to talk to me to make sure you understand the class design before we proceed any further. I'd like to get past this circling we are doing, and to do that it's necessary that you have the correct mental model for how the pieces of the system should interact.

I insist that we need to nail down the two interfaces ASAP.  One is the rewrite engine interface and the other is the debugger interface.  Then different backends can be connected with the generic K debugger provided they implement the rewrite engine interface (e.g., Maude, or OCAML, or the forthcoming LLVM one), and various observers/shells for the debugger (e.g., textual, graphical, IDE, etc.) can co-exist provided that they implement the interface of the debugger.  Probably Dwight is saying the same thing, but I just want to re-iterate the importance of nailing down these interfaces.  It is like making a plan before a complex operation.  It is a must, to avoid mistakes and wasted time.
Grigore

From: dwightguth<EMAIL_ADDRESS>Sent: Friday, January 09, 2015 10:38 AM
To: kframework/k
Subject: Re: [k] Refactoring - Lazy conversion of Backend Specific Kil to Generic Kil and Graph option in step/resume (#1295)
This is not at all the design that I had in mind. The idea was to make KRunState and Transition be abstract classes in which the getters which returned the KIL terms were abstract. Then the java backend would be able to exist largely unchanged except for the very minor alteration which accumulates the graph as you rewrite, and a quite small change to the way KRunStates and Transitions are constructed in JavaSymbolicExecutor. The only new classes this diff should have to introduce are RewriteRelation, JavaBackendKRunState, and JavaBackendTransition. The later two classes should extend KRunState and Transition and implement only one method, which is respectively getRawResult and getRule. This should be able to be done in a fairly small diff, rather than having to introduce a number of new classes and constructs, not to mention significantly altering the interface of the rewriter.
—
Reply to this email directly or view it on GitHubhttps://github.com/kframework/k/pull/1295#issuecomment-69359959.

So, what I'm talking about is not actually the conceptual design; the
conceptual design in this diff is pretty much about what I am aiming for,
and it achieves all the types of separation you are talking about (in fact,
the lazy interpretation of backend terms is the last piec; we already have
a good rewrite engine and debugging api that supports the potential for
multiple backends and frontends).
The problem with this diff is at a lower level than that: it has bad class
design. Essentially, instead of being a simple, non-intrusive change which
provides a minor extension of capabilities beyond what is already there, it
upends the entire interface for rewriting in the java backend and uses half
a dozen new classes and hundreds of lines of poorly designed code to do the
same work that is already being done by the system we have now. It's not
that the design itself is wrong; the design of the implementation is just
all wrong.
I am working with Manasvi to make sure we get it right this time before any
further coding is done. He is going to submit a class design for feedback
to me tomorrow and we will iterate feedback until it matches what I have in
mind. I agree, enough time wasting.
On Jan 9, 2015 6:24 PM, "Grigore Rosu"<EMAIL_ADDRESS>wrote:

I insist that we need to nail down the two interfaces ASAP. One is the
rewrite engine interface and the other is the debugger interface. Then
different backends can be connected with the generic K debugger provided
they implement the rewrite engine interface (e.g., Maude, or OCAML, or the
forthcoming LLVM one), and various observers/shells for the debugger (e.g.,
textual, graphical, IDE, etc.) can co-exist provided that they implement
the interface of the debugger. Probably Dwight is saying the same thing,
but I just want to re-iterate the importance of nailing down these
interfaces. It is like making a plan before a complex operation. It is a
must, to avoid mistakes and wasted time.
Grigore

From: dwightguth<EMAIL_ADDRESS>Sent: Friday, January 09, 2015 10:38 AM
To: kframework/k
Subject: Re: [k] Refactoring - Lazy conversion of Backend Specific Kil to
Generic Kil and Graph option in step/resume (#1295)
This is not at all the design that I had in mind. The idea was to make
KRunState and Transition be abstract classes in which the getters which
returned the KIL terms were abstract. Then the java backend would be able
to exist largely unchanged except for the very minor alteration which
accumulates the graph as you rewrite, and a quite small change to the way
KRunStates and Transitions are constructed in JavaSymbolicExecutor. The
only new classes this diff should have to introduce are RewriteRelation,
JavaBackendKRunState, and JavaBackendTransition. The later two classes
should extend KRunState and Transition and implement only one method, which
is respectively getRawResult and getRule. This should be able to be done in
a fairly small diff, rather than having to introduce a number of new
classes and constructs, not to mention significantly altering the interface
of the rewriter.
—
Reply to this email directly or view it on GitHub<
https://github.com/kframework/k/pull/1295#issuecomment-69359959>.
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/pull/1295#issuecomment-69425467.

Alright, thanks for the clarification, Dwight. Let us get this thing merged first, and then we will re-discuss the big picture.  To me, the incorporation of KORE everywhere and the debugger interface are two of the most important features of K that I'd like to see incorporated as soon as possible.  However, considering that I start teaching CS422 in 10 days or so, making the most of our existing debugging capability is the best we can do.
Thanks,
Grigore

From: dwightguth<EMAIL_ADDRESS>Sent: Friday, January 09, 2015 10:19 PM
To: kframework/k
Cc: Rosu, Grigore
Subject: Re: [k] Refactoring - Lazy conversion of Backend Specific Kil to Generic Kil and Graph option in step/resume (#1295)
So, what I'm talking about is not actually the conceptual design; the
conceptual design in this diff is pretty much about what I am aiming for,
and it achieves all the types of separation you are talking about (in fact,
the lazy interpretation of backend terms is the last piec; we already have
a good rewrite engine and debugging api that supports the potential for
multiple backends and frontends).
The problem with this diff is at a lower level than that: it has bad class
design. Essentially, instead of being a simple, non-intrusive change which
provides a minor extension of capabilities beyond what is already there, it
upends the entire interface for rewriting in the java backend and uses half
a dozen new classes and hundreds of lines of poorly designed code to do the
same work that is already being done by the system we have now. It's not
that the design itself is wrong; the design of the implementation is just
all wrong.
I am working with Manasvi to make sure we get it right this time before any
further coding is done. He is going to submit a class design for feedback
to me tomorrow and we will iterate feedback until it matches what I have in
mind. I agree, enough time wasting.
On Jan 9, 2015 6:24 PM, "Grigore Rosu"<EMAIL_ADDRESS>wrote:

I insist that we need to nail down the two interfaces ASAP. One is the
rewrite engine interface and the other is the debugger interface. Then
different backends can be connected with the generic K debugger provided
they implement the rewrite engine interface (e.g., Maude, or OCAML, or the
forthcoming LLVM one), and various observers/shells for the debugger (e.g.,
textual, graphical, IDE, etc.) can co-exist provided that they implement
the interface of the debugger. Probably Dwight is saying the same thing,
but I just want to re-iterate the importance of nailing down these
interfaces. It is like making a plan before a complex operation. It is a
must, to avoid mistakes and wasted time.
Grigore

From: dwightguth<EMAIL_ADDRESS>Sent: Friday, January 09, 2015 10:38 AM
To: kframework/k
Subject: Re: [k] Refactoring - Lazy conversion of Backend Specific Kil to
Generic Kil and Graph option in step/resume (#1295)
This is not at all the design that I had in mind. The idea was to make
KRunState and Transition be abstract classes in which the getters which
returned the KIL terms were abstract. Then the java backend would be able
to exist largely unchanged except for the very minor alteration which
accumulates the graph as you rewrite, and a quite small change to the way
KRunStates and Transitions are constructed in JavaSymbolicExecutor. The
only new classes this diff should have to introduce are RewriteRelation,
JavaBackendKRunState, and JavaBackendTransition. The later two classes
should extend KRunState and Transition and implement only one method, which
is respectively getRawResult and getRule. This should be able to be done in
a fairly small diff, rather than having to introduce a number of new
classes and constructs, not to mention significantly altering the interface
of the rewriter.
—
Reply to this email directly or view it on GitHub<
https://github.com/kframework/k/pull/1295#issuecomment-69359959>.
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/pull/1295#issuecomment-69425467.

—
Reply to this email directly or view it on GitHubhttps://github.com/kframework/k/pull/1295#issuecomment-69439715.


v0.8.5_10: “Color” option is missing in the options.

SUMMARY:

“Color” option is missing in the options.
“Bubble size scale bar” is missing in the options.

SEVERITY:  Major
MODULE:  Bubble Chart
Platform:

Windows 7 / Chrome 48.0
Windows 7 / Firefox  42.0
MAC / Safari 8.1
iPad Air 2 iOS(9.1) / Safari
Nexus-5 (6.0) / Chrome
Nexus 9 (5.0.2) / Chrome

RELEASE: v0.8.5
STEPS TO REPRODUCE:

Navigate to the URL : http://static.gapminderdev.org/vizabi/release/v0.8.5/preview/bubblechart.html
“Bubble Chart” page will be loaded.
Click on “Options” icon.
A pop-up of “Options” will display on the screen.
Note that “Color” option and “Bubble size scale” is missing in the pop-up.

ACTUAL RESULTS:
“Color” option and “Bubble size scale bar” is missing in the options.
EXPECTED RESULTS:
“Color” option and “Bubble size scale bar” should not be missing in the options.
SCREENSHOT:

Styling should be updated later

it's not about styling, it's about content
umar was missing “color” from the "more options” menu. i removed color some time ago, because it fully replicates the color dialog that we have anyway. but what if the color button is not visible because it doesn’t fit? should it then be under more options? in that case, should more options include all possible dialogs? that would be a long-long list
and would look very confusing

Quote from Arthur, paraphrasing Ola
The dev flow of dialogues should follow something like this:

We need UI controls for feature X
Add the controls to more-options FIRST
Is it a useful control for most people? If so, add a specific dialogue for it, simplified with only the most common selectors.

I agree we should in this case redesign (more-)options because in the current form it will grow into something very ugly ; )


BUG: sign memory probe to detect freed memory

I have modified the memory probe test to illustrate the problem. The test fails without the proposed modification of itkMemoryProbe.h. This problem had actually been reported a long time ago in Jira by @cyrilmory but I don't know if we have access to the former bug tracker...

PR Checklist

[X] :no_entry_sign: Makes breaking changes
[X] :no_entry_sign: Makes design changes
[X] :no_entry_sign: Adds the License notice to new files.
[X] :no_entry_sign: Adds Python wrapping.
[X] :no_entry_sign: Adds tests and baseline comparison (quantitative).
[X] :no_entry_sign: Adds test data.
[X] :no_entry_sign: Adds Examples to ITKExamples
[X] :no_entry_sign: Adds Documentation.

Refer to the ITK Software Guide for
further development details if necessary.

Thanks for addressing this @SimonRit !


WIP: Pod toleration based on CPU and memory

Doing a slight refactoring and fixing unit tests.

Slightly refactored the existing affinity and toleration tests for accelerator deco, to also test tolerations for large pod. Moved this test into separate file due to its nature (it's unit test not integration test).


storage: Modify rawkv interfaces for API V2 encoding

What is changed and how it works?

Issue Number: ref #11965
What's Changed:
Modify rawkv interfaces for API V2 encoding.
Refer to RFC:

https://github.com/pingyu/tikv-rfcs/blob/rfc_api_v2_pd/text/0069-api-v2.md (https://github.com/tikv/rfcs/pull/79)
https://github.com/pingyu/tikv-rfcs/blob/rawkv-cdc/text/0083-rawkv-cross-cluster-replication.md (https://github.com/tikv/rfcs/pull/86)

NOTE: components/api_version changes based on #12072 #12099 #12087. DO NOT be merged before  #12072 #12099 #12087.

Modify rawkv interfaces for API V2 encoding.

Related changes
No.
Check List
Tests

Unit test
Integration test

Side effects
No.
Release note
Modify rawkv interfaces for API V2 encoding.

/cc @andylokandy @zeminzhou @haojinming @ystaticy

/cc @BusyJay @Connor1996

/cc @BusyJay @Connor1996

PTAL, thanks~

/run-all-tests

File another PR #12343 and close this.


Make this medium and add small and large

This medium-sized project includes a common subproject.  Make a small version without it.  For a large version, add a webapp.

This was addressed with #6.


Support consistent hash load balance when gerenic invoke

What is the purpose of the change
Support consistent hash load balance when gerenic invoke
Brief changelog
For generalization calls, the toKey function in org.apache.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalance has been changed

This PR will fix #10774

Codecov Report

Merging #10799 (5fd5711) into 3.1 (0976a0c) will decrease coverage by 2.49%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##                3.1   #10799      +/-   ##
============================================
- Coverage     67.06%   64.56%   -2.50%
+ Complexity      520      468      -52
============================================
  Files          1342     1336       -6
  Lines         64627    56957    -7670
  Branches      10808     8400    -2408
============================================
- Hits          43341    36775    -6566
+ Misses        17004    16228     -776
+ Partials       4282     3954     -328

Impacted Files
Coverage Δ

...cluster/loadbalance/ConsistentHashLoadBalance.java
90.69% <50.00%> (-1.99%)
:arrow_down:

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-46.67%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
15.38% <0.00%> (-38.65%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

...pache/dubbo/common/function/ThrowableFunction.java
71.42% <0.00%> (-28.58%)
:arrow_down:

.../remoting/api/SingleProtocolConnectionManager.java
61.53% <0.00%> (-23.08%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-19.67%)
:arrow_down:

... and 179 more

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

Please add some uts to verify this

What is your uts referring to?

Please add some uts to verify this

Do you mean that I have to do a test and construct a lot of invocations to see if load balancing is really achieved?

Please add some uts to verify this

Do you mean that I have to do a test and construct a lot of invocations to see if load balancing is really achieved?

It is enough to check that the parameters have been obtained correctly.


feat: use a preload script instead of enabling nodeIntegration

Per https://github.com/electron/electron/pull/18045#pullrequestreview-231912547
If this is approved, I'll file a PR for the Electron docs as well.

@codebytere @MarshallOfSound anything blocking this?

We may have other future plans for making this a more extensible example, but yes for now it's better in that it's more secure by default. Thanks for bringing this back into my purview!


show title when the user tap on it

hi,
I'm wondering if it is possible to show the title when the user tap on it rather than type something?

Hey, there is a few thing you can do to make the title visible. Best result imo, is if you implement the two delegate methods for textFieldDidBeginEditing(_ textField: UITextField) and textFieldDidEndEditing(_ textField: UITextField). You can use this method to hide or show the title. Here is an example to show the title, set the completion to nil make it stay, and hide the title again if needed in textFieldDidEndEditing(_ textField: UITextField)

FYI, the link to that method and examples take me to the wrong place. I think I figured it out anyway. I call setTitleVisible(true) in textFieldDidBeginEditing. But now I have the title twice - one as the placeholder and the small one above it. How do I get it to just show the small one above, and have the placeholder blank?


BUG: Error in SHop Section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In shop section, after discount amount should be less then the original price

Here, after discount, the price is higher than the original price
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

/assign @Anushkabh

Hello @katarianikita2003 !
Currently this is just a mock data, this isnt the original data we are dealing with rn.
Keep looking for more issues in the repo.
Happy Coding ✨


DF templates: pf2e intergration

Is your feature request related to a problem? Please describe.
i would love for this to take into account the pf2e templates

https://2e.aonprd.com/Rules.aspx?ID=354
Describe the solution you'd like
id like to know if this works with the current system for pf23
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context (Optional)
Add any other context or screenshots about the feature request here.

I wrote up the specifics of how being too greedy (50% covered rule) produces incorrect rules in a feature request for another module, the examples are also relevant here: https://github.com/theripper93/Smart-Target/issues/52

Okay, ripper's apparently uninterested, so you're now my main hope here.


Port #976

And fix clippy warnings along the way...

Thanks!

Yes all better now, thanks! Just too occupied at the moment to get my head down on new-api again. Will get back at it later again.

It's all good. I've started to play around with writing a proper "AudioPipline" still in the spitballing phase.


Return maps instead of entities from rank-jobs

Do you have a sense what the performance implications are?

After testing with the simulator, the rank/schedule cycle is about 10% faster with maps. Additionally, the memory usage should be much better.


It is impossile to add new paragraphs after a preblock within same region

So once you have a <pre> block as last element in the region, its impossible to add new paragraphs after that, unless i convert the pre to a paragraph, hit enter to create new paragraph, and convert the previos paragraph back to pre
http://screencast.com/t/OtOYdA9NGhQB

From the demo page docs:

Pre-formatted blocks of text can be converted back to standard text using the paragraph tool, however if you have a pre-formatted section of text and want to add a new paragraph after it you can hold down the ctrl key (command on Apple) whilst clicking the paragraph tool to achieve this.

Oh yes, missed it, Thanks for the quick reply, and sorry for bombarding with issues.

Hi @snimavat - not a problem, glad to see your using the library :)

Contenttools is the best thing i found.. way much nicer then the bulky editors. Just love it.
I am doing a simple integration with grails, along with backend to create pages / serve pages / templating etc.
Will put it on mygithub and upate here, just incase anyone can benifit.


[✨] Enhanced Error Overlay [DX]

Is your feature request related to a problem?
Enhance the current error overlay to increase DX
Describe the solution you'd like
Astro v2 just launched a new error overlay which provides additional informationen and a cleaner overview. To implement a custom overlay we would need to "opt-out" of the vite provided web component (vite-error-overlay) and create a custom solution.
things we could included if we want to implement this:

qwikified look and feel (use qwik colors, fonts ,etc)
show more lines of code in the trace
highlight the row that contains the error
reference the docs for certain issues
"open in editor" link instead of the current file path link

Describe alternatives you've considered
Keep the existing one and lower the maintenance work 😄
Additional context
No response

Imo the error overlay is pretty good, astro 2 is a nice CSS, but the heavy work is in improving the error itself, not the overlay.
Vite overlay can be styled!
https://github.com/vitejs/vite/pull/10234
PR welcome!

@manucorporat still WIP and guess i'd need more exposures from the vite side, but do you have already some feedback?
current

wip

@manucorporat can you maybe point out how i would be able to add the new css on ssr error pages? as far as i can see it is all vite internal. the errorMiddleware() gets called which generates the html incl. a script tag which then instanciates the ErrorOverlay. I don't see any options to overwrite the middleware or load a "global" css file to apply the style changes. hope you have an idea for that 🙏
markup received from the server on an ssr error case:
        <!DOCTYPE html>
        <html lang="en">
          <head>
            <meta charset="UTF-8" />
            <title>Error</title>
            <script type="module">
              import { ErrorOverlay } from '/@vite/client'
              document.body.appendChild(new ErrorOverlay({"message":"Unexpected token `div`. xxxxxxx"}))
            </script>
          </head>
          <body>
          </body>
        </html>


Helm Chart Deployment Doesn't Reload Configuration Changes

When I deploy a new version version of the Explorer helm chart with an updated configuration, I expect the Deployment to be restarted with the new configuration. But this does not happen.
I think the reason is that the Explorer Helm chart sets up a ConfigMap containing a settings.env.py  file, which is mounted into the running Pods. ConfigMap mounts can be updated dynamically, without restarting the Pods, but Datacube Explorer doesn't seems to support live reloading of it's configuration when a file changes.

Datacube Explorer doesn't seems to support live reloading of it's configuration when a file changes

I think this is a feature of gunicorn.
# Send a `HUP` signal to the gunicorn master to reload the Flask configuration
# See https://docs.gunicorn.org/en/stable/signals.html#master-process
ps -ef | grep gunicorn  # Get the process ID for "gunicorn: master [cubedash:app]"
kill -HUP $PID  # Send the signal

Its the limitation of Kubernetes deployment, the potential solution here: https://github.com/stakater/Reloader

https://github.com/opendatacube/datacube-charts/blob/master/stable/datacube-explorer/templates/deployment.yaml#L24-L27
https://github.com/helm/helm/issues/2639
setting checksum could solve this


SSR support?

Hi! Thanks for this package!
I'd like to ask about SSR support as I cannot get this package to work within Nuxt.js SSR context.
Do you have any idea on how to make that work?

It should work with Nuxt, but there is some configuration you need to do for any vue plugin to work with Vuex, here is a comment with details.
https://github.com/tochoromero/vuejs-smart-table/issues/2#issuecomment-480504795


Define own entityId

Awesome package this is! ❤
Is there a way to define an own entityId?
I see there is a methode generateId()
that is automatically called on Schema construction.
I would like to pass an existing generated id from an auth service or something similar.

There is.
  class MySchema extends Schema {
    generateId() {
      return myIDGeneratorFunc(); // <<<
    }
  }

Actually, there is a configuration option when you create your schema to override the ID generation. It's documented here: https://github.com/redis/redis-om-node/blob/main/docs/README.md#schemaoptions.
The tl;dr:
let schema = new Schema(SomeEntity, {
  foo: { type: 'string' },
  bar: { type: 'number' }
}, {
  idStrategy: myIDGeneratorFunc
})

That's really cool. I have read the main Readme, but have yet to dive into all the extended docs.

Yes that did the job. I was only passing a string before.
const idGen = (): string => "CHECK|123";
let schema = new Schema(
...
  {
    dataStructure: "JSON",
    idStrategy: idGen,
  }
);

Just came across this, I want to assign my own ID so used the entity constructor like this:
const post = new Post(PostSchema, 'my-post', postData)
const id = await repository.save(post)
// id === 'my-post'

T

Just came across this, I want to assign my own ID so used the entity constructor like this:
const post = new Post(PostSchema, 'my-post', postData)
const id = await repository.save(post)
// id === 'my-post'

This doesn't work, TypeError: Class constructor Entity cannot be invoked without 'new'


Clarification - Line of sight required periodically

How To: Plan your hybrid Azure Active Directory join implementation
Regarding the following statement " Hybrid Azure AD joined devices require network line of sight to your domain controllers periodically. Without this connection, devices become unusable."
Can you please state if line of site is still true for a hybrid device that are Intune joined? What if password write back in enabled? Also, if this is true, how long is "periodically"?  My customer does not have a VPN but would a VPN satisfy this?

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

ID: 72cdc251-618a-e84e-f40d-960b0ac69f99
Version Independent ID: 8cbaba3c-e883-2c71-28fb-f88db3fcaf7d
Content: Plan hybrid Azure Active Directory join - Azure Active Directory
Content Source: articles/active-directory/devices/hybrid-azuread-join-plan.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@kenkinkopf
Thanks for your feedback! We will investigate and update as appropriate.

Needed for password change just the same as a traditional Domain Joined PC.

Also mentioned in the doc already https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/active-directory/devices/hybrid-azuread-join-plan.md#prerequisites

Scenarios that break without line of sight to your domain controllers:
Device password change
User password change (Cached credentials)
TPM reset

#please-close

#reassign:@MicrosoftGuyJFlo


Add Contributing.md file

A contributing.md documentation is required for contributors to contribute seamlessly without much trouble and get headstart to beginners. Please assign me this issue under SSOC

Hey @Avdhesh-Varshney ,
The CONTRIBUTING file is essential for fostering a collaborative and inclusive environment within an open-source project. Here's why it's important:
Guidance for Contributors: The CONTRIBUTING file outlines guidelines and best practices for individuals who want to contribute to the project. It provides clear instructions on how to submit bug reports, suggest new features, or contribute code, making it easier for newcomers to get involved.
Code of Conduct: Many CONTRIBUTING files include a code of conduct that sets expectations for behavior and interaction within the project's community. This helps maintain a respectful and welcoming environment for all contributors, regardless of their background or experience level.
Contribution Workflow: The CONTRIBUTING file often details the contribution workflow, including how to fork the repository, create branches, submit pull requests, and interact with project maintainers. This streamlines the process for contributors and ensures that their contributions are properly reviewed and integrated into the project.
Kindly assign this issue to me under GSSoC'24

@Priyanshu2631 Check other issues regards issue topic before creation. It is already closed. So leave it and focus on the code contribution not on non-code part in this repository,


EventHub Binding does not resolve Event Custom Properties in case cardinality "one" and EventMessage contains a properties field on the first level

Investigative information
It seems like the EventHub binding cannot correctly parse the Custom Properties of an Event if the message body contains a "properties" object.
Message that is send in the ServiceBusExplorer

Function that recieves the message with wrongly set context.bindingData.properties that are filled in from the Message Body

This only happens if the cardinality is set to "one". in the case of "Cardinality": "many" the context.bindingData.properties is replaced with context.bindingData.propertiesArray and are filled correctly from the Custom Properties Field
Repro steps
Create an EventHub message with Custom Properties that contains a properties object inside the message. Additionally set Cardinality in the function.json to "one"
Expected behavior
Message send with renamed message property properties to prop.

context.bindingData.properties are set correctly

Context
The issue there is, the field properties in the Message cannot be changed, because the message is created by the IoT Hub Message Routing. Therefore changing the body is not trivial.

I'm cleaning up GitHub issues and confirmed this still repros for me in model v4. My guess is there's nothing we can do about this on the Node.js side - the issue is probably upstream from us


database backend

what database are we using?
does it have to be in node.js or can it just provide an API link and use another language
it needs doing in general

One of the things we need to consider when developing csblogs is the availability of documentation. With something as crucial as the database it is vital that the language/runtime (node.js) and the hosting solution (Microsoft Azure) both blend with it well.
Azure has a lot of documentation about using the MongoDB "NoSQL" database. I think we should look into using that, if for only that reason alone.
Here is one such article: http://azure.microsoft.com/en-gb/documentation/articles/store-mongolab-web-sites-nodejs-store-data-mongodb/

After much research we've decided we're using MongoDB with the Mongoose ORM


Focus Mode screenshots for Sources tool

entering in new focus mode images

Docs Build status updates of commit 6ce6454:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/sources/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2081cdc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/media/navigator-pane.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/sources/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0faaabb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/media/navigator-pane.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/sources-panes-narrow-layout.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/sources-panes-wide-layout.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/sources/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 9da825f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/media/navigator-pane.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/sources-filesystem-tab.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/sources-page-tab.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/sources-panes-narrow-layout.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/sources-panes-wide-layout.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/sources/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


The ability to disable icons for scripts

Please add the ability to change the display of icons for scripts via the menu. Both for automatically adding icons when creating scripts, and the ability to add/remove icons in bulk from existing scripts.

Fixed in #26b921262284d58b0c6ebe2d891d199f8a61592e


Appium integration

https://github.com/Codeception/CodeceptJS/issues/222
not ready to merge

w....o....w....!!!

Btw, I was thinking on creating Appium helper that will extend WebDriverIO. Probably it can be used to for the methods which can be used for Appium (mobile) only, so not to mix them into web part. However, I can be wrong in this idea.

:+1:

Thanks very much for Codecept JS, using and enjoying.
Any progress on Appium integration...or a mobile testing alternative (that doesn't require a cloud based provider like Sauce Labs)?

Any progress on Appium integration...

I think this branch is working according to @APshenkin
However, I can't merge it yet as it require 2-3 days of my work to add testing suite for this, write documentation, etc

That makes sense.  I may be able to get some company time to help with the test suite and documentation, if that's useful.  Any specific tests that need to be written...beyond fixing the CI failures?

👍

Migrate to https://github.com/Codeception/CodeceptJS/pull/541


Initialise all events list

Codecov Report

Merging #61 (9f0d89a) into master (f88b7b2) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #61      +/-   ##
============================================
- Coverage     30.16%   30.08%   -0.09%
  Complexity      399      399
============================================
  Files           165      165
  Lines          2947     2955       +8
  Branches        304      305       +1
============================================
  Hits            889      889
- Misses         2026     2034       +8
  Partials         32       32

Impacted Files
Coverage Δ

src/main/java/seedu/travelr/model/AddressBook.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/travelr/model/ModelManager.java
0.00% <0.00%> (ø)

...u/travelr/storage/JsonSerializableAddressBook.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Not able to connect to AKS Kubernetes dashboard

[Enter feedback here]
I follow instruction on below page but not able to get AKS Dashboard, I used to able to connect through those steps but getting below error
https://docs.microsoft.com/en-us/azure/aks/kubernetes-dashboard
Error as Below,
error: failed to create clusterrolebinding: clusterrolebindings.rbac.authorization.k8s.io "kubernetes-dashboard" already exists
I tried to delete and create new dashboard but still not able to connect

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

ID: 2ba1dad2-9792-2a7b-cdb6-68da0524cff3
Version Independent ID: 42736112-f6db-d241-e89b-48fd2c35ceb7
Content: Manage an Azure Kubernetes Service cluster with the web dashboard - Azure Kubernetes Service
Content Source: articles/aks/kubernetes-dashboard.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the question. We are currently investigating and will update you shortly.

do we have any update on this @Karishma-Tiwari-MSFT

We will now close this issue. If you are still seeing this issue, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


No data in Grafana

Hey,
iam trying to setup this tool.
Everything is working fine, the database connection is working, the data source in grafana is working but there is no displayed data in grafana it self.

Logs of fritzinfluxdb:
2022-02-20 17:35:46,048 - INFO: Starting main loop
2022-02-20 17:03:38,052 - INFO: Successfully connected to FritzBox
2022-02-20 17:35:44,435 - INFO: Program terminated. Signal 15
2022-02-20 17:03:38,053 - INFO: Starting main loop
2022-02-20 17:35:44,953 - INFO: Done parsing config file
2022-02-20 17:35:44,956 - INFO: Connection to InfluxDB established and database present
2022-02-20 17:35:46,048 - INFO: Successfully connected to FritzBox
Logs of influxdb 1.8
"POST /write?db=fritzbox&precision=ms HTTP/1.1 " 204 0 "-" "python-requests/2.27.1" 6449f254-9274-11ec-8246-0242ac110005 7306

Hi, this dashboard does not look correct.
did you use this one?: https://github.com/karrot-dev/fritzinfluxdb/blob/master/grafana_dashboard_fritzbox.json


Install node package as editable

npm link when inside a repo will install all dependencies locally and create a global link to itself
To unlink you need to specify name npm unlink name, this will remove global link
You can link as many repos as you want, they don't override like that one package maker said
npm link name will link a package to local modules.

If package exists globally then that will be used
If not it will install package from npmjs.com

Path example: .\..\..\..\..\Users\ricka\AppData\Roaming\npm\node_modules\genlibrary

Workflow could work something like this

Create a node_modules at repos level
Iterate node repo working dirs and do npm link

Since there is a parent node_module I think it wont create a new node_module in cwd
Not sure how to create the empty node_module to get started, as an empty folder enough

Go into repos node_modules and call npm link name for every repo

Comparing difference of npm install ./name and link

Install creates package.json and package-lock.json next to node_modules.
It adds   "name": "repos", to the top of the package-lock.json that is /inside/ node_modules (there are two and both install and link has it)
The one inside node_modules had around half of the lines of that of the one next to it (for install)

Cannot deduce what caused the difference

Calling npm install / link name and name exists in cwd will install that local package, but not it's dependencies??
Cannot find why that is. Let's stick with npm install / link ./name

npm install C:\Python\general\repos\genvector becomes '--<EMAIL_ADDRESS>-> .\genvector so we can don't need to bother with prefixing relative paths with ./ which would only work when node_modules was above package anyway

All this testing was done on v16, updated to v18 now

https://github.com/ManderaGeneral/generalpackager/commit/16102d899b0ed6047933bcdfa0a639ae4d3474bb


chore: move firecracker bits to dedicated library

This creates an si-firecracker library and moves all of the local_uds-specific work into it. None of the behavior is different, I'm just moving things around. I have a long-term goal to start moving the bash bits into rust, so this will make that change easier later.

bors try

bors merge

bors cancel

bors merge


Broken navigation

The section "Line" is not available in the navigation (Home/Admin/Line/Tilesets). It should be "Junior" instead (where Junior is the selected competition name). Throws 404 otherwise.
Not Found
404
Error: Not Found
at /var/www/html/rcj-rescue-scoring/app.js:141:13
at Layer.handle [as handle_request] (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:269:13)
at /var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:236:9
at Function.proto.process_params (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:311:12)
at /var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:227:12
at Function.match_layer (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:294:3)
at next (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:188:10)
at /var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:190:16
at Function.match_layer (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:294:3)
at Immediate.next (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:188:10)
at Immediate. (/var/www/html/rcj-rescue-scoring/node_modules/express/lib/router/index.js:568:15)
at runCallback (timers.js:674:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)

The problem here is that the tileset does not belong to any competition (in your case Junior) so the competition name is not available on this page.
However a 404 is not correct either.
Suggestions? :)

The tile set page is a subpage of any competition, but it is always the same page.
I see this options:

The redirection depends on the context (if coming from Competition A to the tileset view then you should be able to go back to Competition A in the navigation).
Link the tileset page at this page and not under the competitions:

This is logical as the tilepages do not depend on any competition.
connect the tilesets to a competition, but I don't think that makes sense.
I'd go for option 1 or 2, depending on what is easier to implement.

2 is easiest. I will fix it.

Fixed in commit #c01282a230ce5971d23fc7708c34714beea0ea90


fixed background color

Hi, I was having problems with highlighting using todo-comments #59
So I took a look at the color section for the todo-comments and fixed it.
before

after

Sweet thanks for the fix! ☺


More accurate time

https://github.com/lewiswatson55/Lost-Inspired-Countdown-Python-Program/issues/6
Also...another good module for this purpose is rsalmei/about-time!

I have updated the module im using for calculating the time, thank you!


modify readme.md

edit readme so that it has the names of all the sorting algorithms that are in the repo
perhaps links to files with descriptions of each?

@hadshirt Can i work on the readme documentation?

@hadshirt Can i work on the readme documentation?

sure, go for it

Hiyah!
I added to the readme and created a pull request! :)