Recreating TIMIT results for phoneme recognition

❓ Questions and Help
Before asking:

search the issues.
Referenced this issue #2922
search the docs.

What is your question?
I am trying to replicate the wav2vec2.0 research paper's results for phoneme recognition on TIMIT.
As an intermediate step, I have fine-tuned a Wav2Vec 2.0 Large with No finetuning model using phonemes from librispeech's dev-clean dataset trained for 1760 epochs. When evaluating the best checkpoint after 1760 epochs on a subset of the dev-clean dataset (the same as the training set), I found that the WER (actually PER) is 100 because every prediction is an empty tensor.
My question is: is there something wrong with my setup that is causing these empty predictions? Do I just need to train for more epochs?
I only trained the model for ~14 hours on a single V100, so I don't expect the model to be stunning, but since I'm evaluating the model on a subset of the training set, I assume it should show some improvement.  And as a reference, when I evaluate a checkpoint trained for only a single epoch, the one-epoch checkpoint provides non-empty predictions with a WER of 97.0932. So, the model initially provides non-empty predictions.
Code
N/A
What have you tried?
I'll try to pretty detailed with my setup as a resource for anyone else trying to perform phoneme recognition with wav2vec2.0.
I created the train.tsv file using the steps @alexeib provides in issue #2922 using the wav2vec_manifest.py file.
Here are the files needed for training and evaluation:
.
├── dev_other.phn
├── dev_other.tsv
├── dict.phn.txt
├── train.phn
├── train.tsv
├── valid.phn
└── valid.tsv

I found the valid.tsv and valid.phn files were not necessary for training but the training code will complain if the dev_other.tsv and dev_other.phn files are missing.

 Note the task.data path points to the directory where the train.tsv and other files are located.  I'm using a single V100 which determines the distributed_training.distributed_world_size and +optimization.update_freq values.

The code here shows the beginning and end of my `hydra_train.log` file. As you can see, the `train_loss` value decreases by a factor of 4 over the 1760 epochs suggesting the model is improving on the loss function.
[2021-03-29 17:13:51,370][fairseq.trainer][INFO] - begin training epoch 3
[2021-03-29 17:13:51,370][fairseq_cli.train][INFO] - Start iterating over samples
[2021-03-29 17:14:19,216][fairseq_cli.train][INFO] - end of epoch 3 (average epoch stats below)
[2021-03-29 17:14:19,217][train][INFO] - {"epoch": 3, "train_loss": "1397.73", "train_ntokens": "89218", "train_nsentences": "1307", "train_nll_loss": "20.476", "train_wps": "6380.8", "train_ups": "0.07", "train_wpb": "89218", "train_bsz": "1307", "train_num_updates": "3", "train_lr": "6.14231e-07", "train_gnorm": "647.555", "train_loss_scale": "0.125", "train_train_wall": "26", "train_gb_free": "7.5", "train_wall": "90"}
...
[2021-03-30 07:38:32,216][fairseq.trainer][INFO] - begin training epoch 1761
[2021-03-30 07:38:32,217][fairseq_cli.train][INFO] - Start iterating over samples
[2021-03-30 07:39:11,820][fairseq_cli.train][INFO] - end of epoch 1761 (average epoch stats below)
[2021-03-30 07:39:11,820][train][INFO] - {"epoch": 1761, "train_loss": "335.217", "train_ntokens": "89218", "train_nsentences": "1307", "train_nll_loss": "4.911", "train_wps": "4429.1", "train_ups": "0.05", "train_wpb": "89218", "train_bsz": "1307", "train_num_updates": "3510", "train_lr": "5e-05", "train_gnorm": "13.555", "train_loss_scale": "1", "train_train_wall": "26", "train_gb_free": "7.5", "train_wall": "51982"}

I don't fully understand how the model could decrease the training loss while also learning to predict empty tensors.

INFO:__main__:WER: 97.09322935129387

And here are the excerpts from the evaluation for the 1760-epoch checkpoint.
INFO:__main__:WER: 100.0

I looked inside the `encoder_input` and `emissions` and found the values were pretty small but not uniformly zero. It's hard for me to understand what are reasonable values for the `encoder_inputs` and `emissions`.
~~~ drz: encoder_input:
~~~ drz: source,mask shape: torch.Size([8, 261760]), torch.Size([8, 261760])
~~~ drz: source 1 sum: -0.387939453125
~~~ drz: contents: {'source': tensor([[ 3.0518e-05,  3.0518e-05,  9.1553e-05,  ...,  0.0000e+00,
         -1.2207e-04, -3.0518e-05],
        [-6.7139e-04, -8.5449e-04, -7.6294e-04,  ...,  0.0000e+00,
          0.0000e+00,  0.0000e+00],
        [ 0.0000e+00,  0.0000e+00,  0.0000e+00,  ...,  0.0000e+00,
          0.0000e+00,  0.0000e+00],
        ...,
        [-6.4087e-04, -7.3242e-04, -8.5449e-04,  ...,  0.0000e+00,
          0.0000e+00,  0.0000e+00],
        [-2.1362e-04, -2.1362e-04, -2.7466e-04,  ...,  0.0000e+00,
          0.0000e+00,  0.0000e+00]], device='cuda:0'), 'padding_mask': tensor([[False, False, False,  ..., False, False, False],
        [False, False, False,  ...,  True,  True,  True],
        [False, False, False,  ...,  True,  True,  True],
        ...,
        [False, False, False,  ...,  True,  True,  True]], device='cuda:0')}

~~~ drz: model has get_logits: True
~~~ drz: emissions:
~~~ drz: emissions shape: torch.Size([24, 439, 43])
~~~ drz: contents: tensor([[[ 10.6958,  -7.8463,  -8.0892,  ...,  -7.1404,  -8.0253,  -7.1810],
         [ 10.6323,  -7.7410,  -7.9552,  ...,  -7.0427,  -7.9897,  -7.0889],
         [ 10.6305,  -7.7033,  -7.9448,  ...,  -6.9910,  -7.9354,  -7.0399],
         ...,
         [ 10.9660,  -7.8253,  -8.2720,  ...,  -7.1628,  -7.9288,  -7.2011],
         [ 10.9660,  -7.8253,  -8.2720,  ...,  -7.1628,  -7.9288,  -7.2011],
         [ 10.9660,  -7.8253,  -8.2720,  ...,  -7.1628,  -7.9288,  -7.2011]]])

For other people trying to do this, I found I also need to install the flashlight python bindings as described in the README to run evaluation. I thought I wouldn't need to do this as the README only mentions the bindings when using a language model (which I'm not using), but I found that I needed the flashlight bindings to use the viterbi decoder.
To install flashlight, the KenLM, OpenBLAS, FFTW, dependencies weren't too hard to install, though installing intel's MKL was pretty annoying and it wasn't listed as a necessary dependency for flashlight but I couldn't get flashlight to build without it.
I'm going to try another training run using 8 V100's to see if training longer will resolve the issue with the empty predictions.
Thanks for the help!
What's your environment?

fairseq Version: 0.10.2
PyTorch Version: 1.7.1
OS (e.g. Linux): Ubuntu 18.04
How you installed fairseq (pip, source): pip install --editable ./
Build command you used (if compiling from source):
Python version: 3.8.2
CUDA/cuDNN version: 11.2
GPU models and configuration: Nvidia Tesla V100
Any other relevant information: Built flashlight python bindings from source

re: "dev_other", this is something you can change in the finetuning config file - just specify "valid" as dataset.valid_subset value
re: loss - the important thing to look at is train_nll_loss (because this is per token loss). for small vocab size like phones you want it below 1 before you start getting good results. nll loss of 4-ish is basically random chance. if it cant improve over that it means there is something wrong with your setup (maybe data in tsv/phn files is not aligned?)
re: evaluation, yes i know it is annoying to install flashlight even for viterbi eval which strictly isnt needed because we have the code to do this in ctc.py. i am planning on changing viterbi decoder to not require flashlight when i get a chance

Thanks for the quick response, @alexeib!
re: "dev_other" - noted.
re: loss - Great, thank you for the tip on the train_nll_loss and for an expectation of when I should start seeing good results; this was exactly what I was looking for. I double checked the alignment on the tsv/phn files and didn't find an error there. I am going to  start a training run with 8-V100's on the timit training set tonight, so I'll see if the train_nll_loss drops below 1.
re: evaluation - Installing flashlight was annoying but wasn't that big of a deal.
Two more question on recreating the wav2vec2 phoneme results. 1) The paper states: "We fine-tune as for the 10 hour subset of Libri-light". Does this coorespond to using the fairseq/examples/wav2vec/config/finetuning/vox_10h.yaml file for training? And 2) what pretrained model did you finetune from, the Wav2Vec 2.0 Large (LV-60)* with No finetuning model?

vox_10h is finetuning of the librivox model (different from the base or large librispeech model due to different normalization of data). for the base model you should use base_10h
yes, you should always finetune the "no finetuning" version of the model

I see, thank you for clarifying that. After reviewing your paper again, I see you reported SOTA results on TIMIT using the LARGE (LS-960) (Wav2Vec 2.0 Large with No finetuning using the github notation). Since the LARGE (LS-960) model is pre-trained on librispeech, I assume I can still use the base_10h config, even though it is a large (rather than a base) model, right?
I would have expected to get the best phoneme results finetuning from the Large (LV-60k) model because it had the best results on the WER tasks, though I expect you reported TIMIT results in the paper using the LARGE (LS-960) for a reason. Did you find that finetuning from the LARGE (LS-960) model produced better results than finetuning from the Large (LV-60k) model for predicting phonemes on TIMIT?
As a side-note, it blows my mind how effective the wav2vec2.0 model is when pretrained on only 960hrs of librispeech. I can see how you'd get a good model pretraining across all 53k hours of librivox, but the fact that you get similar predictive results when pretraining on only 960hrs really speaks to the power of the architecture. Wow.
Thanks again for the help!

When using 8-V100's on a single node and running the command below:
fairseq-hydra-train     \
    distributed_training.distributed_port=1234     \
    task.data=/mnt/disks/data_diata/timit/fair/  \
    model.w2v_path=/home/dzubke/fairseq/examples/wav2vec/models/libri960_big.pt  \
    distributed_training.distributed_world_size=8  \
    +optimization.update_freq='[3]' \
    task.labels="phn"  \
     --config-dir /home/dzubke/fairseq/examples/wav2vec/config/finetuning   \
     --config-name base_10h.yaml

I encountered: AssertionError: Default process group is not initialized.

