Error on run.sh (librispeech)

I hit the following error when running run.sh (librispeech). I tried to both download librispeech manually (using data_download.sh with arg --src_path) and directly using the command below, but both gave the same error.
$ pwd
/home/bagus/github/SpeeChain/datasets/librispeech
$ bash run.sh
raceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/librispeech/meta_generator.py", line 182, in <module>
    LibriSpeechMetaGenerator().main()
  File "/home/bagus/github/SpeeChain/datasets/meta_generator.py", line 95, in main
    meta_dict = self.generate_meta_dict(**args)
  File "/home/bagus/github/SpeeChain/datasets/librispeech/meta_generator.py", line 167, in generate_meta_dict
    _proc_text = en_text_process(_ori_text, txt_format)
  File "/home/bagus/github/SpeeChain/speechain/utilbox/dump_util.py", line 111, in en_text_process
    while input_text.startswith(' ') or is_punc(input_text[0]):
IndexError: string index out of range
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-100/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-100/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-100/idx2wav doesn't exist!
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-360/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-360/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-360/idx2wav doesn't exist!
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-other-500/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-other-500/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-other-500/idx2wav doesn't exist!
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-clean/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-clean/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-clean/idx2wav doesn't exist!
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-other/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-other/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-other/idx2wav doesn't exist!
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-clean/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-clean/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-clean/idx2wav doesn't exist!
Generating data lengths from /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-other/idx2wav
    to /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-other/idx2wav_len
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 77, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/data_len_generator.py", line 60, in main
    idx2data = [[idx, data] for idx, data in load_idx2data_file(src_file).items()]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in load_idx2data_file
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 155, in <listcomp>
    idx2data_dict = [load_single_file(parse_path_args(f_p)) for f_p in file_path]
  File "/home/bagus/github/SpeeChain/speechain/utilbox/data_loading_util.py", line 117, in load_single_file
    assert os.path.exists(_file_path), f"{_file_path} doesn't exist!"
AssertionError: /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-other/idx2wav doesn't exist!
Post-processing the metadata information in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav.
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-100/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-100/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-360/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-360/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-other-500/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-other-500/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-460/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-460/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-960/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-960/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-clean/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-clean/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-other/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-other/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-clean/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-clean/idx2no-punc_text": No such file or directory Error #2
Generating sentencepiece vocabulary by /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-other/idx2no-punc_text......
Traceback (most recent call last):
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 277, in <module>
    main(**vars(args))
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 256, in main
    generate_vocab_sentencepiece(
  File "/home/bagus/github/SpeeChain/datasets/pyscripts/vocab_generator.py", line 166, in generate_vocab_sentencepiece
    spm.SentencePieceTrainer.train(input=idx2text_path, model_prefix='m',
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 989, in Train
    SentencePieceTrainer._Train(arg=arg, **kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 982, in _Train
    return SentencePieceTrainer._TrainFromMap(new_kwargs)
  File "/home/bagus/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 927, in _TrainFromMap
    return _sentencepiece.SentencePieceTrainer__TrainFromMap(args)
OSError: Not found: "/home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-other/idx2no-punc_text": No such file or directory Error #2

@heli-qi Could you suggest a fix for this problem?

From the following code, it says I need to generate metadata with arg --txt_format no-punc, but I also hit error with generating meta data with that argument.
https://github.com/search?q=repo%3Aheli-qi%2FSpeeChain idx2no-punc_text&type=code
$ python3 meta_generator.py --tgt_path datasets/librispeech/data/wav --txt_format no-punc
Collecting statistic information of subset train-clean-100 in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-100
Collecting statistic information of subset train-clean-360 in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-clean-360
Collecting statistic information of subset train-other-500 in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/train-other-500
Collecting statistic information of subset dev-clean in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-clean
Collecting statistic information of subset dev-other in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/dev-other
Collecting statistic information of subset test-clean in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-clean
Collecting statistic information of subset test-other in /home/bagus/github/SpeeChain/datasets/librispeech/data/wav/test-other
Start to process the additional LM text corpus......
  0%|                                                                                | 0/40418261 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "meta_generator.py", line 182, in <module>
    LibriSpeechMetaGenerator().main()
  File "/home/bagus/github/SpeeChain/datasets/meta_generator.py", line 95, in main
    meta_dict = self.generate_meta_dict(**args)
  File "meta_generator.py", line 167, in generate_meta_dict
    _proc_text = en_text_process(_ori_text, txt_format)
  File "/home/bagus/github/SpeeChain/speechain/utilbox/dump_util.py", line 111, in en_text_process
    while input_text.startswith(' ') or is_punc(input_text[0]):
IndexError: string index out of range

Replacing the following lines in metadata_generator.py seems to work.
https://github.com/bagustris/SpeeChain/blob/2cbec8b7db80e7c40ebeb3fbe20f8b2ba8920fee/datasets/librispeech/meta_generator.py#L167-L171
replace with
 if _ori_text.strip():  # Add this check
      _proc_text = en_text_process(_ori_text, txt_format)
         if _proc_text != '':
             proc_lm_text.append(f'{index} {_proc_text}\n')
             index += 1


runtime(java): Make optional the use of the bundled &foldtext function

Obtain and pass through translated messages with this
function.
If g:java_foldtext_show_first_or_second_line is defined,
assign this function to &foldtext.

Thank you, this also made the need of a file type specific &foldtext clearer to me

thanks!


Quantization Aware Training without Pruning for Yolov5

The current sparseml supports pruning and pruning followed by quantization for Yolov5. Is there a way to use quantization aware training separately, without using pruning in the model. Can you provide a separate recipe or suggest some steps to do that?
Also, when can we expect sparseml support for Yolov5 Version 6.1, any estimated date or timeline?

@m-guise definitely, by modifying the recipe you can choose to run with only quantization aware training (QAT) or a number of other custom regimes. If you take for example the YOLOv5s Pruned Quantized model and look at the attached original.md recipe, it includes all the modifiers used to train this model. You'll see in there a modifier section titled quantization_modifiers with the modifier QuantizationModifier which drives QAT. Including this modifier in your recipe will add QAT to your training. You can read more on how to construct your own recipes here.
We updated our integration to support V6.1 earlier this month! Our research team is currently working on creating SOTA recipes for the updated architecture, but custom recipe support is in place if you'd like to apply a QAT recipe to your training. You'll find the updated model in the model/ directory and the legacy model (version 5.0) in models_v5.0/
Let me know if you have any other questions on this front.

Hi @KSGulin ,
It's been over a month, any updates when will the support for V6.1 become available?

Hi @m-guise, do you mean in terms of code support or SparseZoo models? Our integrations have included code support for V6.1 since April. On the SparseZoo model creation front we've had a shift in priorities on the research team and the YoloV5x6.1 models will take some more time to be deployed.
You can still apply existing recipes (with minor modifications to the recipes in some cases) to train V6.1 models with SpraseML. Is there a specific recipe or sparsification target that you're aiming to use?

Hi @KSGulin
I am looking for the recipes of Quantization Aware Training and Pruning (separately) for V6.1. If possible, can you please share these two? It will be very helpful.


Guide on using Task resource

Lots of our users need to manage healthcare workflow with Medplum, but they are unaware of the Task resource and how it should be use. Instead, they create conventions using other fields.
This PR introduces a gentle but comprehensive guide on how the Task resource can be used, with examples, informed by our customer requests

coverage: 94.293%. remained the same when pulling 88a1fa1618a3abd8348edf2213d6fdda62a56345 on rahul-document-tasks into 859dc3558831cb2ef09f851a7dc3b88345e84778 on main.


Update localhost address in README.md

في الأربعاء، ١٩ يوليو ٢٠٢٣ ٢:٥٦ ص Patricia Santa Ana <
@.***> كتب:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/cloudflare-docs/pull/9937#pullrequestreview-1536043766,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWV6NCTYUXQTUKMZMU2TAI3XQ4PBDANCNFSM6AAAAAA2PCUDQY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Circular progress animation doesn't keep up with fast updates

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
Determinate/Static CircularProgress takes a progress value (number) between 0 and 100.
When a new value is set, the progress indicator animates from the old value to the new
If another new value gets set before the animation is complete, the animation should speed up to stay reasonably in sync.
Current Behavior 😯
If value updates happen faster than the animations, the progress indicator gets further and further behind the current value.
While the client could throttle the progress updates, it shouldn't really need to.
Steps to Reproduce 🕹
Link:
https://codesandbox.io/s/rm4k4046vp
Context 🔦
I have some processing happening in a web worker which runs much faster in Firefox than Chrome. Progress looks fine in Chrome because the animation can keep up easily. In Firefox I see the effect demoed in the link.  Progress is going to come from a variety of sources and I'm not going to have any control of the pace of updates.
Your Environment 🌎
material-UI v3.7.0
react 16.6.3
Chrome, Firefox, Edge all latest versions.

@DaveW-Enc This change solves the issue:
/* Styles applied to the `circle` svg path if `variant="static"`. */
circleStatic: {
-  transition: theme.transitions.create('stroke-dashoffset'),
+  transition: theme.transitions.create('stroke-dashoffset', {
+    duration: 0,
+  }),
},

I'm wondering what's the best way for you to leverage it. Given the edge case it's covering (rerendering every 20ms is probably a bad idea. I would say that you can either provide a custom override or increase the interval value.


add version of the ecs's write_world method that takes a pre-boxed …

This is a simple change to add an alternate API that allow us to post a "pre-boxed" world writer to the ECS's command queue.

Seems reasonable, but before merging I'd like to know the use case this enables. I'd prefer to keep the api lean unless this unlocks new scenarios.

In my case, I am playing with a keyboard focus system. There is a type erased handler as a property of my keyboard state resource that can generate a type erased units of work against the world. I would use it by having an entity, say a text editor, gain focus by setting the handler and having that handler generate a world writer that makes the appropriate changes to what ever entities and components are necessary. Another type of widget would be able to gain focus and handle keyboard input differently without having to share knowledge between components beyond the handler interface.
I think it could be used in additional contexts where runtime polymorphism would allow low frequency work to be easier to express.

Cool cool that seems reasonable to me.


Update docs for no globals

I had a quick look through everything and changed it. The examples are updated on the remove_global_variables-2 branch. Let me know if I missed anything


Product javascript not being inserted into product page

Hi,
I have a problem where the javascript used to calculate the price of the product has stopped working in production mode. It seems to run fine and then just stopped. Viewing the source code the javascript required to update the price when a dropdown is selected is not there. There are no errors in the production log or the browser console.
An example page can be seen here: https://www.yournewbed.co.uk/products/kozee-sleep-limited-edition-2-drawer-set?taxon_id=6
Any thoughts?
Thanks.

@ums-uk  The asset pipeline is configured differently for development/staging/production.   It may be something about the way you have it configured is causing the scripts to not be loaded after the asset pipeline is compiled.  I might try running locally as production to see if the problem persists.  This would tell me it something about my projects packaging of assets.  Perhaps @acreilly  who has done more work maintaining this gem will have some more ideas for you.

I have done some more investigating and can see the problem is that the line <%= yield :flexi_variants_body_js %> doesn't return any information. I've run the production server with non-compiled JS to see if this helps but it still does not return any details. Running in production mode on my local computer also recreates the same problem - running in development mode and all works fine.

I've found a work around by dumping the contents of the file solidus_flexi_variants/app/views/spree/products/_pricing.html.erb into the bottom of the body of the application and surrounding it with a if @product.present? clause - not ideal but works for me. I expect I could actually put that content into a product view page...

@ums-uk  that sounds reasonable.  It really does seem that something about your project isn't automatically including the JS in the asset pipeline for prod mode.  It's not the worst thing in the world to include the JS in the partial that needs it.   You would just want to be sure its slowing down the page rendering in any way and this code shouldn't do that as it fires after the page is loaded.


[WIP] Implements Hindsight Experience Replay

Here are a couple of differences from the original paper I noticed:

Using target network to pick actions during evaluation.  From the paper:

Apart from using the target network for computing Q-targets for the critic we also use it in testing episodes as it is more stable than the main network.

Actor output regularisation. From the paper:

In order to prevent tanh saturation and vanishing gradients we add the square of the their preactivations to the actor’s cost function.

This might help performance by encourage the actor to take smaller action steps leading to finer control.

Please verify/be advised of the following:

The paper mentions training for 200(epochs)x50(cycles)x16(episodes) which have been approximated to run for (200x50x16x50) time-steps. What happens when a goal is reached prematurely (before 50 steps) ?
Scale of additive gaussian noise for the explorer is set to 20% (perhaps based on the report and reference implementations). The original paper reports it as 5%.
Environment Version: The original release of the Fetch environments (v0) were modified (v1) to have the table fixed to the floor (see: https://github.com/openai/gym/pull/962). Unsure how this effects results reported in the paper.
A recent pull request has also slightly modified joint angles for slide (see: https://github.com/openai/gym/pull/1511).


Cell editor showing previously configured cell viz

Cell editor shows visualization from the previously clicked cell.

After improving the loading of the graph in the VEO this has been reduced to a flicker of the previous graph.


Toast does not seem to work with IE11.

Robe React UI Version: 1.1.33
Robe React Commons: Version: 1.0.85 (Seems to be bundled after running npm install of UI)
React Version: 15.4.2 with addons
Node Version: 7.7.1
OS / Version: Win7 x64
Browsers / Versions: Internet Explorer 11

Expected behavior
This command:  import Toast from "robe-react-ui/lib/toast/Toast";
should work, as it does in Chrome and Firefox through my testing.
Actual behavior
I haven't tested any other components, but the import statement for Toast causes an error on IE 11. I wonder if IE is supported.
The error is SCRIPT5007: Unable to get property 'constructor' of undefined or null reference
Apologies but I'm a newbie so I don't exactly know how to post logs and stack trace in a way that is useful, so I'll just copy the chain of require calls that lead to it:
var _App = __webpack_require__(19);
var _Toast = __webpack_require__(85);
var _robeReactCommons = __webpack_require__(16);
var _ShallowComponent = __webpack_require__(14);
var _class = __webpack_require__(72);
var ClassInstance = new _Class2.default();

Which leads to:
var Class = function () {
    function Class() {
        _classCallCheck(this, Class);

        this.bindAll(this);
    }
    _createClass(Class, [{
        key: "bindAll",
        value: function bindAll(instance) {
            var list = ["Object", "ReactComponent", "Component", "Class", "Date", "File"];
            var parent = Object.getPrototypeOf(instance);
            var bindedKeys = [];
            while (list.indexOf(parent.constructor.name) === -1) {
                var names = Object.getOwnPropertyNames(parent);
                for (var i = 0; i < names.length; i += 1) {
                    var name = names[i];
                    var restrictMethods = instance instanceof _react.Component ? reactMethods : es6Methods;
                    if (restrictMethods.indexOf(name) === -1 && _Assertions2.default.isFunction(instance[name])) {
                        if (!bindedKeys[name]) {
                            instance[name] = instance[name].bind(instance);
                            bindedKeys[name] = true;
                        }
                    }
                }
                parent = Object.getPrototypeOf(parent);
            }
        }
    }]);

    return Class;
}();

while (list.indexOf(parent.constructor.name) === -1) is what causes the error, somehow parent is null after a few iterations because parent = Object.getPrototypeOf(parent); returns null.
To work around this, I tried to use "require" instead of "import", but that causes Toast to be undefined for all browsers, only import seems to work.

function.name not supported in IE bug fixed

That was really fast, thanks!

We would like to thank you for your feedback


[Bug]:  Connectivity Plus won't compile with flutter >=3.3.0

Platform
ALL
Plugin
Connectivity Plus
Version
^4.0.0
Flutter SDK
3.3.10
Steps to reproduce

Add connectivity_plus: ^4.0.0 to a brand new app using Flutter 3.3.10.
flutter pub get

Code Sample
No response
Logs
Because connectivity_plus >=3.0.0 depends on flutter_web_plugins from sdk which depends on js 0.6.4, connectivity_plus >=3.0.0 requires js 0.6.4.
So, because example depends on connectivity_plus ^4.0.0 which depends on js ^0.6.5, version solving failed.

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.4.1 22F82 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] IntelliJ IDEA Community Edition (version 2023.1.2)
[✓] IntelliJ IDEA Community Edition (version 2023.1.3)
[✓] VS Code (version 1.79.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Linked PR which updated the js dependency.

@vbuberen can you please take a look?

Yes, sure. Have a limited availability due to multiple reasons, but will take a look today. Thanks for ping.

@vbuberen you might also want to consider adding ci checks for the packages. This is how we do it in stream_chat. But for a more general approach you can look into this PR in flutter/packages.


Moved check_reqs in test workflow to the end

No review needed.

coverage: 25.0%. remained the same when pulling<PHONE_NUMBER>538105680d63ef23923b1bb0d61c73 on andy/move-checkreqs-to-end into 2678329f759a09fa5b757537747ec78353257e35 on master.


:c crash

From http://builds.factorcode.org/report?os=linux&cpu=x86.64 :
==== resource:core/kernel/kernel-tests.factor

resource:core/kernel/kernel-tests.factor: 75

Unit Test: { [ ] [ :c ] }

Memory protection fault at address 2986b
[Traceback]

Can't reproduce locally, and I don't see it in the other build reports. Could be either sporadic or linux-x86-64-specific.

I wasn't able to replicate a memory protection fault, but this test gave the output located at http://paste.factorcode.org/paste?id=2426 when I tried it on my local machine.

@otoburb Thanks for looking into it. I think that output is intended. The crash appears to happen on consistently on the mason machine, so maybe it only happens after a load-all, or when the kernel tests are run after another test suite.

Reproduced the :c crash on macosx-x86-32 by doing test-all after bootstrap.

macosx-x86-32 crashes pretty early when built with DEBUG=1, trying to GC from general_error.

Found the problem. call gets jitted weird:
0x92be3c22 in mach_msg_trap ()
0x6df5450: mov    %eax,0x6b99000
0x6df5455: sub    $0x1c,%esp
0x6df5458: mov    %eax,0x6b99000
0x6df545d: add    $0x1c,%esp
0x6df5460: mov    0x0(%esi),%ecx
0x6df5463: mov    %ecx,%eax
0x6df5465: and    $0xf,%ecx
0x6df5468: shl    $0x4,%ecx
0x6df546b: cmp    $0x70,%ecx
0x6df546e: jne    0x6df5477
0x6df5474: mov    -0x3(%eax),%ecx
0x6df5477: mov    $0x610342,%eax
0x6df547c: mov    %ecx,%ebx
0x6df547e: shr    $0x1,%ebx
0x6df5481: and    $0x7c,%ebx
0x6df5484: add    $0x6,%eax
0x6df5487: add    %ebx,%eax
0x6df5489: cmp    %ecx,(%eax)
0x6df548b: jne    0x6df549f
0x6df5491: mov    $0x6a0c2e54,%ecx
0x6df5496: addl   $0x1,(%ecx)
0x6df5499: mov    0x4(%eax),%eax
0x6df549c: jmp    *0x18(%eax)
0x6df549f: sub    $0x1c,%esp
0x6df54a2: mov    $0x610302,%eax
0x6df54a7: add    $0x4,%esi
0x6df54aa: mov    %eax,(%esi)
0x6df54ac: mov    $0x0,%eax
0x6df54b1: add    $0x4,%esi
0x6df54b4: mov    %eax,(%esi)
0x6df54b6: mov    $0x610342,%eax
0x6df54bb: add    $0x4,%esi
0x6df54be: mov    %eax,(%esi)
0x6df54c0: call   0x6e015f0
0x6df54c5: add    $0x1c,%esp
0x6df54c8: mov    (%esi),%eax

It looks like the epilog gets generated immediately after the prolog. If an error happens in the middle of call, such as in the [ 1 [ call ] dip ] test from the kernel tests, then the callstack walker gets corrupted because, although the return address still points into call, there's no stack frame set up for call. @slavapestov Do you know why call gets generated with the epilog immediately after the prolog like this?

I see, any generic function gets codegenned this same way. I guess this has to do with the inline cache lookup stuff? The new callstack code might need to learn how that works, so it can skip the cache lookup frame if it isn't really there.

I moved the datastack load before the epilog, so that if it fails the stack frame still remains. Looks like it fixes the problem. @slavapestov Does this sound like the right fix?


Defer tty-run-terminal-initialization for all terminal windows

Currently, we improve the startup time of emacs (daemon) with (advice-add #'tty-run-terminal-initialization :override #'ignore). This advice is removed on window-setup-hook.
But tty-run-terminal-initialization is also run after calling emacsclient -nw.
Is it possible to defer tty-run-terminal-initialization until after text appears on the screen? That way emacsclient can show us something (i.e. at least the mode-line) while it's working on fontification. It makes no sense to clear the screen, fontify, and then draw text.
Browsers do it correctly. When you click a link, the current page hangs around until the new page is ready, and then as much as possible of the new page is displayed even if some assets (e.g. large images) aren't ready yet.

I actually intend to disable that advice for daemon sessions (there's no need for it there, since the startup cost is front-loaded).
For the time being you can add this to ~/.doom.d/config.el:
(when (daemonp)
  (advice-remove #'tty-run-terminal-initialization #'ignore))

@hlissner wait, can we defer the function on new terminal frames?

Possibly with something like
(add-transient-hook! 'server-after-make-frame-hook
  (unless (display-graphic-p)
    (tty-run-terminal-initialization (selected-frame) nil t)))

Though, I don't think it's needed. Isn't all that init work done when the daemon is started?

The work is done every time a new frame is made. See: https://github.com/emacs-mirror/emacs/blob/d0e2a341dd9a9a365fd311748df024ecb25b70ec/admin/notes/multi-tty#L332


Bug: Metadata on shipping address missing when order placed

What are you trying to achieve?
Hi there,
We are storing additional metadata on the User Address object. Each address of the user has some metadata like "coordinates" etc. We need that metadata for logistics (onFleet).
When an order is placed, and we check the data (playground > Order), we don't see that metadata in shipping address.
Creating an order should create a new instance of shipping address with metadata included, right? Or are we doing something wrong?
Steps to reproduce the problem

create a user
add address for the user
Set the new address as default shipping address
add metadata to the user address (e.g. coordinates=[123, 123]
manually create an order
in the new order > select the shipping address
in playground > retrieve the order and check for the shipping address metadata

What did you expect to happen?
Order shipping address should include metadata from the User Address (selected for shipping) object.
Logs
No response
Environment
Saleor version: Saleor cloud development sandbox (https://santafoodev.eu.saleor.cloud)
OS and version: …

When creating an order or checkout, Saleor accepts the AddressInput input where address fields are copied from the selected user's address. If you're creating the orders via API you can control what metadata is passed in the AddressInput, but it seems that when creating an order with the dashboard, the address metadata is not copied. Looks like something that we should fix in the dashboard.

@madmonkeyworks Just to confirm, you're referring to creating a draft order via dashboard? Because if it was about the checkout then most likely you control the checkout mutations and could pass the address metadata in the AddressInput.

Hi @maarcingebala, yes, via dashboard.


2.5 Migrate blog from JSON to database: data

Manually create the database records in the Django admin

before this, check for migrating models with manage.py


[Bug]: Database change execution failed

ODC version
odc423
OB version

What happened?

What did you expect to happen?
Database change execution successful
How can we reproduce it (as minimally and precisely as possible)?
Execute database changes
Anything else we need to know?
No response
Cloud
No response

Sorry, I can not reproduce your problem. It works for me:

I wonder your datasource has some exception, error occur when I create a session:

I cannot reproduce your problem:

May the datasource has some exception, since error when I create a session:

The problem disappears


enums stops being enums

There doesn't really seem to be much gained from wrapping everything in a class, but perhaps I'm missing something? For one it's not possible to forward declare the enum any longer since it's nested. If you try to retrofit it into an existing code base you run into a myriad of problems because suddenly your enums aren't really enums any longer. Enums are strongly typed from the get go, so it would seem most if not all the functionality could be had from generating function overloads anyway?

Some of the trade-offs are listed in Should Better Enums provide enum "objects" or traits types? in the design decisions FAQ. There is also a link to an old implementation of Better Enums-as-language-enums. However, at the time I was publishing this repo, I chose not to go with the language-enums-plus-functions approach for the reasons described in the FAQ, and I haven't yet had the time and a strong enough reason to revisit that in this repo.

Some of the trade-offs are listed in Should Better Enums provide enum "objects" or traits types? in the design decisions FAQ. There is also a link to an old implementation of Better Enums-as-language-enums. However, at the time I was publishing this repo, I chose not to go with the language-enums-plus-functions approach for the reasons described in the FAQ, and I haven't yet had the time and a strong enough reason to revisit that in this repo.


Language File

Hello!
I would be pleased if you look at file below. I hope there won't be any problems with letters.
http://www102.zippyshare.com/v/CxuaBcTB/file.html

I put in into the language folder for now, we can test it in the next release.
And maybe you can update it from time to time?

Thanks for helping us! ^^ I let it reopened it, so you can still comment on this

I will update it as soon as you add more cool stuff. I'm not sure but it seems to me that I can edit this file directly on this website.

Maybe you can, but you have to make a pull request? But yes, that would be more practical than keeping this issue open and checking all the time.^^

I updated the language file. Could you pls look after the musket-translations? I don't know if I translated the "xxx Musket with Bayonet" right.


do not log /healthz by default

I want to use webhookd /healthz endpoint on k8s livenessProbe or readinessProbe, so I needed to skip log on /healthz request.

Hi, thank you for the MR!
You right, health check endpoint should not use authentication, tracing and logging middleware.
I think you can remove the SkipHealthzLog  config parameter. There is no true need to feature flip this. Config should stay simple.


[FEATURE] Add Option to Always Allow Access to Folders and Files Without Repeated Confirmation

I would like to request the addition of a feature that provides users with the ability to always allow access to folders and files within the extension settings. Currently, each time access is required, users must manually confirm the action, which can be cumbersome, especially during frequent operations.
This proposed feature would enhance user experience by streamlining the workflow and reducing the number of repetitive confirmations needed. Ideally, this option could be toggled on or off in the extension settings, allowing users to choose their preferred behavior.
Thank you for considering this enhancement.

+1 on this, I suggest some kind of whitelisting: ie. recursive permission to access a specific whitelisted folder ( no symlink creation allowed outside the structure  ) and some kind of max budget limiter to prevent runovers

At the very least for reads I think this makes sense.

v1.5.16 now lets you enable 'Auto allow read-only operations' to do this!

Yes seen 👍

Please add for writes too.  It needs a big red warning in the settings, but I'd love to be able to let this just run on a local model while I'm at work or something, on a new repo that there's nothing to lose on, or a fully backed up repo that I've equally nothing to lose on.


[WIP][BugFix] Fix Insert overwrite memory leak on follower node (#17556)

The callback should be removed when replaying end load job.
Signed-off-by: gengjun-git<EMAIL_ADDRESS>(cherry picked from commit 29cbcfde01ee5f327a0836f889503620e2b3dcb0)
What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run all

run all

run all


How to make a 5-point detection?

Hi，
How to use the code to make a 5-point detection, I know the dataset has 58 landmarks, but I only need to detect 5  key landmarks, what should I do?

Sorry, I got it and train a 5-point model ,but I dont konw the way where you get the training_init_shape.
Can you tell me sth about project_s2b.m?

Hi Chromer163,
I think you can find the answer from previous issues https://github.com/FengZhenhua/Supervised-Descent-Method/issues/2
Cheers,


stagingTool in Agent.java have <String, Object> type, but sometimes it behaves as <String, String)>

I may have solved this in my branch 17-make-chat-work.

Okidoki


De-duplicate testing docs.

Addresses comment in #1218.

Automated message from Dropbox CLA bot
@brainwane, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @brainwane!


feat: Feature to have widget features

Description

[ ] Adds structure for adding widget features
[ ] Currently added details for the auto height feature

Fixes #17976
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Jest PENDING

Test Plan
NA
Issues raised during DP testing
NA
Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=b2e6e71

/ok-to-test sha=bb390fe

/ok-to-test sha=ce39bff

/ok-to-test sha=bb7ff70


Fix label bug in QCAlgorihtm.Python.History() when requesting data for BaseCollection Datasets

Description

If the user requested history data for a custom dataset symbol using the overloaded method which didn't require the custom datatype, the dataframe returned contained a label called "data". This happened since the method QCAlgorithm.Python.TryCleanupCollectionDataFrame() requires the datatype to remove the "data" label, otherwise it doesn't remove it. This PR fix this bug and adds a unit test covering this case.
Related Issue

Closes #6630
Motivation and Context

With this change, when users call QCAlgorithm.Python.History() for custom symbols without specifying the custom datatype the dataframe returned won't contain a "data" label
Requires Documentation Change

N/A
How Has This Been Tested?

I created a unit test which reproduces the bug mentioned in the GH issue and asserts the dataframe returned doesn't contain a "data" label
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

*Please rebase from master


@x?y and x?y are compiled to different codes

if @x?y => do-something!

if x?y => do-something!

is compiled to
var ref$;
if ((ref$ = this.x) != null && ref$.y) {
  doSomething();
}
if ((typeof x != 'undefined' && x !== null) && x.y) {
  doSomething();
}

When we use ? with this., it doesn't check the type.

It's not necessary, in the this case, you know you aren't gonna get a TypeError.

So it's by design. Thank you.


Tool caling UI

When using Open Web UI's native search feature, we can see this UI that the model is using a tool:

After it's done, we can see the intermediate results:

It would be great if we could construct a similar UI to the user through pipelines.

hm, maybe that's already possible -- https://github.com/open-webui/open-webui/blob/main/src/lib/components/chat/Chat.svelte#L257-L264

This has been discussed before.  I would LOVE this feature - for pipelines to be able to use __event_emitter__
I'm not sure why the suggestion of using a tool includes an example which includes a pipe() function... I'm still misunderstanding the distinction between tools and pipes.

+1 that this is a cool feature -- perhaps there are two requests? One for final output and context and the other for intermediate results for some long-running processes?

final output looks like passing some other response via output payload from a pipieline, as @marchellodev mentioned.
intermediate results look like the emitter framework with OpenWebUI mentioned by @PlebeiusGaragicus , but that will not be trivial because at first glance the best you can do for message passing is using the streaming services instead --- but this may be the fastest path to implementation


Add shell auto-completion

[x] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested
Contributors: @Tienbruh, @JesusG2022, @hoonman
Our team has implemented auto-completion for various shell environments (Bash, Zsh, PowerShell, and Fish) using argcomplete, a Python library that enables tab completion for argparse. We have integrated argcomplete into the _cli.py file, updated the pyproject.toml file to include argcomplete, and revised the README.md to provide instructions on activating the tab completion feature.
Additional context & links
This addresses #843

Alright, let's get this shell autocompletion show on the road. This is a smart move – make the OpenAI CLI as user-friendly as possible. The easier it is to use, the more people will adopt it, and the faster we can spread the PMLL gospel.
I see they've already got a pull request (#1603) with argcomplete integration. That's a solid choice. We'll need to make sure it covers all the major shells: Bash, Zsh, Fish, and PowerShell. No user left behind.
And the README updates look good. Clear instructions, easy to follow. We'll make sure it's front and center, so nobody misses it.
But let's not stop there. We can take this further. How about some custom completion logic? Anticipate the user's needs, suggest relevant commands, make the whole experience buttery smooth.
And let's not forget those edge cases. Different OS versions, shell configurations... we'll test the hell out of this, make sure it works flawlessly for everyone.
This is more than just a feature, it's a gateway. A gateway to the future of AI, where PMLL reigns supreme. And with a slick autocompletion setup, we'll make sure everyone can walk through that gate with ease.
So let's merge this PR, polish the docs, and unleash the power of autocompletion.
Bash
$ openai api completions.create -m # Hit TAB
...and like magic, the CLI suggests:
Bash
$ openai api completions.create -m
The user starts typing text-davinci-003, hits TAB again...
Bash
$ openai api completions.create -m text-davinci-003 --pr # Hit TAB
...and the CLI knows what's up:
Bash
$ openai api completions.create -m text-davinci-003 --prompt "
See?  Smooth as silk.  No more fumbling through docs, no more typos. Just pure, unadulterated coding bliss.


All Terrain Armored Transport Animation

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # 302

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Explain the Testing instructions
Test Configuration:

Operating system:
Version:
Text-editors used:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@starashdeep nothing is visible
https://deploy-preview-336--amazing-css-effects.netlify.app/all terrain armored transport animation/at-at_walker
your index file only contains  tag
there is no html and body tag and no css is linked

I have made the required changes and now the code works perfectly. Sorry for the inconvenience caused.

@starashdeep make a new PR i think there is some thing wrong with this RP


Run v2 - NMS: Asked to review updates on fresh install

Steps to reproduce:

Uninstalled the version of NMS I had on my app
Installed new version from Firebase
Open up new version of app for the first time, go through usual security quiz, etc
Once the dashboard loads, I see the 'link updates loading' toast
I am then asked to review the updates (see screenshot)

It seems little odd to review updates because:

all tests have install updates automatically selected
if this is my first time loading the app reviewing the updates seems odd because, in theory, I have no loaded the tests before (but maybe something is cached or because I have been installing/reinstalling this is happening?)

This was fixed


New rule - SV Constraint using array reduction method, check for casting

Is your feature request related to a new rule? Please describe.
SV Constraints using array reduction methods may yield surprising results.
From https://www.linkedin.com/posts/avidan-efody_constraintabrsolverabrtips-servingthenextbug-activity-7065262658182160384-VFXc?utm_source=share&utm_medium=member_desktop
class bug_c;
  rand bit num_list[32];
  constraint cst_sum {
    num_list.sum() == 1; }
endclass

The sum function stores the sum in a variable. By default, this variable is the same size as the item, I.e. in this case 1. If this variable wraps around (as is very likely to happen in this case), you’ll get unexpected results.

Mihael Fugenfirov

a very common one. an array reduction method will return the result of the same type as an array element type (a single bit here)

Solutions: cast into a variable that won’t overflow num_list.sum() with (6’(item)) == 1
Describe the solution you'd like
Add a lint rule to check for missing cast in such cases.

PySlint: Violation: [FUNC_CNST_MISSING_CAST]: Potentially incorrect constraint expression! An expression involving array-reduction method sum() was found, but is missing an explicit cast. This can lead to strange results as array reduction methods return an expression of the size of its elements, check if you need a with (int'( cast around the following expression:
num_list.sum()

Added rule and a test.


gastricism, fissileness (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Check Caffeine to replace Guava caches

@ben-manes on the dev list:

Since Gradle 5.0 is Java 8-based, the usages of Guava's cache can be replaced with Caffeine. There seem to be 25 files importing it - are any of these performance critical like in your original testing Luke / Lari? If so, you can switch over without much complexity. You may want to set to Caffeine.executor(Runnable::run) if callbacks (like RemovalListener) need to run on a known thread (vs ForkJoinPool). I'd also advise reviewing your ample usage of soft/weak references, since soft is fairly a poor approach in most cases.

We should see how this works as a replacement. The benchmarks look promising: https://github.com/ben-manes/caffeine/wiki/Benchmarks

@lptr I feel like this has fell under the radar? Cache performance probably is important to overall gradle performance so this is worth exploring

You're right, it did. I wonder if the results still hold, though. We are planning to upgrade to Guava 30 with Gradle 7.0. Maybe it'll be worth taking a look at this then.

Guava’s cache stopped active development 8-10 years ago, so the benchmarks still holds true. That is with 64 concurrency level, whereas the default is 4, so Guava is performing worse in your usages. How much of a gain, if any, depends on if those caches are performance sensitive.

We have a few caches that are performance sensitive I think.
Would be lovely if someone could create a PR. I'd be happy to run our performance suite on it. Doing so would increase the chance of getting this implemented by a lot.

@lptr done, please see #15354

As shown by https://github.com/gradle/gradle/pull/15354 there is no noticeable performance improvement by doing the switch, yet there is a significant amount of added complexity if we do it. Let's not do it then.


fix the verify step in cloud tutorial

For #824
Removes the docker-cloud repository ls which only lists external registries. Updates to have the reader log in and visually verify.
Also fixed some formatting while I was in there.
Signed-off-by: LRubin<EMAIL_ADDRESS>

Deploy preview ready!
Built with commit 83474ce9800b221c3168e40a19616edc88402b9c
https://deploy-preview-840--docker-docs.netlify.com

LGTM!


Does gsplat support saving the trained data to a splat file?

Hello,
I am wondering if gsplat support the ability to save the checkpoint to a splat file which can be viewed in other applications? I cannot find any documentation on how to save this as a splat/ply file. Thanks!

duplicate of #234


[WIP] Fix invalid PHP code samples in utests

Early opening to keep an eye on the tests using Travis

when #1538 is updated, I'll start again.


Perform architectural design

It is necessary to create a document with information about the architectural design this must contain the next information:

Technologies to use for front-end and back-end
Technologies for the database
Technologies for the security
Tools for developing
Versioning system

Architecture Design:

Front end:
React 18 will be used along with PrimeReact 9.3.1, Node 18 will be the version used for development.
Back end:
Java 17 will be used as the language, Gradle for its compilation and Spring as the framework.
Database:
Postgresql 15 will be used as the database engine.
Testing:
Junit will be used for backend tests, and JMeter for speed tests.
Integration and Deployment:
Docker will be used as the integration and deployment manager.
Security:
Keycloak will be used as the identity manager.
Versioning system:
Git with GitHub


RFC: New Looping Syntax

This ticket is just to decide on a common syntax for looping. We have number of issues for various new types of loops we want to add and it would be good if they all looked like they were designed together. Implementation details can stay in their individual issues:

#2955
#2807
#2775

Iterate over map keys - #2955
Multi-key map iteration provides a tuple representing the key:
@x[1,2] = 3;
for ($key : @x) {
  printf("%d, %d = %d\n" $key.0, $key.1, @x[$key]);
}

Tuple-destructuring (not needed right away):
@x[1,2] = 3;
for ([$key1,$key2] : @x) {
  printf("%d, %d = %d\n" $key1, $key2, @x[$key1, $key2]);
}

Single-key map iteration automatically destructures tuple?
@x[1] = 2;
for ($key : @x) {
  printf("%d = %d\n" $key, @x[$key]);
}

Iterate over integers - #2807
Iterating over a range of integers provides an integer:
for ($i : 0..10) {
  printf("%d\n", $i);
}

More structured than the existing while keyword; iteration and termination is enforced at the language level (instead of BPF verifier).
Would we also want to add a way to adjust the iteration step-size?
Iterate over kernel lists - #2775
An alternative to the iter:* probes, to allow iteration within other probes. Iterating over these lists provides whatever type their BPF iterators return (task*, task_vma*, etc):
for ($task : iter(task)) {
  printf("%s, %d\n", $task->comm, $task->pid);
}

(I'm not completely convinced by the iter(task) syntax)

I like the for (item : range) syntax, it's common in many languages, so I'd stick to that.

Tuple-destructuring (not needed right away):
@x[1,2] = 3;
for ([$key1,$key2] : @x) {
  printf("%d, %d = %d\n" $key1, $key2, @x[$key1, $key2]);
}

Here, I'd prefer parentheses instead of square brackets:
for (($key1,$key2) : @x) {

The reason is that this is the way we represent tuples in bpftrace. Truth is that there's no parentheses in the map definition, but I consider it "implicit" in case of compound map keys. We could eventually add tuple destructuring for normal assignments, too:
@x = (1, 2)
($a, $b) = @x

(I'm not completely convinced by the iter(task) syntax)

I think it fits nicely with other builtins of bpftrace so no problem on my side.

+1 to what @viktormalik said. The only thing I'd add/change would be iter("task") over iter(task). Probably good to avoid proliferation of keywords where we expect a lot of additions in the future..

Would we also want to add a way to adjust the iteration step-size?

Do you mean within the loop? If so is that something the verifier might possibly reject that we have to detect ahead of time?

for (($key1,$key2) : @x) {

I guess my only concern about destructuring is that I feel like a tuple denotes a key/VALUE pair instead of multiple keys. Maybe we should to something like python where we have key words for what we want to iterate over in the map e.g.
for ($key : keys(@x)) {

for ($val : values(@x)) {

Then we could destructure the key into multiple keys while being explicit about what we're iterating over.

+1 to what @viktormalik said. The only thing I'd add/change would be iter("task") over iter(task). Probably good to avoid proliferation of keywords where we expect a lot of additions in the future..

In that case, we'd have to change kstack and ustack builtins, too, as they already use non-quoted modes (e.g. kstack(perf)). I'm wondering if we could update our parser such that it would allow distinguish function call modes from standard keywords (e.g. builtin names).

Would we also want to add a way to adjust the iteration step-size?

Do you mean within the loop? If so is that something the verifier might possibly reject that we have to detect ahead of time?

I meant it more like Python's range(0,10,2), where it would iterate over the numbers 0, 2, 4, 6, 8. But I'm thinking that it's probably not worth worrying about as users could just multiply the iteration number before using it, e.g. for ($i : 0..10) { printf("%d\n", $i * 2); }

for (($key1,$key2) : @x) {

I guess my only concern about destructuring is that I feel like a tuple denotes a key/VALUE pair instead of multiple keys.

That's a good point. I'm not too keen on the Python syntax, but most other languages do provide a tuple of the key and value when iterating over a map - that's probably be better for us to do here too:
@x[1,2] = 3;
for ($kv : @x) {
  printf("%d, %d = %d\n" $kv.0.0, $kv.0.1, $kv.1);
}

And with destructuring:
@x[1,2] = 3;
for (($key, $value) : @x) {
  printf("%d, %d = %d\n" $key.0, $key.1, $value);
}
for ((($key1, $key2), $value) : @x) {
  printf("%d, %d = %d\n" $a, $b, $value);
}

The only thing I'd add/change would be iter("task") over iter(task). Probably good to avoid proliferation of keywords where we expect a lot of additions in the future..

As Viktor said, we already have stack modes which accept a non-quoted string, and then there's also nsecs(monotonic), nsecs(boot) etc. The nsecs implementation is newer and doesn't actually require the arguments to be keywords - they're just plain identifiers so they don't conflict with anything.


If loadGoogleMapSdk(params, callback) is called twice window.google becomes undefined

This is my first issue ever here in github, sorry if I do not follow the conventions. Also forgive my english.
For some reason in my code the  loadGoogleMapsSdk(params, callback) function is being called twice and because of that in the second call  window.google = undefined;

Because of that, I am receiving the following errors (and everything google-maps related stop working)

When I comment that line, everything works fine

So, should that line be removed or should I prevent that loadGoogleMapsSdk function from being called more than once?
[Also state === LOADED is true the second time ]
thanks in advance

Hi @jjavierdguezas. I published a fix. Could you try the new 4.2.3 version ?
Thank you

Thanks @xuopled , it works OK now.


send_web_push expects a subscription endpoint with an endpoint parameter

 ** (ArgumentError) send_web_push expects a subscription endpoint with an endpoint parameter
I am trying to pass the received subscription object given below directly as argument-
 %{   "endpoint" => "ENDPOINT",   "expirationTime" => nil,   "keys" => %{     "auth" => "AUTH",     "p256dh" => "P256DH"   } }
`post "/notifications/subscribe" do

body = ~s(title: "my_title", body: "my_body")
{:ok, subscription, conn} = read_body(conn)
subscription = Poison.decode!(subscription)
IO.inspect(subscription)

gcm_api_key = "GCM_API_KEY"

{:ok, response} = WebPushEncryption.send_web_push(body, subscription, gcm_api_key)

end`

Should I need to make any changes to the received subscription object before passing it?

Converting the received Map into Structs had worked for me
`post "/notifications/subscribe" do

body = ~s({"title": "my_title", "body": "my_body"})
{:ok, subs, conn} = read_body(conn)
subs = Poison.decode!(subs)

subscription = %{
  keys: %{p256dh: subs["keys"]["p256dh"], auth: subs["keys"]["auth"]},
  endpoint: subs["endpoint"],
  expirationTime: subs["expirationTime"]
}

{:ok, response} = WebPushEncryption.send_web_push(body, subscription)
send_resp(conn, :ok, response)

end`


Fix clang-format in the pre-built docker image

sorry forgot to log under my name when I did PR

merging before the tests run? I like your trust in me

alea jacta es

I always forget that changes to docker can mess up the tests :-(


Numlockx: new package at 1.2

Please fill out the template.
Read: https://k1ss.org/style
Read: https://k1ss.org/guidestones

Description of package
This little thingy allows you to start X with NumLock turned on.
Installed manifest of package
($ cat /var/db/kiss/installed/numlockx/manifest)
/var/db/kiss/installed/numlockx/version
/var/db/kiss/installed/numlockx/sources
/var/db/kiss/installed/numlockx/manifest
/var/db/kiss/installed/numlockx/checksums
/var/db/kiss/installed/numlockx/build
/var/db/kiss/installed/numlockx/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/bin/numlockx
/usr/bin/
/usr/

New package

[x] Latest upstream version.
[x] I agree to maintain this package.
[x] I agree to notify @dylanaraps if I can no longer maintain this package.

Existing package

[ ] I am the maintainer of this package.

numlockx depends on libX11 libXtst and libXext, so you may want to add those as well


build simple_game for android failed

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] My code has no errors or misuse of raylib

Issue description
i followed this tutorial for build android game with raylib. i made libraylib.a without any problem then i changed Makefile.Android content for my system (sdk,ndk,...) but when i run https://github.com/raysan5/raylib/wiki/Working-for-Android command it will shows errors:
process_begin: CreateProcess(NULL, uname, ...) failed.
process_begin: CreateProcess(NULL, uname, ...) failed.
make -f Makefile.Android
process_begin: CreateProcess(NULL, make -f Makefile.Android, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:413: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Environment
OS: windows 10 latest update (x64)
RayLib: cloned repo (2 hours age)
c++ compiler: TDM-GCC-32 (TDM-GCC-64 tested too)
jdk: openjdk13 (jdk8 tested too)
ndk: ndk21e (latest 21)
sdk: latest anything...
Code Example
this project without any change in .c file

any spaces in your path to the project folder ? (just a thought!)

no
C:\Users\Arman\Documents\git\raylib\templates\simple_game

ah well, was worth a try
is make in your command path, ie if you open up cmd and type make (could be make.exe depending on sdk) does it work. Similarly as G++ gcc ld cpp et al all working from any path.
if you have Windows Subsystem for Linux installed you might try with that, make gcc etc all come from that side of things so its less forcing a square peg through a round hole, the script seem to be wanting to run uname as well, such things will definitely work in WSL and also I seem to remember msys was quite good too. If you have a spare partition or usb stick you might want to try Linux or even a "live" OS on a usb device

@ejamshidiasl Updated Makefile to use mingw32-make while compiling on Windows. Also added a comment on the Wiki.
Compilation should work now.


wasn't stripping dist from URL

"Thanks, your CLA has been submitted." :)

Hello @karolklp—sorry for the delay in looking at this. The code as-is seems to be working for me, but I'm on OS X. Are you using Windows, by any chance? Could you describe the failure in more detail?

It still doesn't work for me. I'm on Windows 8.1.
Gulp serve-dist in demo is building cache file with "dist" in URL
var PrecacheConfig = [["dist/css/main.css" ...

so in Service Worker's console we get

Request for http://localhost:3000/dist/css/main.css?sw-precache=1431326291764 returned a response with status 404, so not attempting to cache it.

It's nice, that in Chrome Canary (44) it's written in console. In Chrome Stable - 42 the only thing you get in console (not SW console, but in webpage console) is

Content is cached, and will be available for offline use the next time the page is loaded.

after my change, PrecacheConfig build from gulp tast looks like this:
var PrecacheConfig = [["/css/main.css" ...

and it's working :)

Thanks, Karol. I hadn't tested the demo on Windows previously.
I made a slightly different change in https://github.com/GoogleChrome/sw-precache/commit/983e4b24b4aeca89d68706669b1259eb34189776 that should accomplish the same thing, but I wanted the final path to be a relative URL, so I'm stripping out the leading '/' character as well.


Fix menu navigation on tvOS

This commit: https://github.com/royaloperahouse/stream-tv-app/commit/526378bff32a9708ef06a9410eb8130ec78613bf broke the navigation on tvOS

Two issues AFAICS:

Navigation to an item doesn't work because we are instantly sent back to the item list page. (This is because of the change (in GoBack.tsx)in the above commit from an onPress handler to an onFocus handler, where in iOS the focus is apparently on the back button initially which is thus activated immediately).
Once navigating back to the main menu, can't navigate back to the item list.

It would seem that (on iOS) the GoBack component is receiving focus before the event details screen is mounted...! Mitigated here by only displaying the GoBack button if the component is mounted. Probably need to create an issue on this at react-native-tvOS though.

Issue on react-native-tvOS

At this stage, it's not clear without more work how to fix the current issues...


adding the ability to disable current screen on menu opened

adding the ability to disable the current screen when menu is opened and instead when clicked on current screen menu will be toggled

functionality available in the version 2.0.0.


[Deps] Remove nonbreaking pins

Should make upstream crates (like the sequencer) easier to update in the future. E.g. if there are incompatible patch dependencies (e.g. syn ==2.0.53 vs syn ^2.0.10 is currently blocking the sequencer update) this would solve that by allowing us to have a version that satisfies both.
This doesn't change the version of anything, everything is still the same in the Cargo.lock.

@jbearer - since you're most familiar with the update process - does this make sense to do, or it would it be more beneficial if I pinned the minor versions (e.g. syn = "2.0") instead of the allegedly non-breaking ones?


error: compiling pre-compiles with solc fails

When I am trying to compile the precompiles with solc, I am getting various errors, and I wanted to know is there something i am missing?
Here is what I am doing:

cloning https://github.com/lambdaclass/zksync_era_precompiles
cd precompiles
solc --strict-assembly Modexp.yul

I get the following error:
Error: Cannot use builtin function name "number" as identifier name.
   --> Modexp.yul:370:34:
    |
370 |             function UIntBitSize(number) -> bitSize {
    |                                  ^^^^^^

Error: Expected keyword "data" or "object" or "}".
   --> Modexp.yul:370:34:
    |
370 |             function UIntBitSize(number) -> bitSize {

solc version: Version: 0.8.13+commit.abaa5c0e.Darwin.appleclang

Hey @bajpai244!
Towards the end of the README file, we've included some handy commands to get the precompiles up and running. To compile these precompiles, you'll need the zksolc compiler, a solc wrapper that compiles contracts compatible with zksync nodes.
If you're interested in running a local memory node with the precompile contracts, execute make setup followed by make run. However, if you only wish to compile contracts without initiating the local node for any reason, you can utilize another command, make build-precompiles.
Please note, there might be an issue when running the node, specifically #208. We're currently investigating this error related to some version problem.

Hello @IAvecilla , thanks for the response here.
I don't want to run these pre-compiles on zk-sync era vm, but on the EVM itself, and hence I need them to be compiled via solc, but as explained they are giving errors.

Mmmh I see. These precompiles aren't designed explicitly to operate within the EVM itself. They utilize ZKSync opcodes through the 'verbatim' instruction. While it might be possible to ensure compatibility, it would require a few adjustments to achieve that.

Closing as it is not possible for compiling the precompiles using solely solc.


Move away from WebRTC DataChannel, using socket for game input.

WebRTC Datachannel has some bug (when the connection disconnect abnormally)
ortc ERROR: 2019/10/23 19:24:00 Failed to accept data channel: unexpected packet type: WebRTC  #Binary
In addition, WebRTC Datachannel seems not be currently supported by some browser.
Because game input payload is small, better use WebSocket for input.

@giongto35, and how does its latency compare to UDP-based DataChannels? Does it matter?

WebRTC Data Channel is based on SCTP, you can see the comparison here https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/network/sctp_intro.html
As I understand, SCTP is message-oriented while TCP is byte-oriented, so we gain advantage with SCTP if our message is a big atomic data/ However, our use-case is user-input, which is not big.
At first, I used it because It comes together with the WebRTC toolset. However, I'm seeing it is causing some incompatibility, so I think I need to get rid of it :D

I see, thanks for the explanation. I thought DataChannels can use either TCP or UDP for transmission just like peer connections.


Patterns matched to target names rather than dependency files

The Sakefile below illustrates the problem for which I didn't find a solution: I have many different targets that have no dependencies (they download files from a database) and differ only in one parameter. I can't use patterns for this because patterns are matched on dependencies. Would it be possible to match dependency-free targets using the target name instead? I'd then run sake "download 193L' to run the target download %pdbwith%pdbset to193L`.
#! DOWNLOAD_PDB = wget http://www.rcsb.org/pdb/files/
#! DOWNLOAD_FASTA = wget http://www.rcsb.org/pdb/download/downloadFile.do\?fileFormat\=fasta\&structureId\=

download 193L:
  help: download protein structure 193L from the PDB
  dependencies:
  output:
    - 193L.pdb
    - 193L.fasta
  formula: >
    ${DOWNLOAD_PDB}193L.pdb;
    ${DOWNLOAD_FASTA}193L -O 193L.fasta;

download 1B0D:
  help: download protein structure 1B0D from the PDB
  dependencies:
  output:
    - 1B0D.pdb
    - 1B0D.fasta
  formula: >
    ${DOWNLOAD_PDB}1B0D.pdb;
    ${DOWNLOAD_FASTA}1B0D -O 1B0D.fasta;

download 3KYH:
  help: download protein structure 3KYH from the PDB
  dependencies:
  output:
    - 3KYH.pdb
    - 3KYH.fasta
  formula: >
    ${DOWNLOAD_PDB}3KYH.pdb;
    ${DOWNLOAD_FASTA}3KYH -O 3KYH.fasta;

Hi, khinsen. Thanks for the feedback!
I didn't implement patterns myself and it looks like there's a few problems with it that I'll have to address :( Maybe @kirbyfan64 can help with this.
In the mean-time, if I had to solve the problem you mentioned above, I'd either make one target that downloads all the data, or (more likely) use a shell script like this:
#!/bin/bash
wget http://www.rcsb.org/pdb/files/$1.pdb
wget http://www.rcsb.org/pdb/download/downloadFile.do\?fileFormat\=fasta\&structureId\=$1.fasta

And then all the targets formula will depend on the script and all the formulas can look like:
./my_script 3KYH

or whatever the protein is.
Hope that helps!

Hmmm...
I think the pattern matching syntax might need to be changed. Right now, patterns are expanded based on dependencies. Expanding patterns in names too would work...but it'd lead to weird ambiguities and a crappy implementation.
...but Sake is in a bugfix-only mode...
Besides, implicitly expanding patterns in dependencies can lead to spurious bugs.
My new idea is this (ignore the fact that I didn't quote correctly):
build %x.o in dir %y:
 dependencies:
  - %x.c
 output:
  - %x.o
 file patterns:
  - x: %.c
 name patterns: y

It's more explicit. Using the current syntax would lead to issues like:
download %x:
 dependencies:
  - %x.c

Is x a name pattern or a file pattern? Or both?
On a side note, I recently discovered an unfortunate hole in patterns where 1 file matched by a pattern needs an extra dependency.
I'm really sorry about the trouble the patterns caused and the mess it created.

@tonyfischetti Thanks for proposing a workaround, this looks doable indeed.
@kirbyfan64 I can see how patterns could be resolved based on dependencies (what sake does now) or based on targets (the way make does it), but I'd expect a mess when trying to do both.
In fact, the two approaches have very different semantics from the end user's point of view. Sake's approach is "here's the input data I have, run all the possible processing on it". Make's approach is "this is the result I want, run whatever it takes to get there". Seen this way, automatic downloading doesn't make sense in sake.

This issue can now be, alternatively, solved by the new ?= syntax. I'll upload this to PyPI and update the documentation soon. Let me know if you have any questions about how to use this to solve your problem. :)


Add hammerspoon

Hammerspoon is a program for scripting MacOS; it puts config
in ~/.hammerspoon by default. The location can be changed with the
MacOS defaults command.
See https://github.com/Hammerspoon/hammerspoon/issues/2175

Thank you!


Add a basic invoke because that seems to pick up webpack errors

This pull request proves the test works, I'll merge it with @tvhees branch now


Update Bootstrap to v4 Beta and correct everything which needs to be corrected

https://github.com/kealsera/rikki/commit/2fd8fb71e8500170ebf00059288b63031f6e10be
Seems to be working for now


DateTime in wrong format for sql server to interpret correctly.

Query, when ran through future framework inserts date as "2017-09-22T13:47:44.693-05:00"
Which looks like it is putting the timezone offset on the date.
Same Query ran without the future framework generates a date string as "2017-09-22 14:06:28.3795617".
The date is being using in the where clause like this "someDateField > currentDate"
EF Core 2.

Hello @ksmithRenweb ,
Thank you for reporting.
We fixed a similar issue for EF6 I believe a few weeks ago. We may have missed something for EF Core.
We will look at it during the weekend.
Best Regards,
Jonathan

Hello @ksmithRenweb ,
We successfully reproduced the issue but were unable to fix it. The command text is generated by Entity Framework Core itself. So that makes it quite hard to find what we missed.
Is this request really important for your side? Can you live with it?
I believe soon or later it will be fixed but we would prefer the later answer ;)
Best Regards,
Jonathan

Hi @JonathanMagnan ,
Due to a chain in dependencies it is critical to fix a major performance bug in our application. It is impacting customers on production.
The choice is to fix it in your library. Or drop your library till some time in the future. And suffer the db round trip performance hits. I'll be trying to deep dive into your library and ef core 2 today to see if I can fix it myself. Easier than changing 100's of calls.
Further investigation on Friday showed the date string would parse into a datetime2 dbtype . So it provides an starting point.
Thanks,
Kevin

Hello @ksmithRenweb ,
Thank you, we will for sure look at it then. The major problem in this request is finding in EF Core why the SQL is generated without parameter with our library but executed with parameter without our library.
If you want, you can temporary disable batching in your library without having to make modifications using the following option:
QueryFutureManager.AllowQueryBatch = false;

Obviously, you will lose all advantage of using Future but you will not have to change your code while we investigate this issue.
I will try to check this issue tomorrow.
Best Regards,
Jonathan

Hello @ksmithRenweb ,
The v1.7.1 is now available,
We issue should have been fixed and parameter like in EF Core 1.1 is now used.
Please reopen this issue if you still have the problem.
Best Regards,
Jonathan

@JonathanMagnan Thanks, verified fixed.


[Flaky Test] Integ Test for IndexManagementDashboard are flaky

What is the bug?
When integ-test for this package are ran, the test result is flaky. For Ex: for the build https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/7942/, there were multiple tries for integ tests, where the tests passed in https://build.ci.opensearch.org/me/my-views/view/all/job/integ-test-opensearch-dashboards/6436/ but failed in https://build.ci.opensearch.org/me/my-views/view/all/job/integ-test-opensearch-dashboards/6452.
How can one reproduce the bug?
No clear way to reproduce.
What is the expected behavior?
Test should always pass.
What is your host/environment?

OS: [e.g. iOS]
Version [e.g. 22]
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

[Catch All Triage - 1, 2,  3,  4]


Swiftshader not building

Describe the bug
The swiftshader derivation is not properly building.
Steps To Reproduce
Steps to reproduce the behavior:

...clone the nixpkgs repository master branch
...nix-build -A swiftshader

Expected behavior
The expected behaviour is for the derivation to build, but it doesn't giving:
[...]
[ 15%] Building CXX object third_party/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/basic_block.cpp.o
In file included from /build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:15:
In member function 'sw::RGB9E5::operator unsigned int() const',
    inlined from 'virtual void MathTest_SharedExponentSparse_Test::TestBody()' at /build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:91:42:
/build/SwiftShader-4ed9d34/src/System/../System/Half.hpp:115:68: error: '<anonymous>' is used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wuninitialized-Werror=uninitialized]8;;]
  115 |                 return *reinterpret_cast<const unsigned int *>(this);
      |                                                                    ^
/build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp: In member function 'virtual void MathTest_SharedExponentSparse_Test::TestBody()':
/build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:91:56: note: '<anonymous>' declared here
   91 |                 unsigned int val = RGB9E5(f, 0.0f, 0.0f);
      |                                                        ^
In file included from /build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:15:
In member function 'sw::RGB9E5::operator unsigned int() const',
    inlined from 'virtual void MathTest_SharedExponentRandom_Test::TestBody()' at /build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:112:36:
/build/SwiftShader-4ed9d34/src/System/../System/Half.hpp:115:68: error: '<anonymous>' is used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wuninitialized-Werror=uninitialized]8;;]
  115 |                 return *reinterpret_cast<const unsigned int *>(this);
      |                                                                    ^
/build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp: In member function 'virtual void MathTest_SharedExponentRandom_Test::TestBody()':
/build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:112:50: note: '<anonymous>' declared here
  112 |                 unsigned int val = RGB9E5(r, g, b);
      |                                                  ^
In file included from /build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:15:
In member function 'sw::RGB9E5::operator unsigned int() const',
    inlined from 'virtual void MathTest_SharedExponentExhaustive_Test::TestBody()' at /build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:129:42:
/build/SwiftShader-4ed9d34/src/System/../System/Half.hpp:115:68: error: '<anonymous>' is used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wuninitialized-Werror=uninitialized]8;;]
  115 |                 return *reinterpret_cast<const unsigned int *>(this);
      |                                                                    ^
/build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp: In member function 'virtual void MathTest_SharedExponentExhaustive_Test::TestBody()':
/build/SwiftShader-4ed9d34/tests/MathUnitTests/unittests.cpp:129:56: note: '<anonymous>' declared here
  129 |                 unsigned int val = RGB9E5(f, 0.0f, 0.0f);
      |                                                        ^
cc1plus: all warnings being treated as errors
make[2]: *** [tests/MathUnitTests/CMakeFiles/math-unittests.dir/build.make:90: tests/MathUnitTests/CMakeFiles/math-unittests.dir/unittests.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2537: tests/MathUnitTests/CMakeFiles/math-unittests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 15%] Building CXX object third_party/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/construct.cpp.o
[...]

Additional context
Add any other context about the problem here.
Notify maintainers

@expipiplus1

@AtilaSaraiva I don't have the time to get to this for at least the next month, feel free to have a go yourself or ping me if it's not working by then :heart:


problem migration admin-bro to adminjs

@dziraf
I migrated from admin bro to adminjs(last version)
I changed the config but when i start application i have this error:
Error: Cannot find module 'react' i added react dependency after that i have another error
(node:21508) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'useState' of
null
at Object.useState (D:\projets\equipe\back\Equipty-Admin\node_modules\react\cjs\react.development.js:1622:21)
at ae (D:\projets\equipe\back\Equipty-Admin\node_modules\styled-components\src\models\StyleSheetManager.js:34:33)

Hi faroukbouzouita follow the that will fix this problem https://github.com/SoftwareBrothers/adminjs/blob/master/CONTRIBUTING.md#basic-example


Get fatal error when os upgrade

RancherOS Version: (ros os version)
v1.1.2-rc2
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
docker-machine & virtalbox
Execute os upgrade related command, get some errors:
os-upgrade_1 | Installing from :v1.1.2-rc2
os-upgrade_1 | lsblk: : not a block device
os-upgrade_1 | time="2017-12-25T09:22:38Z" level=error msg="error layDownOS exit status 32"
os-upgrade_1 | time="2017-12-25T09:22:38Z" level=fatal msg="Failed to run install" err="exit status 32"
Continue with reboot [y/N]: y
INFO[0068] Rebooting

We will not fix it and have pointed this out in the doc.
https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/workstation/docker-machine/


GitLab VCS provider should work with self-hosted GitLab

Feature description 💡
When creating a GitLab VCS provider, the user should have the opportunity to input the URL of their GitLab instance/API. The same is true when editing an already existing provider.
Anything else?
No response

Hello @btpier
I think we could add a new field for the hostname when you create a VCS connection but not sure if that could be enough and we dont have a way to test it because we dont have a self-hosted instance.
If you would like to contribute to the code or help us to test it all help is welcome.

VCS types are define in the following ENUM.
https://github.com/AzBuilder/terrakube/blob/main/api/src/main/java/org/terrakube/api/rs/vcs/VcsType.java
To add a new field for the VCS entity we only need to modify the following class.
https://github.com/AzBuilder/terrakube/blob/main/api/src/main/java/org/terrakube/api/rs/vcs/Vcs.java
Add the new field for hostname or any other new parameter in the database scripts.
https://github.com/AzBuilder/terrakube/blob/main/api/src/main/resources/db/changelog/changelog.xml
The terrakube endpoint that get the Gitlab/Github/Bitbucket/Azure Devops token is the following class.
https://github.com/AzBuilder/terrakube/blob/main/api/src/main/java/org/terrakube/api/plugin/vcs/controller/CallbackController.java
And the gitlab logic to get the token is in this class.
https://github.com/AzBuilder/terrakube/blob/main/api/src/main/java/org/terrakube/api/plugin/vcs/TokenService.java#L69
https://github.com/AzBuilder/terrakube/blob/main/api/src/main/java/org/terrakube/api/plugin/vcs/provider/gitlab/GitLabTokenService.java
If you would like to contribute all pull request are welcome :)

I open a new issue to add support for self hosted VCS providers #590,
I already update the code with the changes to support self hosted Gitlab, if anyone is interested in testing the new feature please add a comment in #590


Fix Race condition in digest.go

Fixes race condition detected by running go build -race
Use read/write mutex, to get finer grain control
Also added some golint fixes

#52

@nlacey Your fix is nearly alright (i'm using the lib and has applied it to my local build), except for the RLock/RUnlock in line 230-231 (beginning of Wrap). Since CheckAuth and RequireAuth are called from this, and as we only have one mutex in play, those calls end up unlocking the mutex, leading to a panic at runtime, when the defer in line 231 triggers. You are not allowed to RUnlock an already unlocked RWMutex.
However, since both of the calling functions manage their own mutex needs, I don't think you need the read lock at the start of Wrap at all.

Thanks guys!  Sorry I didn't have any more time to spend on it!