[QST]Stuck at DataLoader Step

❓ Questions & Help
Details

Hi,
What does input data look like? Currently, I have sessions based data in Pandas DataFrame. I am following RecSys 21 tutorial and currently stuck at 8th cell of this notbook at data loading step. How do I go from having data in Pandas DataFrame to be able to load it in the library for training?
Note: At the moment, I don't have GPU access and I can't get cudf installed on my SageMaker Studio notebook. I want to execute Transformers4Rec on CPU.

@sumitsidana you can preprocess your raw  df  with NVTabular library on CPU and save the processed files as parquet as demonstrated here in this example Once you save the processed df as parquet file, you can then feed it easily to the model as directed in the 03-Session-based-recsys.ipynb nb.
if you already created sequential features with pandas,  just save your pandas dataframe as parquet, and run the cells in the 03-Session-based-recsys.ipynb nb.

Thank you @rnyak for your support. I will try what you said using Pandas. It would also be nice if I can install cudf on SageMaker studio. Even with active AWS support, we haven't managed to install cudf and thus can't actively used NVTabular library.

@sumitsidana if you'll have access to GPU on Sagemaker you can use Merlin containers which have cuDF, NVTabular, Transformers4Rec, Merlin Models, Merlin core etc.  Please visit this page:
https://catalog.ngc.nvidia.com/containers?filters=&orderBy=dateModifiedDESC&query=merlin
docker pull nvcr.io/nvidia/merlin/merlin-pytorch-training:22.04

Or you can refer to conda installation on AWS SageMaker instructions here:
https://github.com/NVIDIA-Merlin/NVTabular/blob/main/docs/source/resources/cloud_integration.md#aws-sagemaker

@sumitsidana are you still stuck at the data loader step? did the answer above help?

Hi @rnyak yes, indeed, your answer has been helpful. But, I am at stuck at the step where I have to use pyarrow. I am not sure, where I have to replace that. If you could provide an example of that, it would be helpful. But, otherwise, I don't have access to GPU at the moment.

@rnyak the above issue related to pyarrow was solved. I am stuck on a different error during the training now.

@sumitsidana can you please share your error and your code? thanks.

Hi @rnyak ,
I am getting the following error:
***** Running training *****
  Num examples = 1000192
  Num Epochs = 3
  Instantaneous batch size per device = 256
  Total train batch size (w. parallel, distributed & accumulation) = 256
  Gradient Accumulation steps = 1
  Total optimization steps = 11721
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<timed exec> in <module>

/opt/conda/lib/python3.7/site-packages/transformers/trainer.py in train(self, resume_from_checkpoint, trial, ignore_keys_for_eval, **kwargs)
   1420                         tr_loss_step = self.training_step(model, inputs)
   1421                 else:
-> 1422                     tr_loss_step = self.training_step(model, inputs)
   1423
   1424                 if (

/opt/conda/lib/python3.7/site-packages/transformers/trainer.py in training_step(self, model, inputs)
   2009
   2010         with self.autocast_smart_context_manager():
-> 2011             loss = self.compute_loss(model, inputs)
   2012
   2013         if self.args.n_gpu > 1:

/opt/conda/lib/python3.7/site-packages/transformers/trainer.py in compute_loss(self, model, inputs, return_outputs)
   2041         else:
   2042             labels = None
-> 2043         outputs = model(**inputs)
   2044         # Save past state if it exists
   2045         # TODO: this needs to be fixed and made cleaner later.

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/trainer.py in forward(self, *args, **kwargs)
    786     def forward(self, *args, **kwargs):
    787         inputs = kwargs
--> 788         return self.module(inputs, *args)

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/model/base.py in forward(self, inputs, training, **kwargs)
    520         outputs = {}
    521         for head in self.heads:
--> 522             outputs.update(head(inputs, call_body=True, training=training, always_output_dict=True))
    523
    524         if len(outputs) == 1:

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/model/base.py in forward(self, body_outputs, training, call_body, always_output_dict, **kwargs)
    386
    387         if call_body:
--> 388             body_outputs = self.body(body_outputs, training=training)
    389
    390         for name, task in self.prediction_task_dict.items():

/opt/conda/lib/python3.7/site-packages/transformers4rec/config/schema.py in __call__(self, *args, **kwargs)
     48         self.check_schema()
     49
---> 50         return super().__call__(*args, **kwargs)
     51
     52     def _maybe_set_schema(self, input, schema):

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/block/base.py in forward(self, input, training, **kwargs)
    149
    150             elif "training" in inspect.signature(module.forward).parameters:
--> 151                 input = module(input, training=training)
    152             else:
    153                 input = module(input)

/opt/conda/lib/python3.7/site-packages/transformers4rec/config/schema.py in __call__(self, *args, **kwargs)
     48         self.check_schema()
     49
---> 50         return super().__call__(*args, **kwargs)
     51
     52     def _maybe_set_schema(self, input, schema):

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/tabular/base.py in __call__(self, inputs, pre, post, merge_with, aggregation, *args, **kwargs)
    379
    380         # This will call the `forward` method implemented by the super class.
--> 381         outputs = super().__call__(inputs, *args, **kwargs)  # noqa
    382
    383         if isinstance(outputs, dict):

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/features/sequence.py in forward(self, inputs, training, **kwargs)
    249
    250     def forward(self, inputs, training=True, **kwargs):
--> 251         outputs = super(TabularSequenceFeatures, self).forward(inputs)
    252
    253         if self.masking or self.projection_module:

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/tabular/base.py in forward(self, inputs, training, **kwargs)
    591         outputs = {}
    592         for layer in self.merge_values:
--> 593             outputs.update(layer(inputs))
    594
    595         return outputs

/opt/conda/lib/python3.7/site-packages/transformers4rec/config/schema.py in __call__(self, *args, **kwargs)
     48         self.check_schema()
     49
---> 50         return super().__call__(*args, **kwargs)
     51
     52     def _maybe_set_schema(self, input, schema):

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/block/base.py in forward(self, input, training, **kwargs)
    151                 input = module(input, training=training)
    152             else:
--> 153                 input = module(input)
    154
    155         return input

/opt/conda/lib/python3.7/site-packages/transformers4rec/config/schema.py in __call__(self, *args, **kwargs)
     48         self.check_schema()
     49
---> 50         return super().__call__(*args, **kwargs)
     51
     52     def _maybe_set_schema(self, input, schema):

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/tabular/base.py in __call__(self, inputs, pre, post, merge_with, aggregation, *args, **kwargs)
    383         if isinstance(outputs, dict):
    384             outputs = self.post_forward(
--> 385                 outputs, transformations=post, merge_with=merge_with, aggregation=aggregation
    386             )
    387

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/tabular/base.py in post_forward(self, inputs, transformations, merge_with, aggregation)
    341             schema = getattr(self, "schema", None)
    342             _aggregation.set_schema(schema)
--> 343             return _aggregation(outputs)
    344
    345         return outputs

/opt/conda/lib/python3.7/site-packages/transformers4rec/config/schema.py in __call__(self, *args, **kwargs)
     48         self.check_schema()
     49
---> 50         return super().__call__(*args, **kwargs)
     51
     52     def _maybe_set_schema(self, input, schema):

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1108         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1109                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1110             return forward_call(*input, **kwargs)
   1111         # Do not call functions when jit is used
   1112         full_backward_hooks, non_full_backward_hooks = [], []

/opt/conda/lib/python3.7/site-packages/transformers4rec/torch/tabular/aggregation.py in forward(self, inputs)
     45             tensors.append(val)
     46
---> 47         return torch.cat(tensors, dim=-1)
     48
     49     def forward_output_size(self, input_size):

NotImplementedError: There were no tensor arguments to this function (e.g., you passed an empty list of Tensors), but no fallback function is registered for schema aten::_cat.  This usually means that this function requires a non-empty list of Tensors, or that you (the operator writer) forgot to register a fallback function.  Available functions are [CPU, CUDA, QuantizedCPU, BackendSelect, Python, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradLazy, AutogradXPU, AutogradMLC, AutogradHPU, AutogradNestedTensor, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, AutocastCPU, Autocast, Batched, VmapMode, Functionalize].

CPU: registered at aten/src/ATen/RegisterCPU.cpp:21063 [kernel]
CUDA: registered at aten/src/ATen/RegisterCUDA.cpp:29726 [kernel]
QuantizedCPU: registered at aten/src/ATen/RegisterQuantizedCPU.cpp:1258 [kernel]
BackendSelect: fallthrough registered at ../aten/src/ATen/core/BackendSelectFallbackKernel.cpp:3 [backend fallback]
Python: registered at ../aten/src/ATen/core/PythonFallbackKernel.cpp:47 [backend fallback]
Named: registered at ../aten/src/ATen/core/NamedRegistrations.cpp:7 [backend fallback]
Conjugate: registered at ../aten/src/ATen/ConjugateFallback.cpp:18 [backend fallback]
Negative: registered at ../aten/src/ATen/native/NegateFallback.cpp:18 [backend fallback]
ZeroTensor: registered at ../aten/src/ATen/ZeroTensorFallback.cpp:86 [backend fallback]
ADInplaceOrView: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:64 [backend fallback]
AutogradOther: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradCPU: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradCUDA: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradXLA: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradLazy: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradXPU: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradMLC: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradHPU: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradNestedTensor: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradPrivateUse1: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradPrivateUse2: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
AutogradPrivateUse3: registered at ../torch/csrc/autograd/generated/VariableType_3.cpp:11380 [autograd kernel]
Tracer: registered at ../torch/csrc/autograd/generated/TraceType_3.cpp:11220 [kernel]
AutocastCPU: fallthrough registered at ../aten/src/ATen/autocast_mode.cpp:461 [backend fallback]
Autocast: fallthrough registered at ../aten/src/ATen/autocast_mode.cpp:305 [backend fallback]
Batched: registered at ../aten/src/ATen/BatchingRegistrations.cpp:1059 [backend fallback]
VmapMode: fallthrough registered at ../aten/src/ATen/VmapModeRegistrations.cpp:33 [backend fallback]
Functionalize: registered at ../aten/src/ATen/FunctionalizeFallbackKernel.cpp:52 [backend fallback]

When running:
%%time
start_time_window_index = 1
final_time_window_index = 2
for time_index in range(start_time_window_index, final_time_window_index):
    # Set data
    time_index_train = time_index
    time_index_eval = time_index + 1
    train_paths = glob.glob(os.path.join(OUTPUT_DIR, f"{time_index_train}/input.parquet"))
#     eval_paths = glob.glob(os.path.join(OUTPUT_DIR, f"{time_index_eval}/valid.parquet"))
    print(os.path.join(OUTPUT_DIR, f"{time_index_train}/input.parquet"))
    print(train_paths)
#     print(eval_paths)
    # Train on day related to time_index
    print('*'*20)
    print("Launch training for day %s are:" %time_index)
    print('*'*20 + '\n')
    trainer.train_dataset_or_path = train_paths
    trainer.reset_lr_scheduler()
    trainer.train()
    trainer.state.global_step +=1
    # Evaluate on the following day
#     trainer.eval_dataset_or_path = eval_paths
#     train_metrics = trainer.evaluate(metric_key_prefix='eval')
#     print('*'*20)
#     print("Eval results for day %s are:\t" %time_index_eval)
#     print('\n' + '*'*20 + '\n')
#     for key in sorted(train_metrics.keys()):
#         print(" %s = %s" % (key, str(train_metrics[key])))
#     wipe_memory()

@sumitsidana are you using one of our training examples with the data we provide? if yes which one?
If no, can you please share  you entire code (including your NVT code, your dataloader commands, etc etc.. ) please in a gist file may be? Also a simple fake dataset that similar to your dataset, , and your schema.pb file as well?  we cannot reproduce your error only with training code..
Besides, how do you generate your schema file in case you are using a custom dataset?  Thanks.

Hi @rnyak I am using RecSys 2022 challenge data set. Here is the link to the gist: https://gist.github.com/sumitsidana/fe45069fff6e5bf516b42a76b00263c3
I have added head of the data and how I create schema file. Please let me know if it still not clear. Thanks.

@sumitsidana can you please follow this unit test example?
https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/main/tests/torch/test_trainer.py#L59-L75
let us know if you still have any issues. Thanks.

@sumitsidana we are closing this issue since we did not hear from you. Please reopen if you still have a question.

Hi @rnyak , I'm trying to train the t4rec on youchoose similar dataset and it is giving me cuda error everytime i ran it.
I'm following the example tutorial where you are using youchoose dataset.
Everything i followed is same and did for youchoose dataset but i'm not sure why the error coming.
Errror:
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

but no error on you choose dataset


setting

👷 Deploy Preview for iamsh processing.

Name
Link

🔨 Latest commit
e91a8e024efd776609f2db24088c082a4ac516c9

🔍 Latest deploy log
https://app.netlify.com/sites/iamsh/deploys/65cb544a019010000803f3d5


Setup Sponsor Button

https://docs.github.com/en/free-pro-team@latest/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account
https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository


[SHOW ERROR] when input field in auth page

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


Adding CloudMonkey wrapper

Issue #, if available:
Description of changes:
This PR adds a wrapper for CloudMonkey (cmk) to enable pre-flight check calls, along with unit tests. Cmk is a CLI tool for interacting with a cloudstack environment - more details at https://github.com/apache/cloudstack-cloudmonkey. This functionality can be utilized once the cmk executable is being built into the cli-tools image.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@maxdrib do all the Validate... methods take a name or ID? Or some of them only take names and others only take IDs?

It varies based on what CloudMonkey supports and what usecases we support. For example with affinity groups, CAPC only supports passing in a list of UUID's, not names, so we only query cmk by ID. I think the opposite is true if/when we validate the network (which is a TODO). There's no parameter for "name" when listing networks

/assign @wanyufe


Figure out the way forward of running multiple Thanos stores

More explanation over here: https://github.com/improbable-eng/thanos/issues/1083

Fixed by https://github.com/observatorium/configuration/pull/194


Disabled Fields Icon Click do not work if enabled

Describe the bug
When using any MatBlazor components with a IconOnClick, these are not bound when Disabled is set to true during the initial page load.  If you toggle the disabled in runtime, the IconOnClick event is not attached and never works.
To Reproduce
Steps to reproduce the behavior:

Add any component that has a IconOnClick, in my example I used IconOnClick
Set the Disabled to a variable.
Create a button that toggles the disabled.
Start with the component disabled

Blazorfiddle link
https://blazorfiddle.com/s/ymjtzc78
https://gist.github.com/jdarwood007/b75985fd93a356af100d579abc23eb36
Expected behavior
Upon removing disabled, the onclick event is expected to be there.
This only occurs when the default state of the page rendering is to have the component disabled.  If the component is enabled on the initial render, the onclick event is attached.
Screenshots
Additional context
Using .NET Core 5.0
Using MatBlazor NuGet package @ Version 2.8.0

Hello,
I have the same issue with MatSelect. If the component is disabled on initialization, when it become enable the dropdown is never shown when clicking on the field. More than that the style of the MatSelect doesn't change when getting the focus (the caption should become small with another color, but it does not).
I get this on .NET Core 5.0,  with MatBlazor version 2.8.0 or version 2.7.0.


feat: button component

tbd

@buseselvi, we should help user about answering these questions: what for? why? how? when to use?, etc.
Here is the link of our button component that you can take a look. We should provide more details about our variants, etc.
button-component
Good luck! 👋
PS: I extracted the tertiary button for now. After we make progress about it like having answers for the questions above, I will add.


Issues with tipped bolts

In 1.20.1, tipped bolts (of any kind) shot by a crossbow have a missing texture (tipped arrows have their proper texture though).
Additionally, diamond and netherite tipped bolts cannot be shot from a crossbow, as they are not in the spartanweaponry:bolts item tag (manually putting them in the item tag using a datapack fixed the issue for me).

Thanks for letting me know about this!
I've added both the Diamond and Netherite Tipped Bolts in the spartanweaponry:bolts tag, which will be in the next 1.20.1 update

Do you know what's causing the missing textures though?

Yeah, that was due to a renaming oversight. I forgot to change the name for the entity textures when I initially made version 3.0. It's been fixed now (and was already fixed in versions for MC 1.18.2 and 1.19.2)

The update with both fixes is now live!
Closing issue


[Bug] Clicking on the image in Table widget takes the user to the URL of the image

Description
A user on discord reported this bug. He felt this is an unintended behaviour. The image in the table widget takes the user to the URL of the image.
Steps to reproduce the behaviour:

Drag and drop table widget
Change column type to image
Click on the image displayed in the table widget
A new tab is opened with the image URL

Important Details

Version: [Cloud]
OS: [MacOSX]
Browser [chrome, safari]
Environment - [Production]

@Nikhil-Nandagopal does onClick really make sense on the image widget, specially in case of the table widget.
I feel the use case @jsartisan is pointing out is that the user would want to view a zoomed image and the way it happens today is not user friendly. A better way would be to either open the image in a bigger modal or open the full size image in a new tab. This functionality can be archived by a toggle value.

@somangshu what if the user wants to trigger a modal where a user can change the image using a file picker?

@riodeuno @areyabhishek need you help here to understand to the right way to move forward.

@somangshu @Nikhil-Nandagopal We always get requests for flexibility from our users. So Nikhil's point about onClick makes sense even though it might seem unnecessary. I'm sure someone will use it and appreciate the option to either see the image in a modal, or edit the image in a modal or even click to open the image in a container beside the table.

@areyabhishek got it.
Note:

We will go ahead and add an onClick action inside the table column type image

@Nikhil-Nandagopal Please let me know if you think this should be taken up differently!


Support yaml and yml equally

Currently avash only looks for the yaml extension for its config file.
As yml is equally standard for YAML files, both should be supported.

I tested this feature. Looks good. Going to merge it to master.


Support execution within other tmux scripts

This might come in to play with https://github.com/evnp/tmex/issues/5
Currently every execution of the tmex command starts with tmux new-session from what I can tell. I am basing this on what I see when using the -p flag. The output doesn't change when I set -s -r or -d, and I would have expected the flag for new-session to change at least with the -r flag.
I'm running into a problem where I'm setting up a tmux session for a dev environment on a monorepo. Part of the repo has a tmex script running to launch some node processes.  I'm proposing a flag that will allow the command run to substitute new-session with new-window allowing the tmex script to piggy back into existing tmux setup scripts.
Running with the -r flag results in the the operation trying to launch another tmux session within another session which is not ideal. The other option would be to check for the $TMUX env var and adjust the command automatically. Then a flag to force a specific behaviour if you don't it to run a new session regardless.
If you like the idea I'll see if I can make a PR up for it sometime soon.

Hi @dajabe, sorry about the long delay in response here, you caught me at an overwhelmed moment.
Your use-cases make sense – it's very constructive criticism that use-cases of tmex that involve running it within other tmux workflows are not very well fleshed out. One of the goals of the project is simplicity, but as long as we can expose new functions one-by-one under flags and keep default behavior easy to understand, I'd be happy for the tool have these new capabilities. Very open to PR(s) if that's something you have time/interest in putting together.
I'll clarify quickly what these three flags do (you may already know these details from looking at code):
-s / --shellless – Makes tmex pass command text to tmux directly instead of using send-keys to a shell in a tmux pane. This is a lighter-weight way of running commands without shells, but panes die and are non-interactive after commands exit.
-d / --detached – Simply makes tmex add the -d flag when executing the constructed tmux command, so the session is started in the background. This generally seems useful when running many tmex commands in a loop to spawn a bunch of sessions.
-r / --reattach – This doesn't have any effect if a session matching the provided session name doesn't yet exist, it executes a tmux command constructed from tmex args same as if -r wasn't passed. If a matching tmux session does exist, it ignores all other args and instead executes tmux attach-session -t <session-name>. This is sort of a special case for -p where this second case isn't reflected in the output, because of the "environment-state-dependent" nature of this command. The logic for this can be found here.
Your suggestion of a flag to replace new-session with new-window seems very straightforward to me and worth doing. Open to any design that you may have in mind – what comes to mind as clear to me is a --command="new-window" / -c new-window param that would be used to specify an alternate "command" in parlance of the Tmux man page.

Running with the -r flag results in the the operation trying to launch another tmux session within another session which is not ideal. The other option would be to check for the $TMUX env var and adjust the command automatically. Then a flag to force a specific behaviour if you don't it to run a new session regardless.

Tmex already attempts to do something like what you describe – splitting the pane further instead of trying to execute nested tmux commands if $TMUX_PANE env var is set. The logic for that is here. I'm curious if this behavior isn't working in your use-case, or if you're looking for something different?
Anyway, I'd welcome any changes in the form of PRs if you have the bandwidth. If you'd prefer I think I can put some time into a --command param in the very near future. Let's discuss potential design and nail down the details of that here first, since I'd like to make sure we can balance new features/options with simplicity of the tool.

Hi again, I've released v2.0.0-rc.8 which intends to cover the functionality discussed above. This will become a 2.0.0 release in around a week. Please let me know if you come across any issues or changes needed in the meantime. Thanks!

Closing this for now, but feel free to re-open if you'd like to discuss further.

@evnp my apologies for going silent on this I did not have the time I thought I would to follow up. Thank you for your detailed response and consideration.
Your suggested solution of a command flag that can be passed to the script to override the default command like the way tmux sets it is a good one. I don't have the time or need to play with this right now but I am sure to again sometime in the future. I'll test then and if I do come back I'll see if I can come back with a useful PR of some sort. (Failing that a comment on how well it works)
Thank you again for your work on this.


Web service startup slow

The web-service can take 5-10 minutes to start up once Tomcat starts. During this time it will not accept any requests. Is there some way to speed this up?
The relevant log section from application startup:
2017-06-05 17:27:15,849 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@131395bc{/SQL/execution,null,AVAILABLE}
2017-06-05 17:27:15,850 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@6d01e626{/SQL/execution/json,null,AVAILABLE}
2017-06-05 17:27:15,851 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@68f08f2a{/static/sql,null,AVAILABLE}
2017-06-05 17:27:15,898 INFO  util.Version (Version.java:logVersion(108)) - Elasticsearch Hadoop v5.2.0 [d85a257f9f]
05-Jun-2017 17:27:16.120 INFO [Executor task launch worker-0] org.apache.parquet.Log.info Initiating action with parallelism: 5
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
05-Jun-2017 17:27:19.138 WARNING [Executor task launch worker-0] org.apache.parquet.Log.error Can not initialize counter due to context is not a instance of TaskInputOutputContext,
 but is org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl
05-Jun-2017 17:27:19.296 INFO [Executor task launch worker-0] org.apache.parquet.Log.info RecordReader initialized will read a total of 1 records.
05-Jun-2017 17:27:19.303 INFO [Executor task launch worker-0] org.apache.parquet.Log.info at row 0. reading next block
05-Jun-2017 17:27:19.364 INFO [Executor task launch worker-0] org.apache.parquet.Log.info block read in memory in 61 ms. row count = 1
2017-06-05 17:27:19,547 INFO  ontology.OntologyFactory (OntologyFactory.java:getOntology(67)) - Using ontology extension: Local
2017-06-05 17:27:19,551 INFO  process.LocalOntology (LocalOntology.java:<init>(67)) - Creating new ontology
2017-06-05 17:27:20,075 WARN  impl.RDFDefaultErrorHandler (RDFDefaultErrorHandler.java:warning(47)) - unknown-source: {W136} Relative URIs are not permitted in RDF: specifically <ont-policy.rdf>
2017-06-05 17:27:20,128 INFO  process.LocalOntology (LocalOntology.java:load(124)) - Reading and processing https://raw.githubusercontent.com/ESIPFed/sweet/master/2.4/sweetAll.owl
2017-06-05 17:27:27,489 WARN  impl.RDFDefaultErrorHandler (RDFDefaultErrorHandler.java:warning(47)) - https://raw.githubusercontent.com/ESIPFed/sweet/master/2.4/reprSciUnits.owl(line 683 column 44): {W105} Redefinition of ID: lux
2017-06-05 17:27:27,489 WARN  impl.RDFDefaultErrorHandler (RDFDefaultErrorHandler.java:warning(47)) - https://raw.githubusercontent.com/ESIPFed/sweet/master/2.4/reprSciUnits.owl(line 635 column 44): {W105} Previous definition of 'lux'.
2017-06-05 17:27:36,733 INFO  process.LocalOntology (LocalOntology.java:load(134)) - Successfully processed https://raw.githubusercontent.com/ESIPFed/sweet/master/2.4/sweetAll.owl
05-Jun-2017 17:35:02.472 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /data/local/tomcat/apache-tomcat-8.5.11/webapps/mudrod-service.war has finished in 481,636 ms
05-Jun-2017 17:35:02.473 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/ROOT
05-Jun-2017 17:35:02.484 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/ROOT has finished in 11 ms
05-Jun-2017 17:35:02.484 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/docs
05-Jun-2017 17:35:02.493 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/docs has finished in 8 ms
05-Jun-2017 17:35:02.493 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/host-manager
05-Jun-2017 17:35:02.511 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/host-manager has finished in 18 ms
05-Jun-2017 17:35:02.512 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/manager
05-Jun-2017 17:35:02.525 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/local/tomcat/apache-tomcat-8.5.11/webapps/manager has finished in 14 ms
05-Jun-2017 17:35:02.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
05-Jun-2017 17:35:02.542 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [https-jsse-nio-8443]
05-Jun-2017 17:35:02.543 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
05-Jun-2017 17:35:02.544 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 481754 ms

The biggest time gap happens between these two lines:
2017-06-05 17:27:36,733 INFO  process.LocalOntology (LocalOntology.java:load(134)) - Successfully processed https://raw.githubusercontent.com/ESIPFed/sweet/master/2.4/sweetAll.owl

05-Jun-2017 17:35:02.472 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /data/local/tomcat/apache-tomcat-8.5.11/webapps/mudrod-service.war has finished in 481,636 ms

So it seems whatever is happening after LocalOntology.java:load is taking a very long time.

@lewismc I haven't had a chance to investigate much on this yet. Do you now what might be going on?


[Feature Request] i need 0('N')-1('Y') with one bubble... is it possible?

I want 'yes' when bubble is full and 'no' when empty, in result csv file.... is it posible?

@ibrahimkilic We can introduce a new config in template.json for defining what to use for empty value.
I have asked in the community for anyone who can pick it up. We can discuss what should the schema be for most generalised version.
p.s. previously there was a variable used for this. Had to remove it because it would cause some issues in double-integer type questions.

For now I can suggest a small hack in the code here.
Add an else block there and put this(with correct indentation)
else:
    if (q in ["q1", "q2", "q3", "q4", "q5"]):
        omr_response[q] = "no"

@ibrahimkilic hey I would like to work on this issue assign me, please.

@sanmay321 we're following a process of discussing on discord before getting assigned. Please start a discussion over there :)

let's discuss how to generalize

Thanks, bro...


Refactor Symbolic Strings

There are symbolic strings littered throughout the code base.
e.g. "__repr__", "<module>"
These should be hidden behind ~enums~ static constants

Why would you hide string behind enums? Is this a performance thing?

Oh sorry, I meant static constants, in some cases maybe an enum would work? ¯_(ツ)_/¯

Would this result in code size reduction?

I think this is ok to close. It was from a maintenance point of view, updates, typos etc. It was pointed out in the PR that the strings are unlikely to change


Bump Helm Chart Version for publishing, add anchor_callback parameter to documentation

Update Helm Chart version to 0.3.85 in preparation to publish new chart
Add anchor_callback and integration_auth parameters to documentation
add reference to anchor platform default values

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr446.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr446.previews.kube001.services.stellar-ops.com/


Add v3 of EKS Infrastructure Monitoring Solution

Description of changes:

Add alerting rules
Add fleet monitoring dashboard

Minor changes to ensure the solution can be deployed to multiple clusters

Add logs extraction
Add logs dashboard

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is 100% functional and ready for SME testing!


Error Xamarin Forms (Android)

it shows me this when i run it on Xamarin Android player and then my app goes black and doesnt show me anything! how can i fix it?
Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
at --- End of managed exception stack trace ---
at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
at Caused by: java.lang.reflect.InvocationTargetException
at at java.lang.reflect.Method.invoke(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:372)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at ... 1 more
at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.TypeLoadException: Could not load type 'hello.MainActivity, hello, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
at at (wrapper managed-to-native) System.Type.internal_from_name (string,bool,bool) <IL 0x0001c, 0x0006f>
at System.Type.GetType (string,bool) [0x00011] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System/Type.cs:581
at Java.Interop.TypeManager.n_Activate (intptr,intptr,intptr,intptr,intptr,intptr) [0x00062] in /Users/builder/data/lanes/2185/53fce373/source/monodroid/src/Mono.Android/src/Java.Interop/TypeManager.cs:144
at at (wrapper dynamic-method) object.40f1f654-4631-47af-8f9f-c05d7702f641 (intptr,intptr,intptr,intptr,intptr,intptr) <IL 0x00029, 0x0004b>
at at mono.android.TypeManager.n_activate(Native Method)
at at mono.android.TypeManager.Activate(TypeManager.java:7)
at at md573f45f3f60d2fb9be8043dc52245a8d7.MainActivity.(MainActivity.java:22)
at at java.lang.reflect.Constructor.newInstance(Native Method)
at at java.lang.Class.newInstance(Class.java:1606)
at at android.app.Instrumentation.newActivity(Instrumentation.java:1066)
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2226)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at at android.app.ActivityThread.access$800(ActivityThread.java:151)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at at android.os.Handler.dispatchMessage(Handler.java:102)
at at android.os.Looper.loop(Looper.java:135)
at at android.app.ActivityThread.main(ActivityThread.java:5254)
at ... 4 more

I don't see one thing in this message that has anything to do with this library.
The source of your error is:
System.TypeLoadException: Could not load type 'hello.MainActivity, hello, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

i am so sorry about that!
i was just frustrated cause i cant seem to find a way to get it to work!

Trying to get what to work?  The sample app with this library?


Check for broken links & nonexistent fragments as part of docs build

Are there links for the Reboot, Grid Only, and Flexbox downloads?

@aelisecarey Currently there aren't any actual built files for those, just the skeleton of some Grunt+Sass infrastructure to build them.

@cvrebert is there an existing issue to track custom builds in the docs?

@cvrebert Then you need to remove links.
Never publish broken links.

@avradul v4 is still in alpha; both the code and docs are a WIP and are far from complete.

@cvrebert, I'm not sure about automating this, but I did a manual scan of the docs with the W3C Link Checker and have incorporated several broken links into #20557.

Seems https://github.com/ChrisWren/grunt-link-checker could help with the links.

I'll look into it.

The PR #21695 is a proposition for this issue. It uses broken-link-checker.
This comment mentioned grunt-link-checker but unfortunatly this produce errors for links that are valid.
Here is an example:
>> Resource not found linked from http://localhost:9001/getting-started/introduction/ to http://localhost:9001/getting-started/introduction/%7Burl%7D
>> Status code: 404
>> Resource not found linked from http://localhost:9001/getting-started/contents/ to http://localhost:9001/getting-started/contents/%7Burl%7D
>> Status code: 404

@vanduynslagerp: I rebased your patch. It works OK but it's slow.
Would it be possible to switch to simplecrawler which supports concurrency and CC me? We can work on ignoring the false positives.

@XhmikosR, using simplecrawler might be possible but it would require some more work to implement the rules to check (for example verifying that URL with a hash correspond to a anchor).
I don't think I will contribute to Bootstrap in the near future, but feel free to re-use/change/update any code in this PR (or any other PR :)).
I'll definitely let you know if I spend more on Bootstrap contributions though.

I have a branch for this in https://github.com/twbs/bootstrap/tree/v4-dev-xmr-broken-link-checker
Works fast because we don't check for broken external links.
So, I'm not 100% satisfied with this solution. Also, I can't find a switch to make blc's output less verbose.
Other than that it works, see https://travis-ci.org/twbs/bootstrap/builds/306272185.
Ideally, I think we should hook something up using simplecrawler, not sure if I'll ever get around to do it, so PRs are welcome.
@Johann-S: maybe we could work together on a simple script to get the job done with simplecrawler. Let me know what you think.


Raymond2

GO:0015898 amiloride transport | MGI 1
GO:0036253 response to amiloride | RGD 1
GO:0036254 cellular response to amiloride | ComplexPortal 13
GO:0072755 cellular response to benomyl | UniProt 1

@raymond91125 This is the corrected version.


UrlEncoder should always encode the U+003A COLON character

Provides extra defense-in-depth in case an application is using this API to encode a relative URL, otherwise the part before the colon could inadvertently be treated as a scheme.
Addresses https://github.com/aspnet/HttpAbstractions/issues/231.
/cc @HaoK @Praburaj

:shipit:


2 gpu error

There are two GPU (3060 12Gb, 3090 24 Gb), i got errors:
-RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!
-Last assistant response is not valid canvas: expected string or bytes-like object, got 'NoneType'
can i specify gpu to utilize?

set CUDA_VISIBLE_DEVICES=0 && python gradio_app.py

I have this error as well. Hopeful we can have a setting in gradio UI

set CUDA_VISIBLE_DEVICES=0 (or 1) && python gradio_app.py

Tried the above but same error

I had the same error and solved by doing this:
in file gradio_app.py, change device_map="auto" to device_map=0.


In[ ] and Out[ ] not matching when exporting the interactive window as a notebook

version: 2019.1.0
The In[ ] and Out[ ] order numbers in the notebook do not match when exporting the interactive window as a notebook:

No issue when export a a notebook from python code.

Meanwhile, the converter does not ignore the empty lines between two cell indicator #%%, which adds an empty line in each code cell of the notebook like the screenshot shows above. Should I log another issue?

Yes, please add another issue for the empty line problem.
In/Out not lining up is our fault for doing execution and not showing it. It's always off by 3 (unless you restart the kernel, then it goes up by 3 more every time).

This is actually a dupe of #4233


more Footermodifications_BUG:

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
some bug need to be fixed in footer @arghadipmanna101 assign this issue to me sir , I will fix it
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

PR #353 is created and merged successfully related to this issue hence I am closing this issue . Thankyou


[FEATURE REQUEST] Custom Header name

It would be nice if I can give my list a own name/header and not just "To-Do List"

You already can - just change the name of your sensor.


DALY BMS (k-type) support for ESPHOME ?

Unfortunately I couldn't find where else to write, so I'm writing to a similar project.
Please make DALY BMS (k-type) support for ESPHOME. Home assistant has a working project (https://github.com/patman15/BMS_BLE-HA) - but it's only for HA, and I'd like to use it together with OpenHab.

@kirillch2000 I've prepared a first draft. Do you like to give it a try?

Thank you very much for responding to my request so quickly!
I tried your component - the result is as follows. All 3 of my DALY BMS (2 new - k-type and 1 old - last year's model) - work perfectly and give all the parameters! So this draft should be considered working!
output example:
Name  State  Actions
daly-bms-ble average cell voltage  3.2399 V
daly-bms-ble capacity remaining  35.1 Ah
daly-bms-ble cell count  16
daly-bms-ble cell voltage 1  3.242 V
daly-bms-ble cell voltage 10  3.239 V
daly-bms-ble cell voltage 11  3.234 V
daly-bms-ble cell voltage 12  3.241 V
daly-bms-ble cell voltage 13  3.235 V
daly-bms-ble cell voltage 14  3.241 V
daly-bms-ble cell voltage 15  3.238 V
daly-bms-ble cell voltage 16  3.240 V
daly-bms-ble cell voltage 2  3.244 V
daly-bms-ble cell voltage 3  3.237 V
daly-bms-ble cell voltage 4  3.245 V
daly-bms-ble cell voltage 5  3.239 V
daly-bms-ble cell voltage 6  3.242 V
daly-bms-ble cell voltage 7  3.241 V
daly-bms-ble cell voltage 8  3.247 V
daly-bms-ble cell voltage 9  3.234 V
daly-bms-ble charging  OFF
daly-bms-ble charging  OFF
daly-bms-ble charging cycles  52
daly-bms-ble charging power  310 W
daly-bms-ble current  -6.70 A
daly-bms-ble delta cell voltage  0.0013 V
daly-bms-ble discharging  OFF
daly-bms-ble discharging  OFF
daly-bms-ble discharging power  0 W
daly-bms-ble enable bluetooth connection  ON
daly-bms-ble error bitmask  NA
daly-bms-ble errors
daly-bms-ble factory reset    ☐
daly-bms-ble max cell voltage  3.247 V
daly-bms-ble max voltage cell  8
daly-bms-ble min cell voltage  3.234 V
daly-bms-ble min voltage cell  9
daly-bms-ble power  310 W
daly-bms-ble reset charging cycles    ☐
daly-bms-ble retrieve settings    ☐
daly-bms-ble state of charge  34 %
daly-bms-ble temperature 1  10.0 °C
daly-bms-ble temperature 2  10.0 °C
daly-bms-ble temperature 3  11.0 °C
daly-bms-ble temperature 4  11.0 °C
daly-bms-ble temperature 5  NA
daly-bms-ble temperature 6  NA
daly-bms-ble temperature 7  NA
daly-bms-ble temperature 8  NA
daly-bms-ble temperature sensors  4
daly-bms-ble total voltage  51.80 V

Could you provide some more details about your DALY BMS models/versions? I would like to mention the devices as supported at the README. Could you tell me the BLE name of each device?

Hi. Yes, of course.
These are 2 new Daly Smart BMS K-Series 100A
https://www.dalybms.com/48v-lifepo4-bms-daly-k-series-smart-bms-3s-to-24s-40a-60a-100a-product/
The older one is probably A-series (looking at the manufacturer's website, I have not seen this mentioned anywhere else, in ESPHOME DOC this model is simply called DALY BMS (for UART)).
BLE names are those that are visible as their names? then - DL-xxxxxxxxxxxxxxxx (mac address) and Dxxxxxxxxxxxxxxxx
Contact me, I can scan their profiles and anything else if needed - I have this equipment at home.

Did DALY change the protocol over time or does your old DALY BMS support boths protocol (the one with the 0xA5 preamble and the 0xD2 preamble)?

HI !
Unfortunately, I have not studied the details of the old version protocol. It was important for me to connect new (k-type) versions.
If there is such a need - can you make a trial version of the driver for logging and studying this issue and I can run it on a separate ESP32 with a connection to this BMS

It's not so important. The mystery will be solved some day.
I've another request: I've implemented some switches and buttons:
button:
  - platform: daly_bms_ble
    retrieve_settings:
      name: "${name} retrieve settings"
    restart:
      name: "${name} restart"
    shutdown:
      name: "${name} shutdown"
    factory_reset:
      name: "${name} factory reset"
    reset_current:
      name: "${name} reset current"

# ...

switch:
  - platform: daly_bms_ble
    charging:
      name: "${name} charging"
    discharging:
      name: "${name} discharging"

Could you test these (excluding the factory reset and reset current button)?

Ok, I'll test these buttons tomorrow.

Did you find some time to test the controls?

Thanks for the hint! I wasn't aware of the PR. A lucky detail: The PR is focused on uart communication. This project is mostly about BLE communication.

Interesting.. some registers are different: https://github.com/esphome/esphome/pull/7524/files#diff-7100260b820cb090bf4ad0f7d9d9b7fc105a49a0a5b4efd6287a3e70c474b33fR37-R48

It's not so important. The mystery will be solved some day.
I've another request: I've implemented some switches and buttons:
button:
  - platform: daly_bms_ble
    retrieve_settings:
      name: "${name} retrieve settings"
    restart:
      name: "${name} restart"

............................

Could you test these (excluding the factory reset and reset current button)?

Sorry for the delay - I was on vacation. I added these buttons - I certainly didn't do a factory reset :) - everything else looks like it's working - "BMS retrieve settings" I still don't understand how it works - there are no statistics updates, and the data is only received by the component interval (update_interval)

The settings will he just retrieved, decoded and printed to the log.

Interesting.. some registers are different: esphome/esphome#7524 (files)

@patagonaa, did you base yourself on some manual to build https://github.com/esphome/esphome/pull/7524? Perhaps you can share it here so we can double check these discrepancies for the greater good. :)

Interesting.. some registers are different: [...]

Yea, I based my code on what someone linked here:
https://github.com/esphome/issues/issues/5476#issuecomment-2258525930
I also got some information from the DALY PC Software (BMSTool for H/K/M/S), but the docs I just linked seem to match the PC software (although a lot of things are missing in those docs).
Honestly, I assume the docs you have (in this repo) are from an entirely different BMS series, because the BMSTool is definitely working and some fields (like 0x3D) are definitely correct for my BMS.
Bummer that we both kinda did the same component (though, yours more towards BLE and mine more towards UART), we probably could've saved a bunch of work if we had worked together 😅

Also, just because i stumbled upon it:
this
https://github.com/syssi/esphome-daly-bms/blob/d6673c37b79c7f7496f322257b9ffd1ccc0ff993/components/daly_bms_ble/daly_bms_ble.cpp#L287-L290
will never show discharging power, as daly_get_16bit returns a uint16, so it is always positive.
Looking at the windows software, (at least in the Modbus protocol) the power does not have a sign, so it is probably positive no matter if charging or discharging, making it kinda useless.

@patagonaa Good point! I've fixed the issue. The value is calculated now and the unsigned power measurement of the BMS firmware isn't used anymore.


Job queue size increase too fast, can not analyse the job just finished

How can I config the Dr.elephant to ignore history jobs, and analyse the job just finished. Because the Dr.elephant had stopped for few days, many jobs were stacked in job queue. And cluster jobs are submitted faster than dr processed, so it always process the job days ago.

There is a PR being submitted from Pepperdata to address this issue. Stay tuned.

@Carl-Hee, @shkhrgpt's patch has been merged. Just pull the latest changes and uncomment drelephant.analysis.fetch.initial.windowMillis property in GeneralConf.xml.
The next time you start Dr. Elephant, it will only fetch and analyze jobs from the past 1 hour.


ERROR

Job management error: getIPV4Address() failed because os.networkInterfaces().eth0 is undefined.

This is a known issue, reference: https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/FAQ.md

Closing the issue, @nwb5233  you can reopen this if you still having the problem after looking through the documents.


SVG on Firefox.

First of all, thanks for this fantastic jQuery zoom!
The only problem that i've got is that on Firefox if I use a SVG picture it doesn't work :(.
Is there any fix for this?

I managed to get it working by using the following:
.zoomImg {
  min-height: 1500px !important;
  width: auto !important;
}

This isn't anywhere near the correct solution but hopefully this helps the dev find a good solution.


Profiling guidance for Reference.type - slicing

The Reference datatype has a new element in R4, namely Reference.type. It can be used to indicate the type of Resource the reference points to.
We don't have any guidance yet on the use of this Reference.type in our FHIR specs. It may not be needed on a generic level. On the other hand, it may be used for slicing purposes if you want to discriminate between Reference instances.
An example is in the zib-MedicationAdministration profile where the RelatedAgreement AdministrationAgreement is mapped to
MedicationAdministration.supportingInformation. Because .supportingInformation is very broad and can be anything you would like to profile a slice that holds the zib definition. There may be two common options with both its up and downsides:

Discriminate using resolve()/profile

This lets the validator resolve the reference and checks if this is conformant to the profile specified on the slice.
Very explicit but at a performance cost as the validator needs to do a resolve and validation round
The validator will complain when it is not possible to resolve reference, e.g. an identifier is used. Which in the case of this medication profile will be very likely.

Discriminate using type/value

This lets the validator check the value in type, which will be mandatory and fixed for this slice
Less explicit because the slice is differentiated based on Resource type and not a profile but easy going for validators.
Works always for the validator if the type has a value.

I think I would be in favour of slicing on type/value for References in these situations. Should this be added to the profiling guidelines?

Closed issue, will be addressed in https://github.com/Nictiz/Nictiz-R4-zib2020/issues/116 .


Update CMakeLists.txt

What does this Pull Request accomplish?
Bumps the version in CMake file
Why should this Pull Request be merged?
To accurately reflect the version grpc-device is in
What testing has been done?
No testing

FYI main is locked as the release is finalized on AzDo / we bump the grpc-device version on the AzDo side for new exports. This should be resolved early next week. Alex, Maxx, or I can then unlock main here in grpc-device after that's all settled.

Is run_win_system_tests supposed to take this long to find a runner?

Accidentally clicked on "Close with comment", we're gonna have to wait for builds to complete again. Apologies


Chrome miscalculating widths of floating children in overflowed FlexItem

The issue
When a series of child DIVs with a constant relative width are floated within a FlexItem with overflow: scroll to create a tiled layout, it seems Chrome doesn't take into account the width of the scrollbar when calculating the width each child should be.
The result is that the child DIVs end up stacked in a single column, rather than being laid out side-by-side, as they are too wide. A use case of this code would be to created a tiled layout which needs to support IE10+ (so flex-wrap cannot be used).
This pen demonstrates the problem: http://codepen.io/andybeeching/pen/JKXyJQ
The above pen works fine in IE11. I should also note that this seems to be a recent "bug" as to the best of my knowledge the code was working in Chrome before version 51 or so.
The solution

Without flexbox the correct layout is achieved.
Altering the width property to min-width
Using the position: absolute trick on .FlexItem to cover the container (describe here: https://github.com/philipwalton/flexbugs/issues/84)

If you feel it qualifies as a bug in Chrome I'll gladly open an issue for it.

Yeah, this looks like a Chrome bug to me. Please report it.
It looks like what's happening is Chrome's not taking into account the reduced space due to the scroll bar. I'm on a mac and if I switch to using overlay scrollbars, it works as expected.

Can you try transform: translate3d(0, 0, 0) to all elements as a possible solution?


PLUTO - zoning data correction

For tax lot<PHONE_NUMBER> add in MX-21 for the Special District and M1-4/R6 for the zoning 2 district.  This should be done before 23v2.1.
DE should investigate how to adjust the thresholds for assigning these so that a manual correction is not needed, if it's possible to do so without having negative impacts elsewhere.

re-opening to use this issue for a change / enhancement to the thresholds


Fix QoS volume limit names

Use min_limit/max_limit as QoS limit names in the volume, as for devices

@artek-koltun for my understanding, why do you think this is better name ?

@artek-koltun for my understanding, why do you think this is better name ?

It is just to be consistent with the names used in scsi, nvme, etc.


[Bug]: JS in the default value of a JSONForm field is constantly re-evaluating and updating the UI, when JSONForm is inside a Modal

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When a JavaScript expression or JS Object binding is used in the default value for a JSONForm within a Modal, the value gets constantly re-evaluated and the UI refreshes multiple times a second while the modal is open.
This does not occur in other widgets, or in JSONForms that are not in a Modal. The value stops refreshing when the Modal is closed, which can be verified in the JS Editor by logging JSForm1.formData.
Additionally, any value entered by the user in this field of the JSONForm is overwritten almost instantly with the next refresh.
Steps To Reproduce

Add Modal widget
Add JSONForm, inside Modal
Add JS expression or JS Object binding to the default value of one of the JSONForm fields

Note: Use an expression that will result in a different value with each evaluation, such as {{moment()}}.
Public Sample App
https://app.appsmith.com/app/jsform-in-modal-bug/page1-6290ed9eb4c51656bfea8376
Version
Cloud - Appsmith v1.6.26-SNAPSHOT

Why does the defaultValue re-evaluate recursively?
To understand better let's take an example of JSONForm having the field name date_of_birth.
Below is a screenshot of how dependency map looks for date_of_birth i.e., JSONForm1.schema.__root_schema__.date_of_birth.defaultValue

We can notice that the defaultValue depends on JSON1.FormData, which means on change of JSON1.FormData we will re-evaluate defaultValue and that is incorrect and the cause of the problem here.
Why does defaultValue depend on JSON1.FormData as logically it shouldn’t?
For that let's look at JSBinding of defaultValue.

Having JSON1.FormData inside the JS binding adds it to the dependency map and hence the problem.
Solution
1. Concept of block dependency in evaluation for a field.
A widget can mention for a field what shouldn’t be added to the dependency map.
"blockDependencies": {
"JSONForm1.schema.__root_schema__.date_of_birth.defaultValue": ['JsonForm1.formData']
}

2. We need to remove JsonForm1.formData from binding and make formData value available in IIFE
ListWidget solves a similar problem for currentItem and currentIndex by sending the actual currenItem data in stringified form in JS binding.

NOTE: This approach has escaping problems and we have bugs opened due to this approach and we are planning to move away from here.

Another user on Discord is facing this same issue.
https://discord.com/channels/725602949748752515/1035475720975171646


Unmapped selection Field error

Hi, I tried the example code but couldn't manage to get the result.

using VS 2019.
GraphQL 2.4.0
System.Reactive 3.1.1
NetStandard 2.0.3

Do you execute an empty query? Lines with '#' are the comments.

The error appears from the starting page (Just run the code then this page is appeared).
Below is with query.

Try the latest preview version of GraphQL package to see if problem persists.

After updated to 3.0.0-preview-1271. Can't compile the code.

Just change IDependencyResolver to IServiceProvider interface.


FIRIdentityToolkitRequest has hardcoded access to default FIRApp instance

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.5.1
Firebase SDK version: 8.4.0
Installation method: CocoaPods
Firebase Component: Auth

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
I have an app that only uses named instances of Firebase.
I found a place inside FirebaseAuth that wrongly accesses the default app instance (that correctly does not exist in my case).
The error is in FIRIdentityToolkitRequest.m  in the function initWithEndpoint:requestConfiguration, there is a hardcoded access to [FIRAuth auth] independent whether the default instance or a named instance is used:
    // Automatically set the tenant ID. If the request is initialized before FIRAuth is configured,
    // set tenant ID to nil.
    @try {
      _tenantID = [FIRAuth auth].tenantID;
    } @catch (NSException *e) {
      _tenantID = nil;
    }

In my case everything happens to work, but the error message about the not initialized default instance is shown due to the call [FIRAuth auth], which is wrong and misleading. I am asking to make a code change to avoid the message.
I have no idea what tenants are and what their ID might be used for but it feels that this will be a bug when multiple FIRApp instances are used and different tenantIDs should be used depending on the instances.
Relevant Code:
To reproduce, create a named instance without creating the default instance and call signIn(withEmail):
    let options = FirebaseOptions(googleAppID: applicationId, gcmSenderID: gcmSenderId)
    options.projectID = projectId
    options.apiKey = apiKey
    FirebaseApp.configure(name: "myAppName", options: options)

    if let app = FirebaseApp.app(name: "myAppName") {
      let auth = FirebaseAuth.Auth.auth(app: app)

      // The (wrong) error message is printed when calling signIn(withEmail):
      auth.signIn(withEmail: "something", password: "something", completion: { result, error in
                    return })
    }

This issue was fixed in Firebase 10.6.0 via #10805


Fix/529 add ts support to fiddle test

Description
Same as #668 (testing if a new PR branch invalidates the cache on GH and Vercel and if this is the issue)
Adds Typescript support to fiddle (solves #529).

Also replaces createMuiTheme with createTheme per the deprecation notice in the console and updates next.

Didn't work. Closing


api/client: use string.Title function where appropriate

Use libraries.

Arguably, this should also do things like change _- to spaces, as well.

strings.Title will uppercase the first character of every word. Is this the desired behavior? The existing code only uppercases the first character of the string.

Is this the desired behavior? The existing code only uppercases the first character of the string.

I'm not sure either; looks like the go library doesn't have a similar method built-in, so we should check where it's used in our code base

@thaJeztah I really don't see the point of only capitalizing the first entry. If we look at the usage, it doesn't matter for these cases. In practice, neither approaches do the right thing in all cases. Imbalanced title casing looks weird, so it is better to use the stdlib function that define our own.

@stevvooe ignore me; I must've been half sleeping and thought this was in a pkg, but it's not, so if this is the only place it's used, then LGTM

I'm not sure as well, it's applied to node.Status.Message for example. It'll be:
Node Is Currently Trying To Find New Manager

@LK4D4 O, ick.
I'm not a huge fan of blindly applying capitalization to output, but go ahead and close this.

I'll be the bad guy :trollface: blame me :smile:


Support for List Card type.

There is a specific type of card type - list card that is supported only by Bots in Teams (no support in bot framework). Do you have plans to add support for this card type?
Let me know if you accept PR :)

This is actually a question for the main BotBuilder SDK.
But I can answer it here - the reason the List card was implemented is because we needed a richer UI for our Who bot, and we decided to open it up to developers too. I do not expect it to be implemented in any other bot platform.


Authorization header is malformed;

I recently noticed that when I upload my files I get this message when using S3 compatible api
Error uploading files to S3-compatible storage: AuthorizationHeaderMalformed: Authorization header is malformed; the authorization component "/20240926/us-east-005/s3/aws4_request" is malformed.
I have added all the important variables in config this issue just recently happened
Pls help

Hi @Malewooo16 - apologies for the latency in replying! Did you manage to resolve this? Can you post your code and configuration (minus credentials)?


Non-determinism when deploying worker from a PR

There have been unpredictable results when running make plan to try and test a new worker version in staging.
bin/generate-latest-docker-image-tags does not know what the newest docker tag is for the most recent worker. Input data from the tags from docker hub:
v3.6.0-14-gc9f6bda
v3.6.0-14-g592d662
v3.6.0-13-g1c1f9ec
v3.6.0-12-g76c1dc7
v3.6.0-11-gca14cdd

On some runs, the first v3.6.0-14 will be selected, and on some runs, the second v3.6.0-14. One of the -14--s is from a PR (not yet merged in master).

After looking into this with Joep, we've discovered that this is caused by the generate-latest-docker-image-tags script, which drops the commit hash and only looks at the release numbers.
While this is indeed unpredictable behaviour, I don't think the effort of fixing it is necessarily worth it since this only happens for parallel branches and only on staging (where we rely on the latest docker image instead of a specific version).
Furthermore, even fixing it to always retrieve the latest tag would still cause issues in the parallel branches case because people might not be aware someone else might have built a new image and deploy that one instead of their own.
What I'd recommend in this case is document worker staging deployments maybe, but I'm also curious to hear other opinions. 😄

Workaround documented.


reduce horizontal gap between nodes in topology views

Fixes #1688

btw, I don't pretend to know what I am doing here. And the fact that I had to adjust labelWidth to prevent overlapping makes me uneasy - I would have expected that to be adjusted automatically with the node separation factor.

It all comes down to the search results being displayed. Sadly, browser support for controlling their layout (foreignObject in SVG) is limited. So you end up with blocks that are wider than they need to be, and assume full width. At that point they are too close together with the neighbour nodes, see lower row here:

For the row separation, the more-matches text is blocked:

Here is the report I'm using: https://gist.github.com/davkal/b02d9e6c90b73fd39e7d9fbaec11815e

At that point they are too close together with the neighbour nodes

I had put a screen shot just like that in #1688. I don't see it as a problem. Yes, more separation would be better, but increasing horizontal node space to do that is worse.

For the row separation, the more-matches text is blocked:

That's about vertical spacing, surely. How does that have anything to do with this change?

That's about vertical spacing, surely. How does that have anything to do with this change?

And the answer is: nothing. I get the same (and more) overlap on our dev admin scope.

You're right. I thought rank separation was changed here too, but it wasnt.
The node separation LGTM.

This LGTM, works nicely on the wide layouts.


License missing

My bad found it
https://github.com/OsmosysSoftware/document-service/blob/main/LICENSE


feat(leftbar): fixes and additions to leftbar row components

Vue 3 of https://github.com/dialpad/dialtone-vue/pull/804

The focus ring is looking a bit off I think

Vue 2

Vue 3 version

Also tooltip doesn't look ok.

looks like tooltip arrow is broken in prod.. logging an issue.


Added Multisig Taproot Support

This module lets you do multisig three different ways:
Simple: Almost identical to the traditional OP_CHECKMULTISIG, but using OP_CHECKSIGADD as the only scriptspend
Multisig: If you have k-of-n, it makes c(k,n) leaves where c is the combinatoric function and each leaf is k-of-k multisig using OP_CHECKSIGADD
Musig: Like multisig, but instead of k-of-k multisig, uses MuSig to combine the keys. s's can be generated using the sign method in MuSigTapScript. They then have to get combined in get_signature to produce the signature.
The default internal pubkey for all three is the Musig combination of all n keys.

Added a few more options, like having musig and single leaf available.

Also:

Add from .taproot import * to buidl/__init__.py
Bump version in setup.py?

This fixes #108

I just noticed that the non-libsec tests on this are outrageously slow!
  Use -vv to show these durations.)
============================================================================================ 6 passed in 232.25s (0:03:52) ============================================================================================

That said, the libsec versions are still fast, so I don't see anything pressing to do here.

Yea, those tests are checking a lot of signatures. Each musig test is 10 signatures, each multisig/single leaf ones are 30 signatures each, the multisig/single leaf is 60 signatures, the everything one is 70 signatures. So all told, that's 200 signatures total, which is going to be pretty slow on Python. There are probably ways to speed it up if we need to, but I don't anticipate it being used to the degree we do it in the tests anytime soon.

@mflaxman have you had a chance to test this on testnet?
I think the next thing I want to do is get CLTV/CSV to work and put it into Taproot scripts, with the eventual idea that I would use it for my own stuff.

btw, I also think this PR is the turning point for me. I'm using signet more than testnet from now on.


Issue 351

A suggested solution that resolves #351
I had to implement this for my own project and I'm now using the forked version. I've never coded Go and mostly relied on copying the code for redirectWhenHttpProto.

Closing due to inactivity. Feel free to resubmit.


ChangedStorage

Extension on the discussions in gitter and https://github.com/slide-rs/specs/issues/89.

Given that this is a rather big feature and needs to be carefully reviewed, we decided to wait for this until 0.9 is published.

@Aceeri I think you implemented a TrackedStorage in the past. Do you think we'd need both (ChangedStorage and TrackedStorage)?

@torkleyy The TrackedStorage stuff I implemented was just FlaggedStorage with insertion/removal of components tracking. The ChangedStorage is still kind of a more "correct" flagged storage since it only flags when something was truly modified, but I'm unsure if that level of accuracy is worth the complexity still (considering the whole issue I had with component wrapper storages vs addon storage).

This storage seems kind of niche, so I'm probably not going to be working on it for a while. If anyone else wants to pick this up and use it themselves it should work.


Update submodule nuttx to latest Thu Dec 12 14:57:56 UTC 2019

- nuttx in PX4/Firmware (327c7f3672ee5f066ec53dfe1554a02d1aa610da): https://github.com/PX4/NuttX/commit/2e55ce8ec97d37b3d3c46b1aaab0a09364fcf254
- nuttx current upstream: https://github.com/PX4/NuttX/commit/9331fda0d7f7220de33982e8a641c671b1f09c8e
- Changes: https://github.com/PX4/NuttX/compare/2e55ce8ec97d37b3d3c46b1aaab0a09364fcf254...9331fda0d7f7220de33982e8a641c671b1f09c8e

9331fda0d7 2019-12-10 David Sidrane - [BACKPORT] IMXRT106x USDHC: Support regular GPIO for CD and inversion.
91c80c708b 2019-12-05 David Sidrane - [BACKPORT] imxrt106x:pinout add ALT 8 GPIO_GPT1_CAPTURE[1|2]
32f758f0e9 2019-12-03 David Sidrane - [BACKPORT] stm32f7:Add Serial Tx DMA

Merging this right away because master is currently pointed at a bogus NuttX commit (deleted branch) and the imxrt changes don't affect any existing boards.


Ruby LSP in VSCode breaks rubocop

Description
Ruby LSP Information
VS Code Version
1.95.2
Ruby LSP Extension Version
0.8.13
Ruby LSP Server Version
0.21.3
Ruby LSP Addons

Ruby LSP Rails

Ruby Version
3.3.1
Ruby Version Manager
rbenv
Installed Extensions

Click to expand

angular-console (18.30.4)
copilot (1.245.0)
copilot-chat (0.22.2)
csdevkit (1.13.9)
csharp (2.55.29)
debugpy (2024.12.0)
gitlens (15.6.3)
go (0.42.1)
jupyter (2024.10.0)
jupyter-keymap (1.1.2)
jupyter-renderers (1.0.21)
prettier-vscode (11.0.0)
python (2024.20.0)
ruby-lsp (0.8.13)
vscode-dotnet-runtime (2.2.3)
vscode-eslint (3.0.10)
vscode-jest-runner (0.4.74)
vscode-pylance (2024.11.2)
vscodeintellicode-csharp (2.2.3)
vstuc (1.0.4)

Ruby LSP Settings

Click to expand
Workspace
{}

User
{
  "enableExperimentalFeatures": false,
  "enabledFeatures": {
    "codeActions": true,
    "diagnostics": true,
    "documentHighlights": true,
    "documentLink": true,
    "documentSymbols": true,
    "foldingRanges": true,
    "formatting": true,
    "hover": true,
    "inlayHint": true,
    "onTypeFormatting": true,
    "selectionRanges": true,
    "semanticHighlighting": true,
    "completion": true,
    "codeLens": true,
    "definition": true,
    "workspaceSymbol": true,
    "signatureHelp": true,
    "typeHierarchy": true,
    "references": true
  },
  "featuresConfiguration": {},
  "addonSettings": {},
  "rubyVersionManager": {
    "identifier": "auto"
  },
  "customRubyCommand": "",
  "formatter": "auto",
  "linters": null,
  "bundleGemfile": "",
  "testTimeout": 30,
  "branch": "",
  "pullDiagnosticsOn": "both",
  "useBundlerCompose": false,
  "bypassTypechecker": false,
  "rubyExecutablePath": "",
  "indexing": {},
  "erbSupport": true,
  "useLauncher": false,
  "featureFlags": {}
}

Gem Env

Click to expand
gem env
gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 3.5.9
  - RUBY VERSION: 3.3.1 (2024-04-23 patchlevel 55) [arm64-darwin23]
  - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0
  - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/3.3.0
  - RUBY EXECUTABLE: /Users/myuser/.rbenv/versions/3.3.1/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /Users/myuser/.rbenv/versions/3.3.1/bin
  - SPEC CACHE DIRECTORY: /Users/myuser/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/myuser/.rbenv/versions/3.3.1/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - arm64-darwin-23
  - GEM PATHS:
     - /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0
     - /Users/myuser/.gem/ruby/3.3.0myuser

Reproduction steps

Start the Ruby LSP with VSCode
Get an error popup: "Error running diagnostics: An internal error occurred for the Layout/AssignmentIndentation cop. Updating to a newer version of RuboCop may solve this. For more details, run RuboCop on the command line."
In the root directory from which you opened VScode, run rubocop -v
Get this error message

/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/rubygems_ext.rb:151:in `data': uninitialized constant Bundler::SharedHelpers (NameError)

      Bundler::SharedHelpers.filesystem_access(loaded_from, :read) do
             ^^^^^^^^^^^^^^^
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/stub_specification.rb:158:in `name'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/stub_specification.rb:88:in `activated?'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/specification.rb:1058:in `block in find_active_stub_by_path'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/specification.rb:1057:in `each'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/specification.rb:1057:in `find'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/specification.rb:1057:in `find_active_stub_by_path'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:86:in `block in require'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:39:in `synchronize'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:39:in `require'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/rubygems_ext.rb:211:in `<module:Gem>'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/rubygems_ext.rb:33:in `<top (required)>'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.5.10/lib/bundler.rb:10:in `require_relative'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.5.10/lib/bundler.rb:10:in `<top (required)>'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/rubocop-1.63.5/lib/rubocop/lockfile.rb:6:in `<top (required)>'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/rubocop-1.63.5/lib/rubocop.rb:743:in `require_relative'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/rubocop-1.63.5/lib/rubocop.rb:743:in `<top (required)>'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/rubocop-1.63.5/exe/rubocop:15:in `<top (required)>'
	from /Users/myuser/.rbenv/versions/3.3.1/bin/rubocop:25:in `load'
	from /Users/myuser/.rbenv/versions/3.3.1/bin/rubocop:25:in `<main>'

I can get rubocop working again by running
> gem list psych

*** LOCAL GEMS ***

psych (5.2.0, default: 5.1.2)

> gem uninstall psych

Gem psych-5.1.2 cannot be uninstalled because it is a default gem
Successfully uninstalled psych-5.2.0

> rubocop -v

1.63.5

But when I reload my developer window (and thus restart Ruby LSP), psych 5.2.0 is re-installed and rubocop fails again
> gem list psych

*** LOCAL GEMS ***

psych (5.2.0, default: 5.1.2)

> rubocop -v
/Users/myuser/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/rubygems_ext.rb:151:in `data': uninitialized constant Bundler::SharedHelpers (NameError)

Notes

bundle exec rubocop -v still succeeds in my repo
When I disable Ruby LSP, then cleanup psych, then restart my VSCode window, psych 5.2.0 is not installed and rubcop -v works

Seems like upgrading to bundler 2.5.11 may fix the issue, however my shared repository is set to 2.5.10. Based on a bundler issue mentioned in that original link, it seems like I may have no choice but to upgrade bundler. Leaving open in case someone more knowledgeable has a better workaround

Also I confirmed that my Ruby LSP extension is installing psych 5.2.0 by viewing the Output tab in VSCode
2024-11-15 12:09:59.521 [info] (progress_service_graphql) Ruby LSP> Skipping custom bundle setup since /Users/nickduckwiler/Repos/progress_service_graphql/.ruby-lsp/Gemfile.lock already exists and is up to date

2024-11-15 12:09:59.703 [info] (progress_service_graphql) Ruby LSP> Running bundle install for the custom bundle. This may take a while...
Ruby LSP> Command: ((bundle _2.5.10_ check && bundle _2.5.10_ update ruby-lsp debug ruby-lsp-rails) || bundle _2.5.10_ install) 1>&2

2024-11-15 12:10:00.186 [info] (progress_service_graphql) The following gems are missing
 * psych (5.2.0)
Install missing gems with `bundle install`

2024-11-15 12:10:02.290 [info] (progress_service_graphql) Fetching gem metadata from https://rubygems.org/
2024-11-15 12:10:02.291 [info] (progress_service_graphql) .
2024-11-15 12:10:02.976 [info] (progress_service_graphql) .
2024-11-15 12:10:03.139 [info] (progress_service_graphql) .
2024-11-15 12:10:03.308 [info] (progress_service_graphql) .
2024-11-15 12:10:03.341 [info] (progress_service_graphql) .
2024-11-15 12:10:03.360 [info] (progress_service_graphql) .
2024-11-15 12:10:03.374 [info] (progress_service_graphql) .
2024-11-15 12:10:03.390 [info] (progress_service_graphql) .
2024-11-15 12:10:03.392 [info] (progress_service_graphql) .
2024-11-15 12:10:05.776 [info] (progress_service_graphql)

2024-11-15 12:10:05.890 [info] (progress_service_graphql) Installing rake 13.2.1

2024-11-15 12:10:05.972 [info] (progress_service_graphql) Fetching psych 5.2.0

2024-11-15 12:10:07.886 [info] (progress_service_graphql) Installing psych 5.2.0 with native extensions

2024-11-15 12:10:09.051 [info] (progress_service_graphql) Bundle complete! 36 Gemfile dependencies, 148 gems now installed.

Okay found a fix for my issue.

Stop Ruby LSP server
Cleanup gems

> rm .ruby-lsp/Gemfile.lock
> gem uninstall psych

Gem psych-5.1.2 cannot be uninstalled because it is a default gem
Successfully uninstalled psych-5.2.0

> gem cleanup psych
> gem cleanup rubocop
> gem cleanup ruby-lsp-rails
> gem cleanup ruby-lsp

Restart Ruby LSP server

Now only psych 5.1.2 is installed


Added to string array and from string array.

FIx #32

Bleep bloop!
LabVIEW Diff Robot here with some diffs served up hot for your pull request.
Notice something funny? Help fix me on my GitHub repo.
TBM module configuration.lvclass--from string array.vi.png:
TBM module configuration.lvclass--from string.vi.png:
TBM module configuration.lvclass--to string array.vi.png:

Looks good


Is there a example to forward the RTSP stream of the ip camera to the Pion node

Summary
Forward the RTSP stream of the ip camera to the Pion node.
Motivation
I have an IPC whose SDP in RTSP does not meet the requirements of WebRTC. I am trying to convert the SDP, but all my attempts have failed.

Hi @autoexpect
https://github.com/AlexxIT/go2rtc is the easiest way to do this. You can also build this yourself, but will take more time! Happy to explain how/help you write anything
Help is also available in [Slack][https://pion.ly/slack)

Thanks! I'll give it a try.


Updates to prerequisites install script

PR to fix #411.
Work in progress.

if it works, can it be merged? (even if incomplete)

yes, should be fine (please test). but should probably also update the install.py script similarly.


feat: add export options in frontmatter and to build args

Fixes https://github.com/slidevjs/slidev/issues/838
Add export args to build command.
We can then set export args when building with download: true.
Example:
slidev build --dark --with-clicks # both are export options

Also add export CLI args (except entry and theme) in frontmatter.
These options will be taken into account when running slidev export or slidev build (with download: true).
Example
exportOptions:
  dark: true
  withClicks: true

CLI options will take precedence over frontmatter options.

Needs doc update

Should we need to be able to set some exportOptions options in the theme frontmatter ?


Querying list items with REST - is there a way around the URL size limit?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Target SharePoint environment
SharePoint Online, and ideally 2013+ as well
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version: Chrome 99.0.4844.84

SharePoint version: Ideally, SP Online and 2013+, but at least SP Online

Issue description
I am maintaining an app that requires the ability to query list data with an arbitrary set of columns (i.e. the user chooses which columns to query).
Until recently, I have used CSOM/JSOM for this, but I have problems with this because they do not return usernames from person columns (only numeric id, e-mail, and display name).
I can perform a second query using several web.SiteUserInfoList.GetItemById(id)s with the numeric IDs in order to resolve the usernames, but if any of the IDs belongs to an invalid/deleted user, the query fails. I can get around this with an ExceptionHandlingScope, but ideally, I would like to be able to obtain the display name and username even if they are invalid.
So basically, what I'm looking to do is:

Query list items from an arbitrary number of columns
Obtain the username and display name for person columns (even if they are invalid)

At first, it seems that REST would be a viable solution to this, since it allows me to get the user values I need (even for invalid users) in a single query by $expanding the user columns. But I have quickly run into a different issue where the query fails if the URL is too long. I have one user trying to query about 80 columns, and the URL is about 2500 characters.
It seems silly to me that the ability to query list items would be subject to a limit in the size of the URL, but I'm unable to find any way around this.
Ideally, I would like to be able to use the REST API to query list items but somehow use POST instead of GET, and pass the $select, $expand, etc. in the body of the request instead of the URL.
Is there a way to do that? I'm aware of the GetItems REST endpoint, but it seems that brings me back to where I was with CSOM since there doesn't seem to be a way to expand the user values (or is there?). I'm also aware that I can send my requests in a batch, but as far as I can tell, any requests within a batch are still subject to the same URL limits, so that doesn't seem to be a way around the URL limit.

If you are still having this issue, you can use pnp/js batching to eliminate this issue as the lengthy URL simply becomes part of the request payload.

@JLRishe - for POST requests you can use RenderListDataAsStream or just GetItems endpoint with POST method

I'm having the same issue - this is specifically an error occurring from following the __next variable in the paginated response, please see below.

As far as I am aware, no columns have been renamed or deleted - it is highly unlikely that anyone else has modified either. This error is reliably repeatable, occurring at the same point (12th page request). If this was genuinely a columns issue I would expect the first 12 page requests to fail too.
Worth noting that this issue did not occur on four previous sites that this code has ran against, I have 13 further SharePoint sites to process excluding this failing one and will reply again if I find more examples of this issue.


Hotfix rest Chinese encoding

What is the purpose of the change
When utilizing Dubbo REST with the @QueryParam annotation on parameters, issues with Chinese character decoding may arise. Refer to the 13349 issue for a comprehensive and detailed description of the problem, including its cause, solution, and an explanation of why it works.
Brief changelog
RequestFacade.initParameters will decode the request uri with UTF-8 before parsing uri to parameters.
Verifying this change

I add more unit tests , then can pass, and I recommend you refer the 13349 issue

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[x] Add some description to dubbo-website project if you are requesting to add a feature.
[x] GitHub Actions works fine on your own branch.
[x] If this contribution is large, please follow the Software Donation Guide.

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

Comparison is base (e583187) 70.38% compared to head (ea6c6fc) 70.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##              3.2   #13617      +/-   ##
==========================================
- Coverage   70.38%   70.37%   -0.02%
==========================================
  Files        1606     1606
  Lines       69999    70007       +8
  Branches    10098    10100       +2
==========================================
- Hits        49272    49266       -6
- Misses      16103    16113      +10
- Partials     4624     4628       +4

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

@suncairong163 PTAL

I'm wondering if anybody can review my code

As json standard format, non-ansi chars are not allowed, so is nessary to do this?

Take an example of SpringMVC framework, Chinese character encoding problems are very common among Chinese developers, and it offers solution. I think dubbo should also offer such solution to avoid such problems, even though it's not common to pass Chinese character as parameter. But in my situation,I does need to do so.

And many users including me, are not familiar with  json standard format(sorry for that).So this bug can be a trap

I know your case now.
BTW: It need/maybe process q param to parse Accept-Charset field like:
Accept-Charset: <charset>

// Multiple types, weighted with the [quality value](https://developer.mozilla.org/zh-CN/docs/Glossary/Quality_values) syntax:
Accept-Charset: utf-8, iso-8859-1;q=0.5

refer:
https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Accept-Charset

I add a new method parseAcceptCharset, it can deal with multi values related with Accept-Charset.
It worked well as demonstrated by unit test.
I think it's ok to take the charset with the biggest weight alone.
I'm doubtful whether these code have pratical function in most case. As Accept-Charset is not recommended to use.
Most importantly, OkhttpClient don't take Accept-Charset into consideration when encoding url,see:
builder.url(requestTemplate.getURL());  (OKHttpRestClient.java line 55)
But I still think adding Accept-Charset make code more rigorous and compatible

PATL, thanks


refactor(Dropdown): allow "object" as a valid PropTypes for "text"

Hello,
I'm using react-intl and it would be great to have the possibility to use it as an object instead of as a string. Actually, it's working but i have an error in my console saying me :

prop text of type object supplied to Dropdown, expected string

Here is an example :
<Dropdown button text={<FormattedMessage {...text} />}>
  <Dropdown.Menu>
    [...]
  </Dropdown.Menu>
</Dropdown>

Codecov Report

Merging #3431 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3431   +/-   ##
=======================================
  Coverage   99.92%   99.92%
=======================================
  Files         172      172
  Lines        2838     2838
=======================================
  Hits         2836     2836
  Misses          2        2

Impacted Files
Coverage Δ

src/modules/Dropdown/Dropdown.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

https://github.com/Semantic-Org/Semantic-UI-React/issues/3003#issuecomment-404647591
https://github.com/Semantic-Org/Semantic-UI-React/issues/3003#issuecomment-404627408
You're looking for a trigger prop 😺

Currently I'm working on some cleanups in Dropdown, need to check text/trigger, may be text can be safely removed to avoid confusions.

Thanks, it works like a charm with trigger. I missed it


Update Router Theme

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#36
#35  👈
#34
#33
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kanziw and the rest of your teammates on  Graphite

Merge activity

May 4, 11:51 AM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.