here is the full traceback
Traceback (most recent call last):
  File "/home/dzubke/miniconda/envs/pyt_18/bin/fairseq-hydra-train", line 33, in <module>
    sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-hydra-train')())
  File "/home/dzubke/fairseq/fairseq_cli/hydra_train.py", line 91, in cli_main
    hydra_main()
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/main.py", line 32, in decorated_main
    _run_hydra(
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/_internal/utils.py", line 346, in _run_hydra
    run_and_report(
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/_internal/utils.py", line 201, in run_and_report
    raise ex
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/_internal/utils.py", line 198, in run_and_report
    return func()
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/_internal/utils.py", line 347, in <lambda>
    lambda: hydra.run(
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 107, in run
    return run_job(
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/hydra/core/utils.py", line 127, in run_job
    ret.return_value = task_function(task_cfg)
  File "/home/dzubke/fairseq/fairseq_cli/hydra_train.py", line 45, in hydra_main
    distributed_utils.call_main(cfg, pre_main)
  File "/home/dzubke/fairseq/fairseq/distributed/utils.py", line 366, in call_main
    main(cfg, **kwargs)
  File "/home/dzubke/fairseq/fairseq_cli/train.py", line 121, in main
    trainer = Trainer(cfg, task, model, criterion, quantizer)
  File "/home/dzubke/fairseq/fairseq/trainer.py", line 144, in __init__
    if self.data_parallel_rank == 0:
  File "/home/dzubke/fairseq/fairseq/trainer.py", line 177, in data_parallel_rank
    return distributed_utils.get_data_parallel_rank()
  File "/home/dzubke/fairseq/fairseq/distributed/utils.py", line 460, in get_data_parallel_rank
    return get_rank(get_data_parallel_group())
  File "/home/dzubke/fairseq/fairseq/distributed/utils.py", line 402, in get_rank
    return dist.get_rank(group=group)
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 616, in get_rank
    _check_default_pg()
  File "/home/dzubke/miniconda/envs/pyt_18/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 210, in _check_default_pg
    assert _default_pg is not None, \
AssertionError: Default process group is not initialized

And here is the full train log: hydra_train.log
I saw your reply to this comment, which referenced the same pytorch AssertionError though that didn't give me any troubleshooting ideas.
I set the distributed world size and as described in the README based a default of 24 GPU's.
I played a bit around with the values for distributed_rank and nproc_per_node but that didn't help. Nor did searching for the error on pytorch threads.

The issue that was causing the AssertionError: Default process group is not initialized was specifying the value for the distributed_training.distributed_port as I'm just training on a single node with multiple GPU's.
If instead, I remove the distributed_port value from the command, I go onto the next if-statement calling the _infer_single_node_init method here: https://github.com/pytorch/fairseq/blob/14807a361202ba34dbbd3a533899db57a0ebda19/fairseq/distributed/utils.py#L63
This resolves the AssertionError.

I was able to approximately recreate the phoneme recognition results on the timit dataset. My training and validation sets were different from those used in the research paper as I used a train/validation split specified: here.
My finetuned model achieved a 8.6 PER on my timit validation set, which is very close to the  7.4 dev-PER and 8.3 test-PER values in the paper. Given the differences in the dev-sets, this represents a re-creation of the phoneme recognition results for my purposes.
 I used a different but equivalent collapsing of the original 60 timit phonemes outlined here.
Below is the training command I ran. I had to reduce the max-tokens (similar to batch-size) a few times to avoid a GPU out-of-memory error. Because of the OOM errors, I started the subsequent training runs from a checkpoint with the checkpoint.restore_file value. I'm not sure if specifying both the checkpoint.restore_file and model.w2v_path values are redundant, but using both seemed to work.
fairseq-hydra-train     \
    task.data=/mnt/disks/data_disk/data/timit/fair/ \
    model.w2v_path=/home/dzubke/fairseq/examples/wav2vec/models/libri960_big.pt  \
    checkpoint.restore_file=/home/dzubke/fairseq/outputs/2021-04-02/12-08-06/checkpoints/checkpoint_last.pt \
    dataset.max_tokens=1000000  \
    distributed_training.distributed_world_size=8 \
    +optimization.update_freq='[3]' \
    --config-dir /home/dzubke/fairseq/examples/wav2vec/config/finetuning  \
    --config-name base_10h_2021-04-01.yaml

Here are the final outputs from my hydra_train.log file
[2021-04-03 19:14:55,481][fairseq.trainer][INFO] - begin training epoch 3274
[2021-04-03 19:14:55,481][fairseq_cli.train][INFO] - Start iterating over samples
[2021-04-03 19:15:09,136][train_inner][INFO] - {"epoch": 3274, "update": 3273.308, "loss": "1.034", "ntokens": "13235.3", "nsentences": "352.5", "nll_loss": "0.028", "wps": "7770.9", "ups": "0.59", "wpb": "13235.3", "bsz": "352.5", "num_updates": "20000", "lr": "2.5e-06", "gnorm": "16.069", "loss_scale": "16", "train_wall": "149", "gb_free": "6.4", "wall": "0"}
[2021-04-03 19:15:09,136][fairseq_cli.train][INFO] - Stopping training due to num_updates: 20000 >= max_update: 20000
[2021-04-03 19:15:09,137][fairseq_cli.train][INFO] - begin validation on "valid" subset
[2021-04-03 19:15:20,483][valid][INFO] - {"epoch": 3274, "valid_loss": "45.152", "valid_ntokens": "3750", "valid_nsentences": "100", "valid_nll_loss": "1.204", "valid_uer": "8.576", "valid_wer": "91.6", "valid_raw_wer": "91.6", "valid_wps": "6373.6", "valid_wpb": "3750", "valid_bsz": "100", "valid_num_updates": "20000", "valid_best_wer": "89.8"}
~~~ drz: making checkpoint dir ~~~~
[2021-04-03 19:15:20,485][fairseq.checkpoint_utils][INFO] - Preparing to save checkpoint for epoch 3274 @ 20000 updates
[2021-04-03 19:15:20,486][fairseq.trainer][INFO] - Saving checkpoint to checkpoints/checkpoint_3274_20000.pt
[2021-04-03 19:15:28,497][fairseq.trainer][INFO] - Finished saving checkpoint to checkpoints/checkpoint_3274_20000.pt
[2021-04-03 19:15:40,214][fairseq.checkpoint_utils][INFO] - Saved checkpoint checkpoints/checkpoint_3274_20000.pt (epoch 3274 @ 20000 updates, score 91.6) (writing took 19.728936845000135 seconds)
[2021-04-03 19:15:40,215][fairseq_cli.train][INFO] - end of epoch 3274 (average epoch stats below)
[2021-04-03 19:15:40,217][train][INFO] - {"epoch": 3274, "train_loss": "1.01", "train_ntokens": "13379.8", "train_nsentences": "350", "train_nll_loss": "0.026", "train_wps": "1156.4", "train_ups": "0.09", "train_wpb": "13379.8", "train_bsz": "350", "train_num_updates": "20000", "train_lr": "2.5e-06", "train_gnorm": "14.514", "train_loss_scale": "16", "train_train_wall": "4", "train_gb_free": "6.4", "train_wall": "0"}

As Alexei had mentioned above, my previous train_nll_loss was too high at around 4. At the end of this training run, it dropped to 0.026.
The training job ran for ~3300 epochs with 20,000 updates. These training values were unchanged from the original base_10h.yaml file. I only changed the dataset.valid_subset and common.tensorboard_logdir values in the modified base_10h_2021-04-01.yaml file. Using 8-V100's, this took roughly 24 hours to train.
Thanks, @alexeib, for the help!

As a point of clarification, I began this thread training on the 39 cmu-dict phonemes in the librispeech dataset, but I ended the thread training on a different set of 39 phonemes on the timit dataset.

I completed the pre-training and fine-tuning.
Now in the evaluation stage when I use the python script:
python3 examples/speech_recognition/infer.py /home/people/22204840/fairseq/manifest --task audio_finetuning --nbest 1 --path /home/people/22204840/fairseq/outputs/2023-06-18/11-22-08/checkpoints/checkpoint_best.pt --gen-subset test --results-path /home/people/22204840/fairseq/outputs/results --w2l-decoder viterbi --criterion ctc --labels phn --max-tokens 4000000
I am getting this error
Traceback (most recent call last):
File "/home/people/22204840/fairseq/examples/speech_recognition/infer.py", line 436, in
cli_main()
File "/home/people/22204840/fairseq/examples/speech_recognition/infer.py", line 432, in cli_main
main(args)
File "/home/people/22204840/fairseq/examples/speech_recognition/infer.py", line 246, in main
task.load_dataset(args.gen_subset, task_cfg=saved_cfg.task)
File "/home/people/22204840/fairseq/fairseq/tasks/audio_finetuning.py", line 140, in load_dataset
super().load_dataset(split, task_cfg, **kwargs)
File "/home/people/22204840/fairseq/fairseq/tasks/audio_pretraining.py", line 150, in load_dataset
if task_cfg.multi_corpus_keys is None:
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 305, in getattr
self._format_and_raise(key=key, value=None, cause=e)
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/base.py", line 95, in _format_and_raise
format_and_raise(
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/_utils.py", line 629, in format_and_raise
_raise(ex, cause)
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/_utils.py", line 610, in _raise
raise ex  # set end OC_CAUSE=1 for full backtrace
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 303, in getattr
return self._get_impl(key=key, default_value=DEFAULT_VALUE_MARKER)
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 361, in _get_impl
node = self._get_node(key=key)
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 383, in _get_node
self._validate_get(key)
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 135, in _validate_get
self._format_and_raise(
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/base.py", line 95, in _format_and_raise
format_and_raise(
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/_utils.py", line 694, in format_and_raise
_raise(ex, cause)
File "/home/people/22204840/anaconda3/lib/python3.9/site-packages/omegaconf/_utils.py", line 610, in _raise
raise ex  # set end OC_CAUSE=1 for full backtrace
omegaconf.errors.ConfigAttributeError: Key 'multi_corpus_keys' is not in struct
full_key: task.multi_corpus_keys
reference_type=Any
object_type=dict


Timeout while Client creation

Hey,
First of all we are using:
vapi: 0.0.9
Flutter: 3.22.2
We are trying to add vapi to our flutter app but we get a timeout error while the client is created (see image). The app crashed right after. It happens also on real devices.

We are using the example from the repository:
Future<void> test() async {
    setState(() {
      buttonText = 'Loading...';
      isLoading = true;
    });
    try {
      if (!isCallStarted) {
        await vapi.start(assistantId: VAPI_ASSISTANT_ID);
      } else {
        await vapi.stop();
      }
    } catch (err) {
      print(err);
    }
  }
}

Thanks!

Could you try increasing the timeout manually? Seemed to work in another issue #6

tried that already didnt worked :/

@nikhilro so it seems like that one of your dependecies daily_flutter is causing that issue. Not 100% sure but maybe you can also check it again?

daily_flutter is essential because we use daily for webrtc transport. this sdk should actually be a thin wrapper on daily_flutter. i'm pretty swamped with infra right now. if someone wants to take a stab at making the sdk work, happy to merge their PR.
for reference code, this is how web sdk works with dailyjs: https://github.com/VapiAI/web/blob/main/vapi.ts (again, should be pretty thin wrapper)

wish i could take a stab.. i'm more of a hacker than an engineer. hope we can see progress here soon. good luck. blocked from development

#10 might solve the creation timeout. Lmk if any issues remaining.

still not working for me.. fwiw i'm a flutter youtuber with 15k+ subs.. i wanna cover this on youtube and make a course on using this with flutterflow. just need this client connection established. really appreciate your help <3
vapi: ^0.0.9

Oh sh**! I got it. Increased timeout to 5000ms but it connected pretty much instantly. LETS GO

Ah, but then I ran into this:


Curried version for usage with promises and callbacks

In async operations you often have to just log something without breaking the chain. Take this example:
somePromise
.then(doSomething)
.then(doSomethingElse)

Now suppose I just want to debug the value between "doSomething" and "doSomethingElse", I'll have to add this:
somePromise
.then(doSomething)
.then(value => {
  debug('ze value', value)
  return value
}, err => {
  debug('ze error', err)
  throw err
})
.then(doSomethingElse)

Same with callbacks:
asyncOperation(cb)

// would become
asyncOperation((err, value) => {
  debug('ze result', err, value)
  cb(err, value)
})

I'd suggest to add some handy shortcuts to handle that in debug:
somePromise
.then(doSomething)
.then(debug.asap('ze result'), debug.asap('ze error'))
.then(doSomethingElse)

asyncOperation(debug.asap('ze result', cb))

Dumb implementation:
debug.asap = (message, cb) => {
  if (!cb) {
    // promise version
    return val => {
      debug(message, val)
      if (val instanceof Error) {
        throw val
      } else {
        return val
      }
    }
  } else {
    // callback version
    return (err, val) => {
      debug(message, err, val)
      cb(err, val)
    }
  }
}

What do you think? Not sure at all about the name, but I think it would be a nice addition to this library as it's a very common use case of a widely-used tool.

+1 for a wrapper

I actually created this last year: tap-debug
It does what you're looking for, plus has a few extra features for more complex logs.

Not sure that we'd really wanna do something like this in the core lib.  It seems like async/await being around the corner is the real solution here, as you won't need curry to make the code look clean for async stuff


Broadcast Setting

What steps will reproduce the problem?

In Network Options use Broadcast Settings

What is the expected output? What do you see instead?
SoulissApp should send a broadcast UDP/IP frame on port 230 with the IP information (address, subnetmask, gateway, SSID for WiFi and Password for WiFi).
Actually SoulissApp doesn't send any broadcast frame. Probably data are not sent because SoulissApp isn't connected with the gateway, but as configuration parameter this should be sent as broadcast.
Please note also that all the IP setting are shown in the app in a reverse way, like <IP_ADDRESS>. This is probably due to a bigendian way to handle word.

The functional code to set the IP address of the gateway from SoulissApp has changed as follow:
MaCaco_SETIP			0x3D

More details here in [Set IP Address and WiFi Parameters](https://github.com/souliss/souliss/wiki/MaCaco Light-Data Protocol#Set IP Address and WiFi Parameters) paragraph.

please confirm the following datagram is correct:
bridge gateway: <IP_ADDRESS>
SSID broadcast parameter:wifissid
SSID password parameter:wifipass
frame debug: 0x1e 0x1d 0x17 0xff 0xff 0x6 0x39 0x3b 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0x1 0x0 0xa8 0xc0 0x4 0x4 0xef 0xef 0xef 0xfd 0xef 0xef 0xfa 0xef
is this correct?

The configuration is with three functional codes:

Static IP Address, Subnet Mask, IP Gateway and Souliss Gateway/Peer
configuration
Set SSID
Set Password

The description of the functional codes and the structure is here
https://github.com/souliss/souliss/wiki/MaCaco Light-Data Protocol#set-ip-address-and-wifi-parameters
Please consider that actually SoulissApp display the address is
reverse way <IP_ADDRESS>
instead of <IP_ADDRESS>. The order in the MaCaco frame is from left to
right, so starting from 192 over to the other numbers.
The frame should be sent as UDP broadcast. The wiki page contains only the
details on the MaCaco frame, the vNet has as usual addresses and length as
others.
Let me know if other details are required.

yes, I'd need the confirmation for reported frame parameters. Reverse IP are a separate problem, please don't consider it here.

No is not, the frame you posted is:
0x1e 0x1d 0x17 0xff 0xff 0x6 0x39 0x3b 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff
0x1 0x0 0xa8 0xc0 0x4 0x4 0xef 0xef 0xef 0xfd 0xef 0xef 0xfa 0xef
A frame vNet + MaCaco is
0x18, 0x17, 0x17, 0xFF, 0xFF, addr, addr, 0x2D, 0x00, 0x00, Gateway/Peer,
0x0C, IP1, IP2, IP3, IP4, SB1, SB2, SB3, SB4, GW1, GW2, GW3, GW4
Where addr, addr is the vNet address for SoulissApp that was 0x06, 0x39 in
your previous example. Gateway/Peer is 0x1 for Gateway option and 0x0 for
Peer one.
To set SSID and Password just use 0x2E and 0x2F and include the SSID or
Password in the payload.
For any further detail let me know.

ok, I think we're on the good way
parsed bcast_IP parameter:<IP_ADDRESS>
parsed bcast_subnet parameter:<IP_ADDRESS>
parsed bcast_gateway parameter:<IP_ADDRESS>
parsed bcast_ssid parameter:
parsed bcast_passwd parameter:
frame debug: 0x16 0x15 0x17 0xff 0xff 0x6 0x7 0x3b 0x1 0x2 0x3 0x4 0xff 0xff 0xff 0x0 0xc0 0xa8 0x0 0x1 0x0 0x0
the payload is somehow correct, but the headers still broken :(

Yep, you are missing the header of MaCaco.

so you mean I have to send three packets, right?

parsed bcast_IP parameter:<IP_ADDRESS>
parsed bcast_subnet parameter:<IP_ADDRESS>
parsed bcast_gateway parameter:<IP_ADDRESS>
parsed bcast_ssid parameter:6666666
parsed bcast_passwd parameter:77777777
frame debug: 0x18 0x17 0x17 0xff 0xff 0x6 0x7 0x2d 0x0 0x0 0x0 0xc 0x1 0x2 0x3 0x4 0xff 0xff 0xff 0x0 0xc0 0xa8 0x0 0x1
frame debug: 0x13 0x12 0x17 0xff 0xff 0x6 0x7 0x2e 0x0 0x0 0x0 0x7 0x36 0x36 0x36 0x36 0x36 0x36 0x36
frame debug: 0x14 0x13 0x17 0xff 0xff 0x6 0x7 0x2f 0x0 0x0 0x0 0x8 0x37 0x37 0x37 0x37 0x37 0x37 0x37 0x37

Looks good, please consider that is required one more option as Gateway or
Peer (that can now be defined at runtime). In your example this node is a
Peer.
Please consider that you should send the SSID and Password only if are not
empty.
Don't send stop character.
Consider that in the actual SoulissApp np frame get broadcasted.
Dario.
From Mobile.
On 27 Aug 2015 01:35, "shineangelic"<EMAIL_ADDRESS>wrote:

parsed bcast_IP parameter:<IP_ADDRESS>
parsed bcast_subnet parameter:<IP_ADDRESS>
parsed bcast_gateway parameter:<IP_ADDRESS>
parsed bcast_ssid parameter:6666666
parsed bcast_passwd parameter:77777777
frame debug: 0x18 0x17 0x17 0xff 0xff 0x6 0x7 0x2d 0x0 0x0 0x0 0xc 0x1 0x2
0x3 0x4 0xff 0xff 0xff 0x0 0xc0 0xa8 0x0 0x1
frame debug: 0x13 0x12 0x17 0xff 0xff 0x6 0x7 0x2e 0x0 0x0 0x0 0x7 0x36
0x36 0x36 0x36 0x36 0x36 0x36
frame debug: 0x14 0x13 0x17 0xff 0xff 0x6 0x7 0x2f 0x0 0x0 0x0 0x8 0x37
0x37 0x37 0x37 0x37 0x37 0x37 0x37
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/1#issuecomment-135205517.

Ok for everything, apart from "Don't send stop character." What do you mean?

Some times strings contains an ASCII stop char, so "Dario" will be 6 char
lenght and not 5 because after the o is automatically added the stop char.
In case I can change the code on the node side to match the SoulissApp
behavior.
Could you please try with Wireshark that the broadcast frame is sent out?
Thanks,
Dario.

I didn't get where you found "zeroes" in my example :/

If your log is generated passing a string there will be no problem. To have a test, you can provide me an APK or log on a Wireshark session from your PC while sending the remote configuration.
Thanks.

Ty both for your work, if I can help just tell me :)
Regards
2015-08-27 10:58 GMT+02:00 Dario Di Maio<EMAIL_ADDRESS>
If your log is generated passing a string there will be no problem. To
have a test, you can provide me an APK or log on a Wireshark session from
your PC while sending the remote configuration.
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/1#issuecomment-135349020.

you could hel sending some cellphone screenshots of the app in spanish,
needed for the market page
Thank you!
2015-08-27 15:52 GMT+02:00 juanpintom<EMAIL_ADDRESS>
Ty both for your work, if I can help just tell me :)
Regards
2015-08-27 10:58 GMT+02:00 Dario Di Maio<EMAIL_ADDRESS>
If your log is generated passing a string there will be no problem. To
have a test, you can provide me an APK or log on a Wireshark session from
your PC while sending the remote configuration.
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/1#issuecomment-135349020.

—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/1#issuecomment-135439472.

The Broadcast Settings formats the frames in the proper way (see below picture) but the app crash if not all data has been set. The app shall send also partial configuration based on the information that are available, following rules applies:

for 0x2D data that are not available shall be set at zero, always send the frame
for 0x2E and 0x2F if data are not available don't send out the frame

I've missed to provide an option, that is DHCP or Static IP address, this shall be set using the Start Offset parameter as follow:

Mode
Start Offset Value

Gateway with Static IP Address
0x01

Gateway with DHCP IP Address
0x02

Peer with Static IP Address
0x03

Peer with DHCP IP Address
0x04

The Broadcast Settings is not in accordance with protocol specification, here some details:

The Start Offset value doesn't follow properly the table included in the previous comment, the option Gateway with DHCP IP Address and Peer with Static IP Address works fine rather Gateway with Static IP Address and Peer with DHCP IP Address are reversed.

The SSID and Password shall be sent using two different frames each one with a dedicated functional code (0x2E, 0x2F). Actually send one frame with 0x2E with both SSID and Password as Payload.

As stated in the previous comment, the frame structure was fine as before but the app was crashing. Now the app doesn't longer crash bu the frame structure is wrong.

the second bug has been corrected.
The first one seems fine:
 if (useDhcp){
		if (isGateway)
			dhcpOrStatic =0x2;
		else
			dhcpOrStatic=0x4;
	}else{
		if (isGateway)
			dhcpOrStatic =0x1;
		else
			dhcpOrStatic=0x3;
	}

gateway static 0x1
gateway dhcp 0x2
peer static 0x3
peer dhcp 0x4
seems fine...

Likely there is a swap of the checkbox, because I get the right value only
when both are cheked or both are unchecked.
So looks like that DHCP checkbox is the Gateway one and viceversa. Probably
is a mistake on the description of the user interface.
Dario.
From Mobile.

A couple more,

Please display an on-screen message once the frames has been sent out.
The WiFi Password is shown also after the configuration has been sent,
is better to clear that value after.

Thanks.
From Mobile.

It is impossible to swap checkboxes, because the first two combinations work fine and prove that both DHCP/peer settings are fine. Are you really sure of this? Can you make an example of wrong value?

a Toast is already shown, telling to the user that the packet has been sent

2)I wouldn't delete the String, maybe masquerading it ( ******* ) is fine?

I will test it again and let you know, should I have to test on my current APK or you will release another APK for testers only?
The Toast doesn't display in my case, i think that * could be fine if this information could leak somehow.

I confirm that the output values are not as on the table, from my point of view the check-boxes are swapped, because I can see the right values only when both are checked or unchecked.
Please check if on the UI the checkboxes and the read variables are connected as expected.

Using the testing release 1.5.4 the app crashed while trying to send the broadcast frame.

Is actually working even if the table of the Start Offset value is not matching with the table. Probably this is because Gateway and DHCP are with checkbox not selected so that seems reversed. But in any case, keep it as is, I will change the protocol.

are you sure? We can go on breaking it again..

I've changed the docs and I will update the code accordingly :)


AMRVis visual spreadsheets

The Spreadsheet plot in VisIt behaves like the ChomboVis spreadsheets in that it shows a single box/patch. AMRVis had some capbilities were a spreadsheet is more a slice to the data and can show transitions between levels. More information about this topic can be found here: http://www.sci.utah.edu/vacetwiki/images/4/47/Visual_spreadsheets.doc NOTE: This is a VACET project that has been delayed for quite a while. Before possibly starting the issue should be re-evaluated with LBNL CCSE.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 422
Status: Developer Review
Project: VisIt
Tracker: Feature
Priority: Low
Subject: AMRVis visual spreadsheets
Assigned to: -
Category: -
Target version: -
Author: Gunther Weber
Start: 10/13/2010
Due date:
% Done: 0%
Estimated time:
Created: 10/13/2010 06:03 pm
Updated: 11/02/2010 03:03 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
The Spreadsheet plot in VisIt behaves like the ChomboVis spreadsheets in that it shows a single box/patch. AMRVis had some capbilities were a spreadsheet is more a slice to the data and can show transitions between levels. More information about this topic can be found here: http://www.sci.utah.edu/vacetwiki/images/4/47/Visual_spreadsheets.doc NOTE: This is a VACET project that has been delayed for quite a while. Before possibly starting the issue should be re-evaluated with LBNL CCSE.
Comments:

closing since vacet effort is over


Add doc examples

Goal

[x] Examples for all the plotter
[x] Design considerations for visualisations
[x] Setup issue and pull request templates + contributing guidelines

Codecov Report

Merging #59 (997c379) into main (d5274a2) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #59   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           36        36
  Lines         1131      1131
  Branches       134       134
=========================================
  Hits          1131      1131

Flag
Coverage Δ

Unit_Tests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@KD-7 Ready for review.

Do we intend to leave this here? In the word plotter example

 Do we intend to leave this here? In the word plotter example

As a side note for the Note admonition you can use warning instead which would be:
.. warning::
Ref: https://pradyunsg.me/furo/reference/admonitions/

 Do we intend to leave this here? In the word plotter example

As a side note for the Note admonition you can use warning instead which would be: .. warning::
Ref: https://pradyunsg.me/furo/reference/admonitions/

Sure. I will change this later.

 Do we intend to leave this here? In the word plotter example

As a side note for the Note admonition you can use warning instead which would be: .. warning::
Ref: https://pradyunsg.me/furo/reference/admonitions/

Sure. I will change this later.

I updated that comment I made, we can put the future warning in an admonition since its easier and nicer to read.

 Do we intend to leave this here? In the word plotter example

As a side note for the Note admonition you can use warning instead which would be: .. warning::
Ref: https://pradyunsg.me/furo/reference/admonitions/

Sure. I will change this later.

I updated that comment I made, we can put the future warning in an admonition since its easier and nicer to read.

So, you mean we remove the captured output in the yellow box?

admonition

Done.

@KD-7 I have found the real cause of the word plotter failure. Now I've bumped it up to support <= Python 3.10.
Ready for review again.

What was the cause? Matplotlib?

@KD-7 I have found the real cause of the word plotter failure. Now I've bumped it up to support <= Python 3.10.
Ready for review again.

What was the cause? Matplotlib?

Yep. Because of the backend matplotlib uses. Here are some discussions about this:

https://github.com/matplotlib/matplotlib/issues/22378
https://discourse.matplotlib.org/t/azure-pipeline-is-failing-randomly-when-using-plt-subplots-because-of-tcl/22893
https://stackoverflow.com/questions/35145314/tclerror-matplotlib-1-5-0

How about now?

You added a flag to the makefile, but you didnt document it in the docs

How about now?

You added a flag to the makefile, but you didnt document it in the docs

You mean the target html-noplot?

How about now?

You added a flag to the makefile, but you didnt document it in the docs

You mean the target html-noplot?

yes

How about now?

You added a flag to the makefile, but you didnt document it in the docs

You mean the target html-noplot?

Yea, could you just clarify for me

How about now?

You added a flag to the makefile, but you didnt document it in the docs

You mean the target html-noplot?

How about now?

You added a flag to the makefile, but you didnt document it in the docs

You mean the target html-noplot?

Yea, could you just clarify for me

When you use make html-noplot, the sphinx gallery will not run the plotting examples. This is helpful if you only want to preview the changes you have made to other parts of the documentation.


wayland: add touch support to the wayland backend

Goal currently is to get support working for a single output, thus there is only one touch device created.
Multi-output support is left for later.

Good catches, can you submit these as a PR?


updateConfig method

An extra method to use at startup in order to handle a case where a user plugins files from the ~/.dext/plugins directory.

Coverage decreased (-4.3%) to 95.652% when pulling d21443d691b51684c2a9f60a092542cd05facb6c on mrjohnyhats:develop into d6fb6939641cea1f0a05462846bd166921c7370d on vutran:develop.


enhanceEnable the MTMVRelatedTableIf interface to support mvcc 2

What problem does this PR solve?
Add snapshotId as a parameter to the getPartitionType, getPartitionColumnNames, and getPartitionColumns methods of MTMVRelatedTableIf, as the partition information for different snapshotId may vary
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Continuing to optimize on the basis of https://github.com/apache/doris/pull/44419
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[x] No need to test or manual test. Explain why:

[x] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run cloud_p0

run p0

run buildall

run p0

run cloud_p0

run buildall

run cloud_p0

run performance

run beut

run cloudut


Installation & Packaging

Hi, I've seen the project and was wondering if it might be a good idea to add the plugin to the krew package index.
Krew is a kubectl plugin manager and it would be great to see kboom in there.
https://github.com/kubernetes-sigs/krew
If there are any questions I'm happy to help :)

Thanks for raising this point @lbb and well aware of the awesome krew project. Would be great to have it on that index, indeed. PR welcome ;)


Allow non url characters in tags

creating a tag with / or . will cause troubles. For example CI/CD tag is currently impossible.

So I currently use Zola and would like to move to BlazorStatic in the future, but I just did some testing with both of these characters and it simply replaces non-alphanumeric characters with - for the URLs but will still display the original tag, which I think is a reasonable choice.
So, for example, in the tags it will display "ci.cd", but when you click it the slug will be "/path/to/tags/ci-cd".  I did notice that if you have colliding tags like "ci.cd", "ci/cd", and "ci-cd" for one post, they all display fine but when you visit  "/path/to/tags/ci-cd" would list the same post three times, which might be confusing, but I think just swapping the character for a hyphen (-) is one of the easiest solutions.
What do you think?

Interesting investigation.
I was thinking more about url encode...
ci/cd---ci cd---cd.cd---c#---:---|---*
becomes
ci%2Fcd---ci%20cd---cd.cd---c%23---%3A---%7C---%2A

which is also a valid filename.
Doesn't produce nice urls (tag/ci%2Fcd), but avoids the conflicts you described..

I guess in my mind the odds of someone doing this on purpose are pretty low so it might be worth going with the common case and seeing if it comes up in the future. If you have strange URLs it might be harder for SEO-ness and things of that nature.

I have implemented the url encode, but your comment inspired me to not set it in stone and include the Func to change it. More in the PR.


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

Hey @unixorn, thank you so much for the consideration. I've added the license file in #2.


Bot will break if user attempts to run top/keyword before being logged for the first time

Those modules do not check if the userdata/serverdata exists when being run, this will need to undefined error.

After further testing I'm not sure if this is the reason why. The bot seems to have trouble reading the userdata.json and serverdata.json files. Could be a permission issue

Promises fullfilled with error(s) fields.flat is not a function
error when attempting to run ~top

Promises fullfilled with error(s) fields.flat is not a function
error fixed. Installed node v14.19.3 using node version manager. Original error will still persist. Needs fix ASAP

issue does not exist post rewrite


⚠ Bofrost.lu has degraded performance

In 8e9b0a9, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 893 ms

Resolved: Bofrost.lu performance has improved in b77fa44 after 6 minutes.


Enhance Seed Data

Improve seed data

@kyletliang I've started playing with the seed data, so I'm going to go ahead and grab this


Adding some constraints to certain wells.

It would be nice to have some sort of soft constraints on what can be in a well. For example here at the bay citizen we have our right rails which we are re-implementing in Armstrong Wells. We have 3 ads that should be in certain positions of every right rail well, unless there is a VERY good reason for them not to be.   Some sort of popup or warning, would help us enforce the biz constraints of having ads while still letting editorial folks change things in the right rail as they see fit.
Perhaps this could be implemented such that you would set up Well Templates and for each slot in the template you could set wither a type mismatch would raise a warning or a error.

I am +1 for having some sort of workflow engine built in to Armstrong in general.  I think this is just a specific use-case for some sort of onload system that is triggered as part of the page load on certain forms.

Yeah I can see that. Solving it generically is going to be much more work, but probably also a much greater pay off.

I'd have to know a bit more about what exactly @tswicegood means by a workflow engine before I know if I have an opinion. I'm against a general-purpose business rules enforcement layer unless that layer happens to be called "Python". Looking at the Bay Citizen site, I'm confused as to how exactly you're trying to use wells for the right rail. Are you trying to make it so editors can dynamically choose exactly which wells show up on the right side as well as the ads relative location between them?

@dmclain: I mean a system where you can say "run this code" (probably JS since it would be easiest done in the browser) on this form.  Think "add these three nodes when someone selects right rail as the well type".  Seems like that would be generic enough that you could add it to any form.

Something like that is already implemented. We call it right rails and
modules, but its a pretty direct translation to wells.
To translate from baycitizen-ican to armstrong-ese a module could be any
hunk html/template, and might contain another well. On the site these
are generally in little boxes like the whats hot module or the pulse of the
bay. Its dynamically altered by editorial. Ie they might use the twitter
feed module to follow a certain feed right there on the page. The need for
constraints arises from the need for some items to remain the same without
being hard coded.
I am completely fine with having some spot to dump code to do that. Most
biz process languages end up approaching real language status, so we can
probably save ourselves some effort by just using python or js. I am
looking more for the tools to build this than a fully pre-built system.
On Thu, Nov 3, 2011 at 1:42 PM, Dave McLain <
<EMAIL_ADDRESS>
I'd have to know a bit more about what exactly @tswicegood means by a
workflow engine before I know if I have an opinion. I'm against a
general-purpose business rules enforcement layer unless that layer happens
to be called "Python". Looking at the Bay Citizen site, I'm confused as to
how exactly you're trying to use wells for the right rail. Are you trying
to make it so editors can dynamically choose exactly which wells show up on
the right side as well as the ads relative location between them?

Reply to this email directly or view it on GitHub:
https://github.com/armstrong/armstrong/issues/38#issuecomment-2622785

@tswicegood If you just want to add javascript to the admin form then I believe you can do that like so::
class CustomNodeInlineAdminForm(NodeInlineAdminForm):
    class Media:
        js = (
                'your/custom/javascript.js',
              )

class CustomNodeInline(BackboneInline):
    form = CustomNodeInlineAdminForm

class CustomWellAdmin(WellAdmin):
    inlines = [
        CustomNodeInline,
    ]

admin.site.register(models.Well, CustomWellAdmin)

@jbonnett You can do something akin to the above::
class CustomWellForm(ModelForm):
    sure = forms.BooleanField(label='Expert Mode')
    class Meta:
        model = Well

    def clean(self):
        cleaned_data = self.cleaned_data
        sure = cleaned_data.get("sure")
        if not sure:
            if cleaned_data.get("type") == 'right_rail':
                # your custom validation goes here

class CustomWellAdmin(WellAdmin):
    form = CustomWellForm
    inlines = [
        CustomNodeInline,
    ]

admin.site.register(models.Well, CustomWellAdmin)

I'm not actually sure how that works when it comes to the inlines which is what the original goal is, but it lets you do custom validation of armstrong objects.

Yes, we do exactly that here for various reasons. If the answer is to punt, Thats fine too. I will just move this over to our ticketing system.

The answer isn't to punt, it's that it's already doable.
We can't have specific one-off cases built into Armstrong, thus my request for something more generic.  I'd love to have it set so you can drop a JS file in a particular directory, named a particular way, and the admin will find it and add it, but right now I don't consider that a priority.


Required to save all open files even if those files are not imported from, they only contain comments, or are completely empty

Problem Description
Required to save all open files even if those files are not imported from, they only contain comments, or are completely empty.
What steps will reproduce the problem?

set key binding  to default setting if not already
open a valid script (previously debugged and working) in the editor (herein referred to as 'the first file')
press Ctrl-N to open a new file (herein referred to as 'the second file')
run the first file.
Observe that the "save file" dialogue opens

What is the expected output? What do you see instead?
I expect the program to run, and if it imports from an unsaved/temp file, and import error will be thrown at runtime.
Package Versions

Spyder: 3.2.8
Python: 3.6.4 32bits
Qt: 5.9.3
PyQt: 5.9.2
Operating System: Windows

Dependencies
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  None (NOK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.14.2 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.8.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.7.1 (OK)
sympy >=0.7.3    :  None (NOK)

Did you make changes to the second file?

I mean, before running the first file.

Duplicate of #5970 , essentially, and a couple others...can we just go ahead with what we've seemed to have come to consensus on over there, and skip saving never-saved/new files when running a file that isn't that one, since they couldn't possibly be referenced in the file at hand and it can cause major user annoyance?


Document addCursorInteraction

How would I disable CartoDB cursor override and then enable it again? I have markup tools I want to use that change the cursor, but as soon as I hover over the layer it changes to a pointer. This markup tool adds text as a custom overlay to the GMAP, so the events happen on the map itself.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Support new metatranscriptomic columns

Support new metatranscriptomic columns.
Support legacy sample-sheets using 'Sample_Well' instead of 'well_id_384' in seqpro better.
Accurate sample inputs for seqpro added to test correctness of multiple 'count' columns.
A small test to run seqpro against the above inputs and compare them against the known expected output is forthcoming.

@antgonza Ready for review!


Add mbedtls.pc file

Notes:

Pull requests cannot be accepted until:

The submitter has accepted the online agreement here with a click through
or for companies or those that do not wish to create an mbed account, a slightly different agreement can be found here
The PR follows the mbed TLS coding standards

This is just a template, so feel free to use/remove the unnecessary things

Description
Add support for pkg config (Fixes #228)
Status
IN DEVELOPMENT
Requires Backporting
NO
Migrations
NO
Additional comments
Any additional information that could be of interest
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

Steps to test or reproduce
Outline the steps to test or reproduce the PR here.

@pravi Thank you for your contribution!
In addition, unfortunately our policy is to not accept contributions, without a Contributor’s Licence Agreement (CLA) signed or authorised by yourself or your employer.
If this is a personal contribution, the easiest way to do this is if you create an mbed account and accept this click through agreement. Alternatively, you can find a slightly different agreement to sign here, which can be signed and returned to us, and is applicable if you don't want to create an mbed account or alternatively if this is a corporate contribution.
Thanks for your understanding and again, thanks for the contribution!
If you have signed the agreement, please refer us to the link

@jcowgill @RonEld there is a better patch here https://github.com/tiennou/mbedtls/commit/8853a0ad1c4184fb1f8f9a97b347535ba14a95b9 I'm very new to cmake so this patch is better candidate for inclusion.

Hi @tiennou! @pravi has highlighted your pkconfig changes. Would you like to contribute them to the project?

I plan on submitting the PR sometime soon (maybe tonight) so it's more readily available.

Just a helpful ping so involved parties are aware of #1753 😉.

closing, as it is superseded by #1753
If you believe this was mistakenly closed, please reopen


Conflicting intructions about minimum required version

Type: Bug

Have .NET SDK version 7.0.404 installed
Install the Polyglot Notebooks extension
A webview appears saying that I need .NET 7, but I also get an error notification that says I need 8.0

Extension version: 1.0.4578031
VS Code version: Code - Insiders 1.85.0-insider (c6b48c364dde70c12bf977f1da50acda0fd801e3, 2023-11-30T05:35:40.559Z)
OS version: Windows_NT x64 10.0.22621
Modes:


Split screen layout is incorrectly restored

Description
Split screen layout is incorrectly restored if there is a vertical split nested in one horizontal split. Each time I restart Spyder I have to close the panels and split them again manually to have the same split layout, which is a bit annoying.
What steps will reproduce the problem?

Split the editor panel horizontally
Split the second panel vertically
Close Spyder
Run Spyder

What is the expected output? What do you see instead?
The same split layout is expected after restarting Spyder. However, instead of the vertical split in the second panel, it restores it as horizontal split. So I get 3 horizontal splits in total.
Please provide any additional information below
If I do only one vertical split, it restores it correctly.
Version and main components

Spyder Version: 3.2.1
Python Version: 3.5.3
Qt Versions: 5.9.1, PyQt5 5.9 on Windows

Dependencies
IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  0.26 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
numpy >=1.7      :  1.13.1 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

Please post screenshots of the expected and actual results.

Expected:

Actual:

Thanks! We'll work on this after 3.2.2.

@ccordoba12 possible duplicate of Issue #1872

Thanks @jnsebgosselin!


Fixes Issue #4300 -> Limited connection mode banner occupies too much space

Description
Fixes #4300
What changes did you make and why?
fragment_contributions.xml -> For updating Limited connection mode banner
dimens.xml -> For adding limited_connection_enabled_layout_height dimension
Tests performed
Tested app:assembleProdDebug
Screenshots

Review by student
nice work, but just one thing on my device the as you can see in the after image the "on" is not visible, may be setting layout height to wrap content will solve the issue or in image view you can add adjustviewbond = "true"
before

after

@vinayak0505 Thank you for your suggestions :) I'm really sorry to have missed that. I think (if we're going with this layout) we can change that LinearLayout to a simple TextView with DrawableStart, which would reduce overdraw & fix this bug too! Thanks again for your suggestions :D


Need to check "Send Audio" to receive audio/video on Firefox

Current playback will not work with KVS WebRTC master sample if "Send Audio" is not checked.

Duplicate of https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/issues/148


MF refactoring - catalytic activity branch - Part 2

I split the 'catalytic activity, acting on RNA' further:

'catalytic activity, acting on a tRNA’:

'lysyltransferase activity'
'tRNAPhe (7-(3-amino-3-carboxypropyl)wyosine37-C2)-hydroxylase activity'
'tRNA-uridine aminocarboxypropyltransferase activity'
'tRNA-queuosine beta-mannosyltransferase activity'
'tRNA-dihydrouridine17 synthase activity'
'tRNA-dihydrouridine16 synthase activity'
'tRNA-5-taurinomethyluridine 2-sulfurtransferase'
'tRNA-4-demethylwyosine synthase activity'
'tRNA-(2-methylthio-N-6-(cis-hydroxy)isopentenyl adenosine)-hydroxylase activity'
'tRNA(Ile)-lysidine synthase activity'
'tRNA U34 thiol-transferase activity'
'tRNA threonylcarbamoyladenosine dehydratase'
'tRNA pseudouridine synthase activity'
'tRNA nucleotidyltransferase activity'
'tRNA dimethylallyltransferase activity'
'tRNA dihydrouridine synthase activity'
'tRNA cytidylyltransferase activity'
'tRNA A64-2'-O-ribosylphosphate transferase activity'
'tRNA 4-demethylwyosine alpha-amino-alpha-carboxypropyltransferase activity'
'tRNA 2-selenouridine synthase activity'
'tRNA 2'-phosphotransferase activity'
'tRNA (N(6)-L-threonylcarbamoyladenosine(37)-C(2))-methylthiotransferase'
'seryl-selenocysteinyl-tRNA kinase activity'
'Ser-tRNA(Thr) hydrolase activity'
'Ser(Gly)-tRNA(Ala) hydrolase activity'
'Sep-tRNA:Cys-tRNA synthase activity'
'S-adenosylmethionine:tRNA ribosyltransferase-isomerase activity'
'tRNA methyltransferase activity'
'tRNA-specific ribonuclease activity'
'tRNA demethylase activity'
'phosphoseryl-selenocysteinyl-tRNA selenium transferase activity'
'queuine tRNA-ribosyltransferase activity'
'methionyl-tRNA formyltransferase activity'
'L-seryl-tRNASec selenium transferase activity'
'L-seryl-tRNA(Sec) kinase activity'
'glutamyl-tRNA reductase activity'
'glutaminyl-tRNA synthase (glutamine-hydrolyzing) activity'
'CTP:tRNA cytidylyltransferase activity'
'CTP:3'-cytidine-tRNA cytidylyltransferase activity'
'asparaginyl-tRNA synthase (glutamine-hydrolyzing) activity'
'aminoacyl-tRNA ligase activity'
'aminoacyl-tRNA hydrolase activity'
'aminoacyl-tRNA editing activity’

'catalytic activity, acting on a rRNA
'rRNA methyltransferase activity'
'rRNA N-glycosylase activity'

Pull request: #14214
(already merged but I can make changed whenever we spot any issue)

Pull request: #14214
(already merged but I can make changed whenever we spot any issue)


Improve persistent Scalac worker docs in README.md

1st Commit
test inherits from build, so the 2nd line is redundant. See: https://docs.bazel.build/versions/master/guide.html#bazelrc-syntax-and-semantics
2nd Commit
I'd say that, generally, sandboxing in Bazel is preferred. By default you get non-sandboxed workers in Bazel, so I've added the option that enables the sandboxing as an 'easy win'.

thanks!


Feign: 204 No Content and HTTP HEAD responses returns null ResponseEntity.

Feign client mapped to following REST endpoints:
		@RequestMapping(method = RequestMethod.GET, value = "/noContent")
		ResponseEntity noContent() {
			return ResponseEntity.noContent().build();
		}

		@RequestMapping(method = RequestMethod.HEAD, value = "/head")
		ResponseEntity head() {
			return ResponseEntity.ok().build();
		}

With contract defined as fallows:
		@RequestMapping(method = RequestMethod.GET, value = "/noContent")
		ResponseEntity noContent();

		@RequestMapping(method = RequestMethod.HEAD, value = "/head")
		ResponseEntity head();

Are going to return null as a result during runtime. I would rather expect that the response entity would be created with empty payload with all of the headers being populated for those cases.

So the problem was rather related to the client contract and the fact that the ResponseEntity didn't specify any type.

@jmnarloch so using ResponseEntity<Void> worked? Not sure I understand your last comment.

Just to sum up, the behavior in case of contentless response on the client side requires you to specify the generic type - so it does not matter what that would be and ResponseEntity is somehow closes in saying - "I want the response, but I don't care about it's body".
Alternatively you could declare that you return ResponseEntity - so also you not interested in the actual response type. The only problem is during runtime and matching since ResponseEntity is not longer instance of ParameterizedType, just a simple Class instance. So the check fails and the overall invocation result of Feign client method is null.

@jmnarloch thanks for the clarification.


Manual hash change does not route, needs to be called out in docs

2.0.0 has a change so that middle-router no longer listens to hashchange events. While this is a reasonable decision, it can be a pitfall for users and should be clearly called out in the documentation.
For example, the following code triggers a hashchange and popstate event in most browsers:
location.hash = '#/super/awesome/place'

However, in IE11, and perhaps in other browsers, this triggers only a hashchange event.
If you want to make sure that your change to the hash is routed, you are expected to use the following instead:
router.navigate('/super/awesome/place')

https://github.com/thetalecrafter/middle-router/wiki/Troubleshooting


Can noDataIndication be invoked when the table data only has hiddenRows?

Hi,
I noticed that noDataIndication is invoked when data.length === 0. Is there a way to get that indication to render when the data only has hidden rows in it? (data.length - hiddenRows.length === 0)
Thank you in advance!
Liron

@lirond12 This is a good feature request. In the meantime, instead of hiding the rows, filter them out of your data array before passing them into the table.


Clicking on OptionButton incorrectly triggers NOTIFICATION_WM_WINDOW_FOCUS_OUT / NOTIFICATION_WM_WINDOW_FOCUS_IN

Godot version
4.0 Alpha 6
System information
MacOS 12.3 on Intel MacBook Pro
Issue description
When using the Window Focus detection via _notification(..) to pause and restart the music when leaving/returning to the window it also pauses the music when you interact with an OptionButton.
This was not the case with 3.4.x.
Steps to reproduce
Create a simple project with a simple scene with an OptionButton, AudioStreamPlayer2D, and set the audioplayer to a WAV or MP3 and autoplay.
Attach a script and include:
var pausePositon
func _notification(what) -> void:
	match what:
		NOTIFICATION_WM_WINDOW_FOCUS_IN:
			$AudioStreamPlayer2D.play(pausePositon)
		NOTIFICATION_WM_WINDOW_FOCUS_OUT:
			pausePositon = $AudioStreamPlayer2D.get_playback_position()
			$AudioStreamPlayer2D.stop()

Save and run the scene.
Minimal reproduction project
No response

It will not let me attach the example zip file.  It can be found at: https://www.dropbox.com/s/lqzlku0u4wbqfck/example.zip?dl=0

NOTIFICATION_APPLICATION_FOCUS_IN and NOTIFICATION_APPLICATION_FOCUS_OUT are more appropriate notifications to use here, I think.
Relevant docs: https://docs.godotengine.org/en/latest/classes/class_node.html#constants

NOTIFICATION_WM_WINDOW_FOCUS_IN = 1004 --- Notification received from the OS when the node's parent Window is focused. This may be a change of focus between two windows of the same engine instance, or from the OS desktop or a third-party application to a window of the game (in which case NOTIFICATION_APPLICATION_FOCUS_IN is also emitted).

NOTIFICATION_APPLICATION_FOCUS_IN = 2016 --- Notification received from the OS when the application is focused, i.e. when changing the focus from the OS desktop or a thirdparty application to any open window of the Godot instance.

Thank you for your suggestion.   3.x didn't have NOTIFICATION_APPLICATION_FOCUS_*, and it is nice to have this separation.
However, this is still a bug for NOTIFICATION_WM_WINDOW_FOCUS_* as per the documentation.  As it states this should be triggered between window changes, and I don't consider "viewport subwindow" to be a true window change.  If it is considered a window change then please update the documentation to reflect this behavior along with what UI classes trigger this.

Can't reproduce this in GNU/Linux.

Still can reproduce using 4.0a12 on Mac using https://www.dropbox.com/s/lqzlku0u4wbqfck/example.zip example.

OK, I managed to reproduce it. It only happens if embed_subwindows is enabled.

Needs a new MRP, the Dropbox links expired. You should be able to attach a ZIP below 10 MB here, which should be big enough to demonstrate a GUI issue (make sure to remove the .godot folder so that it doesn't include the heavy shader cache).

Regretfully I wasn't able to attach it in July, and now that stuff has been move around I no longer have this zip file, and the project I extracted it from is complete broken as I've not been keeping up with beta/RC.  And since I've paused my coding for a few months to reorder things I regretfully will not get back to this.
I resolved my issue using sriramun's suggestion above.  Which is technically the better way.
So feel free to close this if you wish.


How to log real client IP?

client --> Nginx:80(proxy connect module: proxy_connect_address <IP_ADDRESS>:443)---> Nginx:443--->Application
We can see real client IP at Nginx:80 level but when request came to Nginx:443 level then we can only see <IP_ADDRESS> as client IP
How to log real client IP?

This module cannot support this feature, note that proxy_connect module creates TCP tunnel with backend(Nginx:443 in your data flow chart. We cannot modify any data proxied in CONNECT tunnel.

By the way, if you really want to transfer IP-address, you may modify some code to transfer data in CONNECTtunnel before proxying any real request and your backendNginx:443` also need to be modified to parse this information, which is tricky to implement this feature.


Huobi kline bug

Sorry, maybe my version is too old.

Is the Nuget package the latest?

It’s a few days old. Maybe a week old.
On Sun, May 20, 2018 at 9:37 PM smile<EMAIL_ADDRESS>wrote:

Is the Nuget package the latest?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/146#issuecomment-390544675,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNoGBIrWIU4mra58RZGHpeIytM0VbrAks5t0jZ4gaJpZM4UGX-i
.

--
Jeff Johnson
CEO / CTO, Digital Ruby, LLC

thank you


Add ability to reveal a webview view but not expand it

We would like to make sure that panels are visible but not necessarily always expand them, which can violate the user's original workspace layout. It would be great if we could have the viewId + ".focus" command API take in an extra option to not expand the section.

Falls under #146330 I believe


version 1.1.0 not in the chef supermarket

I'd love to use 1.1.0 to get the newer poise-python versions, but it doesn't seem to have been uploaded
to the chef supermarket.

@nickryand could you transfer the cookbook in the supermarket so that I can release the new version of the cookbook?

It looks like the transfer happened...

Ping?

Sorry, I was out of the country... will try to get to it tonight.

Is there an estimate on when this version will be added to the supermarket?

@cdtweb, sorry, I have been swamped at work.  I will try to get to it tonight.  But it should be up there by the weekend.

Still nothing :(

Done @cdtweb and @sspans


Mac: building examples crashes

Describe the bug
I pulled in changes from develop this morning, and I found this new error while building:
visit/src/tools/examples/avtexamples/GUIWindow.C:54:34: error: implicit instantiation of undefined template
      'std::__1::array<unsigned char, 4>'
    std::array<unsigned char, 4> bkg{{26, 51, 102, 255}};

/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;

It's unclear why this started happening suddenly. I got around it by disabling the "VISIT_ENABLE_EXAMPLES" flag, which is on by default:
OPTION(VISIT_ENABLE_EXAMPLES  "Enable building of examples" ON)
Expected behavior
Building the examples on Mac should not lead to a crash.
Desktop

OS and version: OSX 10.15.7 (Catalina)
VisIt Version: develop

I added those examples yesterday. Allen ran into it as well and has a fix for it. Either Allen or I will get a fix in today.


Add flexibility to Store trait + better pgvector filtering

I was using the library to implement a RAG-application with a pgvector vector store. Current implementation was lacking in filtering facility for pgvector, and only allows for equality comparisons chained with AND in sql. Filtering is abstracted over a serializable JSON AST (serde_json::Value), which may be appropriate for some of the vector store implementations in the library, but not for all. I reasoned that adding an associated type to the trait would be the most logical way to approach it since it allows us to implement custom filtering for some of the stores (as I do with pgvector in this PR) but keep the old behavior for others.
I also added an implementation of pgvector filter that fits my needs, and allows for further extendability. Please see the following links to see how it may be used by the library user (my repo is using the fork of langchain-rust with this branch):

https://github.com/dredozubov/advisor/blob/master/src/eval.rs#L170
https://github.com/dredozubov/advisor/blob/master/src/eval.rs#L204
https://github.com/dredozubov/advisor/blob/5d7c1440120d8a5483cbfb847b0a33c8dbff0b7b/src/edgar/filing.rs#L625

I'm happy to hear your thoughts, further walk you through my thought process, and discuss the potential design issues. @Abraxas-365 @prabirshrestha

Whats the best way to adopt this for an existing database with embeddings? How flexible is too flexible for this framework? I know you can set the collection/embedding table name but what about the columns and the metadata? Or even just the embedding column

@b0xtch I don't see any reason it wouldn't be compatible, since changes are only made to the code to allow more robust metadata filtering on retrieval in the cmetadata column. Database schema stays the same, given the user is responsible for JSONB data she/he puts in medata.


Any plans to add a skeleton state for the Tile component?

Detailed description
I'd like to request that skeleton states be added for the Tile component.  We have a usecase with several graph tiles that are loading data, and I'd like for them to skeleton out like the other carbon components.  Here's what they look like rendered, you can imagine the skeleton state.

Is this issue related to a specific component?

Tile

What did you expect to happen? What happened instead? What would you like to see changed?

Requesting an enhancement request to support skeleton state to the tile component.  Would also like to see this ported to the React component.

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

9.7.0

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

Add labels
Enhancement request

Hey Scott, glad to hear you are using the skeleton components. I think the decision not to build one originally for the tile was because it is a wrapper element. The thinking was that you would use the skeleton state on whatever specific components are placed inside of it. (since that varies for everyone)

on second thought, I understand there's no structure to the Tile component so how could you make skeleton text look like the possible contents...


Create a django like admin interface in react

We don't need many of the features that the admin panel has, just the following:

CRUD operations on users.
CURD operations on courses.
CURD operations on cuisines.

This will also prevent the API from serving static.

This interface should also include a way to let a user change there own password.


Update documentation about Scan op and graph-attributes

Move the documentation about use of nested-functions to represent graph-attributes in the tutorial.

Much needed for

I don't understand. This example doesn't use Scan or any such operation. Are you considering defining a lower-level definition of this op than the existing one? Standard if-then-else doesn't require use of nested-functions.

Okay, I understand ... you are referring to defining ops like CumSum.

Currently op.Log(op.CumSum(op.Exp(self), dim)) easily overflows so I was thinking I needed to use Scan to implement https://www.tensorflow.org/api_docs/python/tf/math/cumulative_logsumexp


fastlane spaceauth - Could not login to iTunes Connect

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I have error "Could not login to iTunes Connect" on command fastlane spaceauth -u<EMAIL_ADDRESS>It's not two factor auth. It worked before. No changes has made on software, when error is happen i up to date all software but it still did not work
Complete output when running fastlane, including the stack trace and command used

[✔] 🚀
[12:36:29]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
Logging into to iTunes Connect (my@mail.here)...
-------------------------------------------------------------------------------------
Please provide your Apple Developer Program account credentials
The login information you enter will be stored in your macOS Keychain
You can also pass the password using the `FASTLANE_PASSWORD` environment variable
See more information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager
-------------------------------------------------------------------------------------
Password (for my@mail.here): *************
Could not login to iTunes Connect
Please check your credentials and try again.
This could be an issue with iTunes Connect,
Please try unsetting the FASTLANE_SESSION environment variable
and re-run `fastlane spaceauth`
Looking for related GitHub issues on fastlane/fastlane...
➡  fastlane init fails while connecting to iTunes
https://github.com/fastlane/fastlane/issues/9134 [closed] 4 💬
25 Sep 2017
➡  Two factor authentication fails iTunes Connect login
https://github.com/fastlane/fastlane/issues/9261 [closed] 8 💬
22 Jun 2017
➡  Unable to run fastlane spaceauth using crontab
https://github.com/fastlane/fastlane/issues/10430 [closed] 3 💬
19 Jan 2018
and 26 more at: https://github.com/fastlane/fastlane/search?q=Problem connecting to iTunes Connect&type=Issues&utf8=✓
/var/lib/gems/2.3.0/gems/fastlane-2.96.0/spaceship/lib/spaceship/spaceauth_runner.rb:27:in rescue in run': [!] Problem connecting to iTunes Connec                                            t (RuntimeError)         from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/spaceship/lib/spaceship/spaceauth_runner.rb:16:in run'
from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/spaceship/lib/spaceship/commands_generator.rb:42:in block (2 levels) in run'         from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'         from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'
from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in run!'         from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/spaceship/lib/spaceship/commands_generator.rb:48:in run'         from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/spaceship/lib/spaceship/commands_generator.rb:14:in start'
from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/fastlane/lib/fastlane/cli_tools_distributor.rb:100:in take_off'         from /var/lib/gems/2.3.0/gems/fastlane-2.96.0/bin/fastlane:20:in <top (required)>'
from /usr/local/bin/fastlane:23:in load'         from /usr/local/bin/fastlane:23:in '

Environment

[✔] 🚀
[12:46:19]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[12:46:19]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
debian_based stretch/sid

Ruby
2.3.1

Bundler?
false

Git
git version 2.7.4

Installation Source
/usr/local/bin/fastlane

Host
Ubuntu 16.04.4 LTS debian_based stretch/sid (4.4.0-124-generic)

Ruby Lib Dir
/usr/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.96.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.2

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.5

xcodeproj
1.5.9

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.3

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.59.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.3

json
1.8.3

mini_magick
4.5.1

multi_json
1.12.2

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.2.1

bundler
1.16.0

faraday_middleware
0.12.2

naturally
2.1.0

simctl
1.6.4

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
2.1.0

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.1

httpclient
2.8.3

google-api-client
0.21.2

emoji_regex
0.1.1

io-console
0.4.5

generated on: 2018-05-22

@koekaverna This is weird if this has worked before 🤔 Can you try / have your tried this yet? - https://github.com/fastlane/fastlane/issues/12577#issuecomment-390811299
I'm curious if this is related to that

Had the same problem and it was related. Thanks @joshdholtz

Yes this fix problem, thank you!


Missing methods TransactionUnspentOutput

The TransactionUnspentOutput class is missing methods that allow access to the input or output, it should be similar to those in TransactionOutput and TransactionInput

const test = TransactionUnspentOutput.from_cbor_hex("8282582095cdc0b23b21f9f0ac5b2580b025c4bc64034ff5e9d97f8ecb51d78151a3223f18228258390115c2e6ade9b92c86a252f6fb1d2a01b2d70a6a5db943fd368bd30c6fc28ad299e38676d1647f6d8f31234c34a914d8488ff86ca2d5df70df821a00116d86a1581cffbe813449ec642880ec645af88a4df2f586b0b677c44ecf4a1ef834a145414d494c4b01")

@solidsnakedev added here: #341


Feature/wercker build

Improvements in #82

@grzanka This PR covers more than 50% of list from #105 (most important) - maybe we should merge it and in free time I'll finish?

Current coverage is 42.03% (diff: 100%)

Merging #106 into master will not change coverage

@@             master       #106   diff @@
==========================================
  Files             5          5
  Lines           502        502
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            211        211
  Misses          291        291
  Partials          0          0

Powered by Codecov. Last update 6594b38...fae611a

Can you add an issue writing down what is missing in terms of wercker config (like proper testing etc) ?


SPDX License naming

PS : you should create a CI that check if the license name comply with https://spdx.org/licenses/

Linting that would be awesome, agreed

Would be super easy it seems: https://www.npmjs.com/package/spdx-correct


allow different event names for 3DoF

Looks good to me

If I'm not mistaken, this would allow Daydream controller in A-Frame master to use this component. 😍

That was the idea :)


show code issues

Coverage remained the same at 66.899% when pulling b2b5d367a0ac79e76ed86d89128eb3fec1d29f71 on grafjo:feature/show-issues into 8ed01d6c2babc64bcc0117da7e33ee6242dbcb79 on synyx:master.

done in #501


Chinese text filtering does not work

Tried using this
const [testProducts] = useState(
    ItemsJs([
      {
        id: 1,
        name: "安积 ASAKA THE FIRST  单一麦芽威士忌 700 M L",
      },
      {
        id: 2,
        name: "麦卡伦18年双桶单一麦芽威士忌 700 M L",
      }
    ], {
      sortings: {
        nameasc: {
          field: 'name',
          order: 'asc',
        },
      },
      searchableFields: ['name'],
    })
  );

  console.log('test1', testProducts.search({
    per_page: 100,
    sort: 'nameasc',
    query: '麦芽威士忌',
  }));
  console.log('test2', testProducts.search({
    per_page: 100,
    sort: 'nameasc',
    query: 'ASAKA',
  }));
  console.log('test3', testProducts.search({
    per_page: 100,
    sort: 'nameasc',
    query: '700',
  }));

test 1 does not return any results
test 2 shows 1 result as expected
test 3 shows 2 result as expected

Hi @isaac-manubag
ItemsJS uses LunrJS to index your dataset, and LunrJS doesn't support the Chinese language.

Hi @isaac-manubag
ItemsJS uses LunrJS to index your dataset, and LunrJS doesn't support the Chinese language.

Thanks @Ruitjes
I was able to get a workaround with minisearch, it'll have to do for now until we find other solution


No code preview displayed on minimap

Minimap on my right is blank with only area for dragging available.

How to make code "preview" to appear on minimap same, is it is on this package's Github page?
Thanks.
P.s.:  The approach is a bit different so maybe your issue will be solved.

@abe33 Thanks, but I now don't have an access to "buggy" laptop, and this works fine on my current working machine.

@Kamilius In the latest version(v4.1.4), is there this issue?

There is still same issue, re-open it please.


All @param decorators should use proper jsdoc

Let's go ahead and bomb all remaining @param declarations to use proper jsdoc syntax.

Lee and I discussed this at some length today and are thinking the following (which is of course up for discussion and which we will include in a forthcoming general README on hoist-react):
Method Params

Initial focus is on getting plain-old-JS public methods documented in a standard way with @param tags, including type information and using the standard JSDoc syntax for config objects of a particular shape / destructured args.
OK to use {Object} or - more likely - {*} where a param could be one of a bunch of different types that would otherwise be annoying to enumerate using the standard {(string|function|Object|Component...)} syntax.  That's not to say that the explicit multi-type syntax should be avoided - it could be very helpful in many cases where an arg is of type a or b - but when it gets complicated we'd rather have {*} and a well-thought-out plain-English comment that follows.
Use brackets around optional args (@param {string} [fancyName])
Don't encode default values in the doc comments. We strongly suspect this will be too likely to fall out of date, and that we will run into multiple cases where the defaults themselves are complex, depend on other inputs, etc. and can't be simply expressed in this way.

Component Props

For React Components, use propTypes to document props instead of JSDoc, as this is the React idiom and they provide the typing and optionality flags we're looking for.  Each non-obvious prop should have a simple plain-English description on the line above it in /** Doc comment about the prop. */ format.

Apart from params:

Use of @returns optional - encouraged if there is something especially interesting to say about the return, but not sure we need to make this a full standard.  We can feel this one out.
Ensure our public classes have at least some kind of class-level comment that orients the reader immediately to what they do and what a dev might need to know about them.
Run through implementation-only classes and decorate with a class-level comment and the @private annotation. Class-level doc can also include a sentence or two for our own reference, but does not need to.  Main goal is to make it clear that the entire class is private to Hoist (even more so than a possible impl in the package name might do).

Edit suggestions to Component Props:
Add how to specify a default value for a propType (in the doc comment on line above) - do not use defaultProps.

Put this here mostly as a reminder to myself, I've been using two tabs rather than three:
From ATM:
Param docs that need to wrap to multiple lines just get indented three tabs (twelve spaces) from the left margin, so they end up under the "m" in param.

I think it ends up being two tabs from where your cursor lands.  Really not worried about the exact number of spaces (I promise) - just more the idea that you don't need to try to line up the continuation indent with some token in the line before it that might move around.
I know it all sounds terribly OCD but my hope (and I think it can be true) is that it will be easier to just focus on the content vs. shifting things left and then right again, etc. Of course if we are going insane we can adjust (or have prettier or another robot do it all for us).


Hardware Runnning

This PR is a little too big to give it a full description. Some of the highlights:

Proper Flashing
Clock Definition
GPIO Definition
Basic Main

Big thanks to @halherta for https://github.com/halherta/iotogglem0 which acted as a solid foundation for getting this working


Missing bold text in sample URL (Site Pages)

Issue in ./help/c-target/c-audiences/c-target-rules/site-pages.md
The point that contains "Query: The content of the URL after the first question mark (?). For example, the query is shown in bold in the following sample URL:
foo.html?e0a72cb2a2c7"
Nothing is shown in bold in the sample URL :)

Thanks. Our new system does not allow for stacked markdown controls (bold inside a sample). I have altered the text to remove the reference to bold.


Correct some tests before merging massive refactor

This pull requests removes a commented decorator and makes use of units in test_atmospheric_drag as suggested by the code review in #763.
However, I was not able to reproduce the error in the doctest :confused:

Thanks @jorgepiloto! I will merge this, let's see about the doctest separately.


Use read action to fix exception with 2023.2

With 2023.2, a read action is required. Earlier versions (tested with IC-2021.3.3) did not need it.

:tada: This PR is included in version 0.45.3 :tada:
The release is available on:

v0.45.3
GitHub release

Your semantic-release bot :package::rocket:


TorchHubRegistery

CREATE MODEL yolov5
FLAVOR yolov5
PREPROCESSOR 'rikai.contrib.yolov5.transforms.pre_processing'
POSTPROCESSOR 'rikai.contrib.yolov5.transforms.post_processing'
OPTIONS (device="cpu", batch_size=32)
RETURNS {OUTPUT_SCHEMA}
USING "torchhub:///ultralytics/yolov5:v6.0/yolov5s";

select ML_PREDICT(yolov5, "path/to/lena.png")

Currently, only yolov5's pre/post processors are available.

@da-tubi this is very exciting. To improve the user-experience, is there a default way to set pre/post processing and the output schema?

To improve the user-experience, is there a default way to set pre/post processing and the output schema?

Yes for pre/post processing, I will set the default one when working on https://github.com/eto-ai/rikai/issues/356


Detector for \Memory\Page Reads/sec

This is a pretty sure way to know memory pressure on a VM. Check with petr on thresholds

This will be covered by #534


Possibly removing closures from set_*_logger functions?

Are the closures still needed any more? (I'm probably missing some historical context).
I could imagine that we don't have closures here but rather just parameters along with a free function that sets the max level (at any time). Although maybe there's a downside to configuring the max log level (globally) at any point in time?

The closure-based indirection is there to make sure the active logger is the only thing that can mess with the max log level, yeah. The main downside is that random code could come in and poke the max log level in confusing ways, but maybe that's not enough of an issue that we need to worry about the extra weirdness?

Hm yeah I wouldn't personally be too worried about a downside like that. The handling of races between concurrent initialization is mostly just for safety rather than anything else, I don't think anyone really wants to rely on log's own arbitration. In that sense I'd fine the argument-taking apis a little more ergonomic (no need for an extra closure) and a little more flexible perhaps (update the max log level while the program is running).

(update the max log level while the program is running)

As the logging implementation, you can already do this by saving off the token and using it later. Removing the closure would allow things other than the logging implementation to do it as well if they wanted to.

Ah true yeah, the maybe it's just ergonomics!


feature request: Add option to force inline descriptions

Summary:
Add an option that allows descriptions to remain inline when jsdocUseColumns is set to false.
Currently, the library dafaults to formatting tag types, names, descriptions into columns. While there is an option to turn off this behavior (jsdocUseColumns set to false), doing so automatically moves all the descriptions to new lines.
This feature request aims to introduce a new configuration option that will enable users to force inline descriptions.
Current Behavior:
When jsdocUseColumns is set to false, all the descriptions are forced to new lines, regardless of the length or format of the content.
Proposed Feature:
Introduce a new configuration option, for example jsdocKeepDescriptionsInline, which will ensure descriptions remain inline, regardless of the jsdocUseColumns setting. This will give users more control over the formatting of their JSdoc comments.
When jsdocKeepDescriptionsInline is set to true, the expected behavior is as follows:
@param {foobar} baz description of prop 1
@param {foo} barbaz description of prop 2

As far as I can tell the option should have no effect on rendering when jsdocUseColumns is set to true.
Benefits:
Provides users with more control over the formatting of JSdoc comments.
Eliminates excessive whitespace created by column formatting while maintaining the readability of inline descriptions.
Adds flexibility for users who want descriptions to remain inline, even when column formatting is disabled.

Hey @shunkica!
I'm so sorry it took me so much time to get back to you... a lot of things happened and completely forgot about this.
In case you are still interested in this: I understand the motivation for that proposal, there are cases where you don't want the plugin to act, but for that, I'd recommend @prettierignore rather than an extra option that would mess with rendering. You see the issue in @params, but the rules for columns and that stuff apply to ALL the tags.
Given that I tried to make it REAAAALLY flexible, when messing with the rendering, there are a lot of options that come in to play, so, no, I won't be adding a jsdocKeepDescriptionsInline (at least not now), but... I did something quick that I hope can help you with your particular scenario: jdocIgnoreTags.
I know it's not the same, but you can use it to specify tags that you don't want to format. You can check #10 and see the added fixtures with example cases.
Again, sorry for the delay (and the answer)
Regards.


Error with last version first execution

Hello, i just downloaded last version 1.87 run it, it started to do its things and then sttoped with an error, i tried executing it a second time and it thrown another different error... i paste the 2 logs with all the info.
second run.txt
first run.txt

Hello @Aisflou
Looks like you ran out of memory. Then it left the intermediate files in a mess.
See the fix here: https://github.com/sam-ludlow/mame-ao/issues/16
Cheers
Sam

Hello, i just deleted the folder and started fresh, just in case. I have 16gb of ram in this test pc, ram sitted at 11.1gb consumption in total while mame-ao was running till i got the same "first" error again :( i didnt see that the ram got fully consumed, but i will make a clean reboot and try again later with anything more open. Thanks for the reply!

Hi I also had this problem and Sam's reply should sort that out.

Hello again, running mame-ao with PC freshly rebooted did the trick. Dont know why it doesnt run when having more than 4gb of free ram, but now it runs perfectly. Thanks!


Current spirv-cross dependency

Hi,
Just wondering when the effects of https://github.com/KhronosGroup/SPIRV-Cross/pull/1217 could be officially felt here in master.
Thanks.

@o1lo01ol1o  PR #785 includes a pull of the latest SPIRV-Cross version, which includes your request.


Add an error when you refer to a model component that is not selected

If you forget to select a  component but still use it, it will toString it (or worse) and projects won't behave as expected. It would be much better if this were caught earlier so that the user knows they are using a component that is not selected for use.

Its pretty difficult to throw an error for this because. My thought was that we would throw an error any time a component is referenced in the control function that exists in all model components, but is not selected in dependencies. But each program generates its code in isolation and doesn't have a reference to all model components.
Instead, we could more easily provide a warning near the monaco editor when a component is referenced but not listed in dependencies.


Update studio header information

Summary
The appearance of the page has been changed in the browser tab.

Added
Added favicon in two formats: in most cases svg format, but also in favicon.ico format for edge cases.
Changed
Changed page tiltle tag from 'Studio' to 'Dolittle Studio' for better UX.

Feel free to merge this change @N00bG1rl!
:shipit: