Enhancement: table create date for Athena tables?

Not sure if this is possible, but it would be nice to know when a table was created.
Is it possible to automatically bake a MM-DD-YYYY type prefix into the tablename created in S3?
CREATE EXTERNAL TABLE covid_symptom__prevalence_ed(
author_week date,
author_month date,
gender string,
race_display array,
age_at_visit bigint,
age_group varchar(5),
variant_era varchar(12),
enc_class_display varchar(21),
subject_ref string,
encounter_ref string,
covid_pcr_result varchar(8),
covid_icd10 string,
covid_dx boolean,
covid_symptom varchar(24),
symptom_icd10_display string)
ROW FORMAT SERDE
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
STORED AS INPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
LOCATION
's3://avillach-v2-bch-pl-lzprod-leap-dev-etl/athena-results/tables/8796aa2a-eefd-46af-87bd-2214225dcc99'
TBLPROPERTIES (
'auto.purge'='false',
'has_encrypted_data'='false',
'numFiles'='-1',
'parquet.compression'='GZIP',
'presto_query_id'='20230929_145431_00040_fw37t',
'presto_version'='0.215-19159-g08fc90f',
'totalSize'='-1',
'transactional'='false')

@dogversioning if this is a big ask, no worries, it would just make my life slightly easier when trying to remember metadata of when study tables were created. Since I do things that may be are "out of band" from your normal "build library" process, this may not the the right solution. I'm all ears what a good solution would be , even if that is "Andy follow best practice".

OK, easy enough with a few extra steps to Login CLI and do this
https://stackoverflow.com/questions/62196421/determine-the-table-creation-date-in-aws-athena-using-information-schema-catalog

Note that we have a transaction log per study now, so you can see when studies were last built, which I think covers the spirit of this ask. I haven't made a global version yet, but you can find it, going forward, in a table called [study_prefix]__lib_transactions.
I'm going to close this as a result of this already being present. There are also a lot of structural reusability reasons I would prefer not to do this as written - if you really want it this way, feel free to reopen and we can talk about it further


[Bug]: 执行教程出现问题，utc-base 权重文件下载地址错误

软件环境
- paddlepaddle:2.4.1
- paddlenlp: 2.5.0

https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/zero_shot_text_classification#%E6%A8%A1%E5%9E%8B%E5%BE%AE%E8%B0%83

执行这个命令出现问题

python run_train.py  \
    --device cpu \
    --logging_steps 10 \
    --save_steps 100 \
    --eval_steps 100 \
    --seed 1000 \
    --model_name_or_path utc-base \
    --output_dir ./checkpoint/model_best \
    --dataset_path ./data/ \
    --max_seq_length 512  \
    --per_device_train_batch_size 2 \
    --per_device_eval_batch_size 2 \
    --gradient_accumulation_steps 8 \
    --num_train_epochs 20 \
    --learning_rate 1e-5 \
    --do_train \
    --do_eval \
    --do_export \
    --export_model_dir ./checkpoint/model_best \
    --overwrite_output_dir \
    --disable_tqdm True \
    --metric_for_best_model macro_f1 \
    --load_best_model_at_end  True \
    --save_total_limit 1 \
    --save_plm

/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
[2023-02-15 19:50:15,085] [ WARNING] - evaluation_strategy reset to IntervalStrategy.STEPS for do_eval is True. you can also set evaluation_strategy='epoch'.
[2023-02-15 19:50:15,085] [    INFO] - The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-).
[2023-02-15 19:50:15,085] [    INFO] - ============================================================
[2023-02-15 19:50:15,085] [    INFO] -      Model Configuration Arguments
[2023-02-15 19:50:15,085] [    INFO] - paddle commit id              :4743cc8b9a8d77ea47e08a42a16246b538bda56f
[2023-02-15 19:50:15,085] [    INFO] - export_model_dir              :./checkpoint/model_best
[2023-02-15 19:50:15,085] [    INFO] - export_type                   :paddle
[2023-02-15 19:50:15,085] [    INFO] - model_name_or_path            :utc-base
[2023-02-15 19:50:15,085] [    INFO] -
[2023-02-15 19:50:15,085] [    INFO] - ============================================================
[2023-02-15 19:50:15,085] [    INFO] -       Data Configuration Arguments
[2023-02-15 19:50:15,085] [    INFO] - paddle commit id              :4743cc8b9a8d77ea47e08a42a16246b538bda56f
[2023-02-15 19:50:15,085] [    INFO] - dataset_path                  :./data/
[2023-02-15 19:50:15,085] [    INFO] - dev_file                      :dev.txt
[2023-02-15 19:50:15,085] [    INFO] - threshold                     :0.5
[2023-02-15 19:50:15,085] [    INFO] - train_file                    :train.txt
[2023-02-15 19:50:15,085] [    INFO] -
[2023-02-15 19:50:15,085] [    INFO] - Downloading tokenizer_config.json from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json
[2023-02-15 19:50:15,253] [   ERROR] - Downloading from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json failed with code 404!
Traceback (most recent call last):
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/transformers/auto/tokenizer.py", line 323, in from_pretrained
    resolved_vocab_file = get_path_from_url(community_config_path, default_root)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/utils/downloader.py", line 157, in get_path_from_url
    fullpath = _download(url, root_dir, md5sum)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/utils/downloader.py", line 219, in _download
    raise RuntimeError("Downloading from {} failed with code " "{}!".format(url, req.status_code))
RuntimeError: Downloading from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json failed with code 404!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/arvinyl/Projects/PaddleNLP/applications/zero_shot_text_classification/run_train.py", line 142, in <module>
    main()
  File "/Users/arvinyl/Projects/PaddleNLP/applications/zero_shot_text_classification/run_train.py", line 66, in main
    tokenizer = AutoTokenizer.from_pretrained(model_args.model_name_or_path)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/transformers/auto/tokenizer.py", line 326, in from_pretrained
    raise RuntimeError(
RuntimeError: Can't load tokenizer for 'utc-base'.
Please make sure that 'utc-base' is:
- a correct model-identifier of built-in pretrained models,
- or a correct model-identifier of community-contributed pretrained models,
- or the correct path to a directory containing relevant tokenizer files.

### 重复问题

- [X] I have searched the existing issues

### 错误描述

```Markdown
python run_train.py  \
    --device cpu \
    --logging_steps 10 \
    --save_steps 100 \
    --eval_steps 100 \
    --seed 1000 \
    --model_name_or_path utc-base \
    --output_dir ./checkpoint/model_best \
    --dataset_path ./data/ \
    --max_seq_length 512  \
    --per_device_train_batch_size 2 \
    --per_device_eval_batch_size 2 \
    --gradient_accumulation_steps 8 \
    --num_train_epochs 20 \
    --learning_rate 1e-5 \
    --do_train \
    --do_eval \
    --do_export \
    --export_model_dir ./checkpoint/model_best \
    --overwrite_output_dir \
    --disable_tqdm True \
    --metric_for_best_model macro_f1 \
    --load_best_model_at_end  True \
    --save_total_limit 1 \
    --save_plm

/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
[2023-02-15 19:50:15,085] [ WARNING] - evaluation_strategy reset to IntervalStrategy.STEPS for do_eval is True. you can also set evaluation_strategy='epoch'.
[2023-02-15 19:50:15,085] [    INFO] - The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-).
[2023-02-15 19:50:15,085] [    INFO] - ============================================================
[2023-02-15 19:50:15,085] [    INFO] -      Model Configuration Arguments
[2023-02-15 19:50:15,085] [    INFO] - paddle commit id              :4743cc8b9a8d77ea47e08a42a16246b538bda56f
[2023-02-15 19:50:15,085] [    INFO] - export_model_dir              :./checkpoint/model_best
[2023-02-15 19:50:15,085] [    INFO] - export_type                   :paddle
[2023-02-15 19:50:15,085] [    INFO] - model_name_or_path            :utc-base
[2023-02-15 19:50:15,085] [    INFO] -
[2023-02-15 19:50:15,085] [    INFO] - ============================================================
[2023-02-15 19:50:15,085] [    INFO] -       Data Configuration Arguments
[2023-02-15 19:50:15,085] [    INFO] - paddle commit id              :4743cc8b9a8d77ea47e08a42a16246b538bda56f
[2023-02-15 19:50:15,085] [    INFO] - dataset_path                  :./data/
[2023-02-15 19:50:15,085] [    INFO] - dev_file                      :dev.txt
[2023-02-15 19:50:15,085] [    INFO] - threshold                     :0.5
[2023-02-15 19:50:15,085] [    INFO] - train_file                    :train.txt
[2023-02-15 19:50:15,085] [    INFO] -
[2023-02-15 19:50:15,085] [    INFO] - Downloading tokenizer_config.json from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json
[2023-02-15 19:50:15,253] [   ERROR] - Downloading from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json failed with code 404!
Traceback (most recent call last):
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/transformers/auto/tokenizer.py", line 323, in from_pretrained
    resolved_vocab_file = get_path_from_url(community_config_path, default_root)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/utils/downloader.py", line 157, in get_path_from_url
    fullpath = _download(url, root_dir, md5sum)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/utils/downloader.py", line 219, in _download
    raise RuntimeError("Downloading from {} failed with code " "{}!".format(url, req.status_code))
RuntimeError: Downloading from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json failed with code 404!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/arvinyl/Projects/PaddleNLP/applications/zero_shot_text_classification/run_train.py", line 142, in <module>
    main()
  File "/Users/arvinyl/Projects/PaddleNLP/applications/zero_shot_text_classification/run_train.py", line 66, in main
    tokenizer = AutoTokenizer.from_pretrained(model_args.model_name_or_path)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/transformers/auto/tokenizer.py", line 326, in from_pretrained
    raise RuntimeError(
RuntimeError: Can't load tokenizer for 'utc-base'.
Please make sure that 'utc-base' is:
- a correct model-identifier of built-in pretrained models,
- or a correct model-identifier of community-contributed pretrained models,
- or the correct path to a directory containing relevant tokenizer files.

稳定复现步骤 & 代码
    --device cpu \
    --logging_steps 10 \
    --save_steps 100 \
    --eval_steps 100 \
    --seed 1000 \
    --model_name_or_path utc-base \
    --output_dir ./checkpoint/model_best \
    --dataset_path ./data/ \
    --max_seq_length 512  \
    --per_device_train_batch_size 2 \
    --per_device_eval_batch_size 2 \
    --gradient_accumulation_steps 8 \
    --num_train_epochs 20 \
    --learning_rate 1e-5 \
    --do_train \
    --do_eval \
    --do_export \
    --export_model_dir ./checkpoint/model_best \
    --overwrite_output_dir \
    --disable_tqdm True \
    --metric_for_best_model macro_f1 \
    --load_best_model_at_end  True \
    --save_total_limit 1 \
    --save_plm

/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
[2023-02-15 19:50:15,085] [ WARNING] - evaluation_strategy reset to IntervalStrategy.STEPS for do_eval is True. you can also set evaluation_strategy='epoch'.
[2023-02-15 19:50:15,085] [    INFO] - The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-).
[2023-02-15 19:50:15,085] [    INFO] - ============================================================
[2023-02-15 19:50:15,085] [    INFO] -      Model Configuration Arguments
[2023-02-15 19:50:15,085] [    INFO] - paddle commit id              :4743cc8b9a8d77ea47e08a42a16246b538bda56f
[2023-02-15 19:50:15,085] [    INFO] - export_model_dir              :./checkpoint/model_best
[2023-02-15 19:50:15,085] [    INFO] - export_type                   :paddle
[2023-02-15 19:50:15,085] [    INFO] - model_name_or_path            :utc-base
[2023-02-15 19:50:15,085] [    INFO] -
[2023-02-15 19:50:15,085] [    INFO] - ============================================================
[2023-02-15 19:50:15,085] [    INFO] -       Data Configuration Arguments
[2023-02-15 19:50:15,085] [    INFO] - paddle commit id              :4743cc8b9a8d77ea47e08a42a16246b538bda56f
[2023-02-15 19:50:15,085] [    INFO] - dataset_path                  :./data/
[2023-02-15 19:50:15,085] [    INFO] - dev_file                      :dev.txt
[2023-02-15 19:50:15,085] [    INFO] - threshold                     :0.5
[2023-02-15 19:50:15,085] [    INFO] - train_file                    :train.txt
[2023-02-15 19:50:15,085] [    INFO] -
[2023-02-15 19:50:15,085] [    INFO] - Downloading tokenizer_config.json from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json
[2023-02-15 19:50:15,253] [   ERROR] - Downloading from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json failed with code 404!
Traceback (most recent call last):
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/transformers/auto/tokenizer.py", line 323, in from_pretrained
    resolved_vocab_file = get_path_from_url(community_config_path, default_root)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/utils/downloader.py", line 157, in get_path_from_url
    fullpath = _download(url, root_dir, md5sum)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/utils/downloader.py", line 219, in _download
    raise RuntimeError("Downloading from {} failed with code " "{}!".format(url, req.status_code))
RuntimeError: Downloading from https://bj.bcebos.com/paddlenlp/models/community//utc-base/tokenizer_config.json failed with code 404!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/arvinyl/Projects/PaddleNLP/applications/zero_shot_text_classification/run_train.py", line 142, in <module>
    main()
  File "/Users/arvinyl/Projects/PaddleNLP/applications/zero_shot_text_classification/run_train.py", line 66, in main
    tokenizer = AutoTokenizer.from_pretrained(model_args.model_name_or_path)
  File "/Users/arvinyl/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/paddlenlp/transformers/auto/tokenizer.py", line 326, in from_pretrained
    raise RuntimeError(
RuntimeError: Can't load tokenizer for 'utc-base'.
Please make sure that 'utc-base' is:
- a correct model-identifier of built-in pretrained models,
- or a correct model-identifier of community-contributed pretrained models,
- or the correct path to a directory containing relevant tokenizer files.

utc-base 暂未发版，需要安装 develop 版本使用，命令
pip install --pre paddlenlp -f https://www.paddlepaddle.org.cn/whl/paddlenlp.html

用develop版本安装出现这个问题
ModuleNotFoundError: No module named 'paddlenlp.transformers.mt5'

我也出现同样的问题 , 我发现在下载模型的过程中:

路径不对吧, 导致下载错误.

@chinesejunzai12 我最开始路径也不对，执行这个
pip install --pre paddlenlp -f https://www.paddlepaddle.org.cn/whl/paddlenlp.html

我执行完出现
ModuleNotFoundError: No module named 'paddlenlp.transformers.mt5'

@chinesejunzai12 我最开始路径也不对，执行这个
pip install --pre paddlenlp -f https://www.paddlepaddle.org.cn/whl/paddlenlp.html

我执行完出现
ModuleNotFoundError: No module named 'paddlenlp.transformers.mt5'

现在问题解决了没

没有，我现在出现下面那个，解决不了

@LemonNoel 老哥 可以帮我看下嘛

我也是刚用这个，也在找方案，目前还没有解决
来自钉钉专属商务邮箱------------------------------------------------------------------
@.>
日　期：2023年02月17日 16:50:27
@.>
@.>; @.>
主　题：Re: [PaddlePaddle/PaddleNLP] [Bug]: 执行教程出现问题，utc-base 权重文件下载地址错误 (Issue #4816)
@LemonNoel 老哥 可以帮我看下嘛
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

他们自己打的最新 docker 镜像也是这个问题

他们自己打的最新 docker 镜像也是这个问题

这不是同一个问题吧，你这是paddlenlp 没安装吧


JSX support

Any plans for it? (since babel supports it out of the box anyway)

Sorry, for now, I do not plan that support JSX :sweat:

@h13i32maru alright. would be interested in PR with it? maybe I'll fork and try to implement it myself :)

@yamalight I am not interested in the PR. Because I am not using JSX and can not maintain it. I welcome that you fork and implement it!

@h13i32maru alright, fair enough. thanks for responses :)

@yamalight ESDoc supported JSX!
I had thought the support of JSX is difficult. However, espree already supports JSX.
Sorry, I was careless :sweat_drops:

ah, cool. I'll try to use it on my jsx code one more and will report if there are any issues :+1:

@yamalight Any news?

@resistdesign no issues so far, works great

@yamalight Does it auto-doc your props based on static propTypes?

@resistdesign no, it doesn't have any jsx specific functions (although that does sounds pretty cool)

@resistdesign Still getting an error when trying to parse jsx. Not sure what @yamalight solution to this was.

@realmike33 I haven't tried in a while, been handling other stuff for now.

Any progress on this?  It seems to be fine with ES6 syntax, but isn't parsing files with a .jsx extension, so just adding that might be sufficient to get this working completely?

If anyone else comes to this, you should do something like this for your configuration, and it works pretty well:
{     "source": "./src",     "destination": "./doc",     "includes": [".*\\.js", ".*\\.jsx"],     "index": "./README.md",     "package": "./package.json",     "experimentalProposal": {         "classProperties": true,         "objectRestSpread": true     } }

@yamalight would you mind sharing an example of some jsx annotated with esdoc tag?

@jarzuaga I'm just using it normally within react projects (generating docs for react classes) - seems to work just fine without any additional tweaks.

Gotcha, thought you were annotating the JSX in some way and got curious. Thanks @yamalight !

now youre need to use plugin instead


fix: better exception message

Description
Fixes two logging issues

(for logging Id instead of docid) Suppose a user has a target field that has "3.3" the expected behavior is to throw an exception saying that [3.3] is not numerical This makes it very difficult to understand why It didn't rerank. In this commit it provides the class of the mapping used to rerank to let the user now why it went wrong.
(for explicitly calling out the type) The previous logging used docId to be able to tell the user where in the search hit the error occured. The problem is that docId is not guaranteed in every document however _id is.Instead this commit makes sure that it uses getId() instead of docID(). Previously if you had indexed your document and then used docId it would return -1 when it had no direct document field.

Testing

./gradlew spotlessApply
./gradlew integTest
./gradlew test to check UT

Why this occurred?

(for logging Id instead of docid) Various types of testing was provided however for each sample data I was forced to provide a documentId on creating a searchHit thus a logical docId was chosen.
(for explicitly calling out the type) previously my only edge case would be if they provided a non numerical string. It ddint occur to me that someone may want to provide something like "3.3" to add on when it outputs it will say [3.3] is not a number instead where it could have been ["3.3"] is not a number.

Related Issues

Check List

[X] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[ ] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

2. (for explicitly calling out the type) The previous logging used docId to be able to tell the user where in the search hit the error occured. The problem is that docId is not guaranteed in every document however _id is.Instead this commit makes sure that it uses getId() instead of docID(). Previously if you had indexed your document and then used docId it would return -1 when it had no direct document field.

Thanks for creating this PR. Can you provide a few examples so that I can better understand the nuance between getId() and docID()?

can you please check that this will work when the _source is disabled, just want to make sure docId is not affected but that setting

@brianf-aws is this still work in progress?

Hey @martin-gaievski I paused on this mainly because we mentioned this was not urgent. I am not sure what time I should prioritize this, what are your thoughts?

I don't think it's high priority, how about we close the PR for now, and then reopen once you have bandwidth for it? Let me know if you have objects/concerns

Sounds good, thanks for understanding

Hey everyone I want to reopen this PR and work on it, I should have more bandwidth with the holidays coming up.

Good to see this reopened @brianf-aws, please let us know once it's ready for review

@brianf-aws Is there any update? We can help you if you came across some challenges.

Apologies for the delay I introduced a new commit that addresses previous review comments and adds String parsing. Thank you for your patience :)


continue unit test

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

Project coverage is 77.94%. Comparing base (10fd89f) to head (397f771).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #58       +/-   ##
===========================================
+ Coverage   66.18%   77.94%   +11.75%
===========================================
  Files          39       39
  Lines        4451     4852      +401
===========================================
+ Hits         2946     3782      +836
+ Misses       1505     1070      -435

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


test: reinit connection_data_ when called poolReady at Tcp::Connection::MockInstance

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
I want use Tcp::ConnectionPool::MockInstance  to mock a tcp connection pool , but I found at https://github.com/envoyproxy/envoy/blob/bd05ab7b74c2ee288aea9772a03d521cd761bd59/test/mocks/tcp/mocks.cc#L59 when called poolReady(connection) , the connection_data_  will be moved and become nullptr base on the implementation of onPoolReady , so the function could not be called twice, this makes it hard when program want to test the situation when want get more than one connection from tcp connection pool. I decide reassign a new MockConnectionData to connection_data_.
I think this change is compatible, and is well suited for the behavior of real Tcp::ConnectionPool::Instance.
Commit Message: reinit connection_data_ when called poolReady at Tcp::Connection::MockInstance
Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

@zuercher Yes, #15485. I'm not sure whether this change is belong to that pr, base on One Pull Request. One Concern, I give this pull request.


Source generator and trimming improvements

Use source generator to generate dev attributes to avoid an extra source dependency
Add DynamicallyAccessedMembers to RegisterAnimator and make sure the initialization process have a call to RegisterAnimator, to make Animator trimming and aot friendly.

Will send a PR later


add Bounce animation

Add UILabelCountingMethodEaseInBounce and
UILabelCountingMethodEaseOutBounce animations

Could you update this pull request against master? The only conflict I see is that UILabelCounter is a protocol now instead of a class. Thanks! :+1:

@tularovbeslan @dataxpress you can close that PR: UILabelCountingMethodEaseInBounce and UILabelCountingMethodEaseOutBounce are already available since #52.


Exception

Error occured: Error: /Users/user/.vscode/extensions/psykosoldi3r.itunes-vscode-0.8.2/scripts/currentTrack.applescript:131:137: execution error: iTunes devolveu o erro: Sem resposta de AppleEvent. (-1712)
Unfortunately I still don't know how it happens.
macOS 10.13.6
vs code 1.25.1 (1.25.1)

Thanks for reporting this issue! I will fix this soon as possible. It seems that the extension still should work normally, only the error message is popping up.

Self I get this one
/Users/joeykamsteeg/.vscode/extensions/psykosoldi3r.itunes-vscode-0.8.2/scripts/currentTrack.applescript:131:137: execution error: iTunes got an error: AppleEvent timed out. (-1712)

Have published a new version to Visual Studio Code Marketplace with a fix for this issue ( v0.8.3 )


Added an optionl feature to compare the local time with a set of trusted ntp servers

If the local time is diffing more than a configured threshold, the service shuts down itself.
Signed-off-by: Fredrik Skogman<EMAIL_ADDRESS>Release Note

Optional comparison of service's local time with a set of ntp servers, to make sure local time is not drifting.

Codecov Report

Merging #143 (b411d64) into main (af55c02) will decrease coverage by 4.15%.
The diff coverage is 21.69%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
- Coverage   53.79%   49.63%   -4.16%
==========================================
  Files          15       18       +3
  Lines         712      818     +106
==========================================
+ Hits          383      406      +23
- Misses        285      368      +83
  Partials       44       44

Impacted Files
Coverage Δ

pkg/ntpmonitor/config.go
0.00% <0.00%> (ø)

pkg/ntpmonitor/ntpmonitor.go
0.00% <0.00%> (ø)

pkg/ntpmonitor/randomchoice.go
100.00% <100.00%> (ø)

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

The motivation behind this PR is that for a TSA it's extremely important that we are using a time source that's accurate. Just relying on the host's time can be dangerous, as NTP may not be enabled, or the configured NTP server is not correct. Having the process itself verifying its time with external thirdparty servers is defence in depth, and following the "trust but verify" philosophy.


Appstudio update test-component-pac-wqjv

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-wqjv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
32 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
sanity-inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
20 seconds
sbom-json-check

✅ Succeeded
17 seconds
sanity-optional-label-check

✅ Succeeded
17 seconds
sanity-label-check

✅ Succeeded
5 seconds
show-summary

Pipelines as Code CI/test-component-pac-wqjv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
32 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
19 seconds
sanity-inspect-image

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
20 seconds
sbom-json-check

✅ Succeeded
17 seconds
sanity-optional-label-check

✅ Succeeded
17 seconds
sanity-label-check

✅ Succeeded
5 seconds
show-summary

Pipelines as Code CI/test-component-pac-wqjv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
15 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
22 seconds
deprecated-base-image-check

✅ Succeeded
22 seconds
sanity-inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
12 seconds
sanity-optional-label-check

✅ Succeeded
12 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary


Error while adding aws esb to a container on kubernetes

I am getting the following error while adding esb to a conatiner on kubernetes:
Error from server (Forbidden): error when creating "redis-pv-ebs.yml": persistentvolumes "ebs" is forbidden: error querying AWS EBS volume vol-01ed6a9c3fc0d4e90: error finding instance i-069a3cd738c463ffa: "error listing AWS instances: "NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors""

The errors you are showing are all related to not having the correct IAM profile attached to the instances
Close in favor of https://github.com/rancher/rancher/issues/9343


Federico: Watch codebeautify.org

Federico requests the watch of the watch_keyword codebeautify\.org. See the MS search here and the Stack Exchange search here.

codebeautify\.org has been seen in 1 true positive, 2 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

Federico says:

website posted on multiple sites by same user


Missing jdk.unsupported.desktop module from JREs

Both the OpenJ9 and the Hotspot 11.0.3_7 JRE for 64bit Windows are missing the jdk.unsupported.desktop module.
This module is required by the JavaFX 12 javafx.swing module.
For more information see JDK-8202175 and this openjdk-jfx issue.

+1
My app crashes on startup with the JRE 12 64-bit Windows build:
java.lang.module.FindException: Module jdk.unsupported.desktop not found, required by javafx.swing

My apps crash as well using Java 11 JRE

Any update on this?

jdk.unsupported.desktop@13 is still missing from the JRE 13 release:
./java --list-modules | grep jdk.unsupported.desktop | wc -l
       0

./java -version
openjdk version "13" 2019-09-17
OpenJDK Runtime Environment AdoptOpenJDK (build 13+33-201909170430)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33-201909170430, mixed mode, sharing)

Is there a workaround (beside switching to JDK)?
Is there a way to produce a jar from the missing module, that can be added to classpath?

It's a bit of a hassle but you can use jlink from the JDK to produce a custom JRE that includes the missing module.

The same issue exist for JRE 12 and JRE 13. Is this seen as an issue to be fixed or should we move away from adoptopenjdk JRE when working with JavaFX?
Is there a reason for not adding the dependency?

As this issue changed milestones quite a few times:
Could you try to estimate how likely it is to have this solved in current or next milestone?

Sorry - at the moment we don't have anyone actively workign through the backlog so I'm moving this to an Icebox milestone which contains other stuff that is being pushed from iteration to iteration so we can look at all those in a separate discussion. Sorry for the delay on this ...


Height Shift Not Working As Expected

Hey there! Working with my tilemaps, just trying to get them to look right. Put the tops of trees on a layer and added ge_heightShift to them with a value of 1. Sadly, it appears it doesn't render correctly. In the following screenshot, the tops of the trees have the property and should be rendered above the character. They are not.

Pardon me. Upon moving this project to another computer it's working as expected. Might have been a cache issue I didn't catch. 😆


[BUG] Opens, but doesn't generate sandwich when run through run.bat.

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Opens, but doesn't generate sandwich when run through run.bat.
Expected Behavior
Opens, and generates sandwich when run through run.bat.
Steps To Reproduce
Try to generate a sandwich.
Environment
- OS: Windows 10 Pro 21H2
- Node: 16.16.0
- npm: 8.11.0

Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey, I can help more tomorrow, but just asking if you got any errors? Run it from your shell, and if you can use the -v flag for extra info or a debug mode if you can. I wouldn't recommend using the shell files, these will be removed as soon as we package sandwich machine.

@SoupHuman Update, if you can I would recommend using a debugger tool, I think you use VS Code, that one has a nice debug utility.

run.bat was deleted


Fixes to allow disabling RBAC

Installing Istio with global.rbacEnabled=false results in crashes of the Pilot, sidecar-injector and citadel as reported in https://github.com/istio/issues/issues/386.
Just switching to default service account is not sufficient as Pilot, Citadel and Sidecar-Injector need a cluster role for their resource controllers. Therefore this change keeps the cluster roles but binds them to the default service account.
This is also relevant for #5731 to allow users to choose only minimal set of feature that they need.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
5f6fe994122911056e15a871571890bb23d7a922
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/assign @linsun

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
9a5de3261f42b916a5c59236ec4e428a4b7c4003
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gyliu513, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [gyliu513]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


How dataset for Burgers equation created?

In your paper called "Fourier Neural Operator for Parametric Partial Differential Equations", you described how you created the Burgers equation dataset on Page 15, like below:
"The initial condition u_0(x) is generated according to u_0 ~ µ where µ = N(0, 625((-\delta+25I) ^{-2} ) with periodic boundary conditions."
I am not very clear about the initial condition and boundary condition. Could you describe the meaning of \delta and I in u_0 and describe what are the periodic boundary conditions? Thanks for your help!

The initial conditions are sampled from a gaussian random field where 625((-\delta+25I) ^{-2} is the variance. Basically we are sampling continuous functions following a gaussian distribution, where the variance describes the "size" of these bumps. Larger variance for steeper functions. You can see an example of our implementation random_fields.py. The boundary is periodic.

The initial conditions are sampled from a gaussian random field where 625((-\delta+25I) ^{-2} is the variance. Basically we are sampling continuous functions following a gaussian distribution, where the variance describes the "size" of these bumps. Larger variance for steeper functions. You can see an example of our implementation random_fields.py. The boundary is periodic.

Thanks for your explanation!

Thanks for your explanation!


Update list-watch note with kubelet

https://github.com/kubernetes/kubernetes/blob/ae185414f4e94e969399c40b23995af6f85fa37f/pkg/kubelet/config/apiserver.go#L58
Kubelet is actually using list-watch mechanism to get notified on changes. List and watch is implemented using HTTP Long Poll

https://dzone.com/articles/understanding-the-kubelet-core-execution-frame


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1227 ms

Resolved: Bofrost.lu performance has improved in 57b65f2 after 20 minutes.


Pip install is broken (missing requirement)

Downloading https://files.pythonhosted.org/packages/a1/d6/8422797e35f8814b1d9842530566a949d9b5850a466321a6c1d5a99055ee/opencv-python-<IP_ADDRESS>.tar.gz (88.0MB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-exxdkf3j/opencv-python/setup.py", line 9, in <module>
        import skbuild
    ModuleNotFoundError: No module named 'skbuild'

Expected behaviour
Should be able to install.

No, it's not. Most likely your pip is too old. Upgrade with pip install --upgrade pip. However, hard to say because you didn't fill the issue template and all the relevant info about your environment is missing.

^ I had likely the same issue and your suggestion of upgrading pip fixed it:
(_test_opencv) travis@travis-job$ pip install opencv-python
Collecting opencv-python
  Using cached https://files.pythonhosted.org/packages/a1/d6/8422797e35f8814b1d9842530566a949d9b5850a466321a6c1d5a99055ee/opencv-python-<IP_ADDRESS>.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ddocw2xk/opencv-python/setup.py", line 9, in <module>
        import skbuild
    ModuleNotFoundError: No module named 'skbuild'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ddocw2xk/opencv-python/

After upgrading:
(_test_opcv) travis@travis-job:~/build/Vigilamos/tierra/etl$ pip install --upgrade pip && pip install opencv-python
Cache entry deserialization failed, entry ignored
Collecting pip
  Using cached https://files.pythonhosted.org/packages/bd/b1/56a834acdbe23b486dea16aaf4c27ed28eb292695b90d01dff96c96597de/pip-20.2.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Successfully installed pip-20.2.1
Collecting opencv-python
  Using cached opencv_python-<IP_ADDRESS>-cp36-cp36m-manylinux2014_x86_64.whl (49.3 MB)
Collecting numpy>=1.13.3
  Using cached numpy-1.19.1-cp36-cp36m-manylinux2010_x86_64.whl (14.5 MB)
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.19.1 opencv-python-<IP_ADDRESS>

Thanks for the work that you do @skvark ! And thanks for the suggestion.
This was on Ubuntu Bionic travis image + python 3.6. I tried to create a small replication, but my team uses a pretty strange config and I couldn't get a working example together.

@abrahamq Thanks!
For anyone who might have similar issues:
The last two releases require pip version 19.3 or greater. Older pip versions do not understand the new manylinux2014 tag. Similarly, a fresh pip version is required for the source distribution build because it uses pyproject.toml and that's why the ModuleNotFoundError: No module named 'skbuild' pops up: support for PEP 517 and PEP 518 are missing.
manylinux2014  requires pip >= 19.3
manylinux2010  requires pip >= 19.0
manylinux1  requires pip >= 8.1.0
In general, it's best practice to keep pip up-to-date. See the official guide https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip.
Since <IP_ADDRESS> opencv-python wheels have been built as manylinux2014 wheels. This is explained also in the release notes: https://github.com/skvark/opencv-python/releases/tag/36
See this issue for more background https://github.com/skvark/opencv-python/issues/309

I added a FAQ entry to the README about the importance of upgrading pip: https://github.com/skvark/opencv-python#frequently-asked-questions

Hello, @skvark. Could you please help me with connected issue?
I have a project that I install directly running setup.py and upgrading pip doesn't solve my problem with ModuleNotFoundError: No module named 'skbuild' error.

If you mean the setup.py in this project, you must run the build with pip wheel . --verbose (--verbose being optional depending on do you want to see build output or not). Directly running setup.py is not supported because the build system dependencies are defined in pyproject.toml. Therefore, for example python setup.py bdist_wheel does not pick it up.
Detailed build guide is in the README: https://github.com/skvark/opencv-python#manual-builds
More reading about how modern Python packages are created: https://snarky.ca/what-the-heck-is-pyproject-toml/

Thank you very much, @skvark.


Are features such as images, code listings, and tag clouds available?

I am interesting in hosting my blog using shinyblog, but would like these additional features. Are they available, or are they able to be added?

You can use images in markdown syntax or as html.
You highlight code using prism.js.
Examples can be found in this article from my blog:
https://nekudo.com/blog/composer-autoloading-performance
https://raw.githubusercontent.com/nekudo/nekudo.com/live/contents/articles/2015-10-15-composer-autoloading-performance.md
A tag cloud is not available.

Thank you! I really like the simplcity of shiny_blog.
I guess I could manually create a tag cloud, but I don't absolutely need it.


Cleanup AWS resources in case of warm up error

What does this PR do?

Bug fix

Motivation
Address #293

Looks good, would it make sense to add/edit an existing test case? Let me know if you need a bit of help there!

would it make sense to add/edit an existing test case
Good point. Probably yes. Let me have a look; need to understand the mock framework a bit (never worked it before). And yes, I might take you up and reach out for help on this if I get stuck. Thanks for offering.


Webhook crashes on utf-8 characters

Describe the bug
Campsite messages with UTF-8 characters cannot be parsed by the webhook notification handler.
Original Camply Command (with --debug)
 WEBHOOK_URL="http://localhost:8000" camply campsites --campground 233998 --start-date 2023-10-10 --end-date 2023-10-21  --notifications webhook

Crashes with
RuntimeError: camply encountered an error and exited 😟 [2023-09-14 22:13:53] - (UnicodeEncodeError) 'latin-1' codec
can't encode character '\U0001f3d5' in position 161: Body ('🏕') is not valid Latin-1. Use body.encode('utf-8') if you
want to send it encoded in UTF-8.

Expected behavior
A notification of form

{"campsites": [{"campsite_id": 76540, "booking_date": "2023-10-12T00:00:0

Additional context
I opened a PR for a fix a few days ago, https://github.com/juftin/camply/pull/299 , but opening an issue to track the actual bug.

:tada: This issue has been resolved in version 0.31.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Failed:identity-service-0cee4339ContainerCrashing when deploying a container app

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
Starting last night we get the error message in the title when we deploy one of our container apps, in revision management. The container app itself seems to be running ok, even though revision management reports that provisioning the app failed.
Since it seems like this identity-service-0cee4339 is an internal Kubernetes sidecar service I have no visibility into what's failing here.
Steps to reproduce

Deploy an updated version of an existing Container App from Github Actions with ARM / bicep templates
Container starts, sidecar fails and the portal is unhappy about the revision

Expected behavior [What you expected to happen.]
Container and all required Kubernetes services should work as they've done for a few months
Actual behavior [What actually happened.]
Container works but some Kubernetes service doesn't all of a sudden
Screenshots
Revision management:

Scale and replicas:

Additional context
Since this problem so far has only happened in our production environment I have not had the chance to try if the same problem happens with other container apps, or if it's isolated to this specific app.

We were able to test with another container app now, in the same container app environment, and it failed in exactly the same way:
Revision management:

Scale and replicas:

And the Github Action reports the deployment as failed with this error message:
The Resource 'Microsoft.App/containerApps/datafanger' under resource group 'rg-cae-*-prod' was not found.

Fix is rolling out for this issue

Hi, @vegarnilsen The fix has been rolled out to all regions. Please confirm the issue is resolved for you.

Hi, vegarnilsen The fix has been rolled out to all regions. Please confirm the issue is resolved for you.

We got the same failure now. Do we need to redeploy the entire Container App Environment to activate this fix?
What was the problem here, can you share any information?

Experiencing similar issues for Container Apps hosted in North Europe, started yesterday and also had some this morning. Last around 10:30 AM GMT.
This also happens on already deployed containers, not only when deploying new releases.
Using default scaling, ie between 0-1 revisions, might be that this occurs when scaling from 0 > 1.
Environment is Consumption, internal-vnet mode.
Any updates on this?

Hi all. We are investigating

@Kukukuchu @trylvis  Could you please share your environment resource id's at acasupport[at]microsoft.com?

@Kukukuchu @trylvis Could you please share your environment resource id's at acasupport[at]microsoft.com?

✅ Sent over resource ID.

Hi All, We identified the issue. Its related to ensuring the order of the MI sidecar in the startup process which we added recently. The issue is not consistent and we are working on deploying a fix for it.

Hi All, We identified the issue. Its related to ensuring the order of the MI sidecar in the startup process which we added recently. The issue is not consistent and we are working on deploying a fix for it.

Any info on the priority of this / ETA?
Or workarounds that might help get the release out in the meantime?
We've stumbled on this trying to make a new release in dev environment and currently wondering whether we need to invest in pushing through / around this issue or we can afford to wait for the fix.

Hi All, We identified the issue. Its related to ensuring the order of the MI sidecar in the startup process which we added recently. The issue is not consistent and we are working on deploying a fix for it.

Any info on the priority of this / ETA? Or workarounds that might help get the release out in the meantime?
We've stumbled on this trying to make a new release in dev environment and currently wondering whether we need to invest in pushing through / around this issue or we can afford to wait for the fix.

We were able to get our containers deployed by settings minReplicas: 2, maxReplicas: 4 (we used to have minReplicas: 1). The second replica eventually spun up. Your mileage might vary

We are also seeing similar issues with Container App Jobs with Managed Identities enabled for Scheduled jobs
The deployments hang indefinitely and all our existing Scheduled Jobs have exhibited issues.

We were seeing the same issue, but when it was scaling up and deploying. The issue seems to be that was it was trying to look up the Managed System Identity on scale up. This timed out, and then the revision is marked as failed. Have been informed a patch rollout was performed on the 17th August. This seems to have resolved the problem for us now.

After our environments were patched on the 16th all our container apps have worked properly, both existing and freshly deployed apps. Looks like this problem was fixed.


⚠ UdeS website (prod) has degraded performance

In 058fe10, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1698 ms

Resolved: UdeS website (prod) performance has improved in 08ce69e.


Doesn't run - AttributeError: 'module' object has no attribute 'Client'

Issue Type

Bug report

Molecule and Ansible details
ansible --version
ansible <IP_ADDRESS>
  config file =
  configured module search path = Default w/o overrides

molecule --version
molecule, version 1.19.1

docker --version
Docker version 1.13.0, build 49bf474

OS
Centos 7

Molecule installation method: One of source, pip
pip
Ansible installation method: One of source, pip, OS package
pip

Desired Behaviour
Molecule should run
Actual Behaviour (Bug report only)
Example repo:
https://github.com/timja-kainos/ansible-fpm/tree/add-molecule
Only command run on the repo is:
molecule init --driver docker

Generated molecule file fails to run at all:
[vagrant@localhost postgresql-role]$ molecule test
Traceback (most recent call last):
  File "/usr/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/molecule/cli.py", line 41, in main
    cli(obj={})
  File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/molecule/command/create.py", line 69, in create
    c = Create(ctx.obj.get('args'), command_args)
  File "/usr/lib/python2.7/site-packages/molecule/command/base.py", line 60, in __init__
    self.main()
  File "/usr/lib/python2.7/site-packages/molecule/command/base.py", line 77, in main
    self.molecule.main()
  File "/usr/lib/python2.7/site-packages/molecule/core.py", line 56, in main
    self.driver = self._get_driver()
  File "/usr/lib/python2.7/site-packages/molecule/core.py", line 296, in _get_driver
    return dockerdriver.DockerDriver(self)
  File "/usr/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 38, in __init__
    self._docker = docker.Client(
AttributeError: 'module' object has no attribute 'Client'

(It works fine on my mac but trying to get it setup in CI and having issues.)

Are you using the same version of docker-py on each platform?

I didn't have docker-py installed on the centos box.
I had docker installed.
Which is incompatible.
see https://github.com/docker/docker-py/issues/1431
Installing docker-py seems to have fixed it for me
but compatibility with the docker pip package

@timja-kainos reading the quickstart would have saved you some time 😉


specs with "Use  Autolinks: yes" and mailing list fail with FATAL ERROR: No 'dfn' refs found for '… message topic …'

Specs with both "Use <i> Autolinks: yes" and a mailing list fail with FATAL ERROR: No 'dfn' refs found for '… message topic …'  This is because of an attempt to autolink the mailing list header that is inserted in _init_.py.
I worked around this with:
https://hg.csswg.org/drafts/rev/8621fbb4a564
https://hg.fxtf.org/drafts/rev/b32ea4df8a98
but it seems like this shouldn't happen.  (Is there an attribute that _init_.py could put on the <i> that would prevent it from autolinking?)

Yup, just marked it with an empty lt attribute.  That should work.

Yep, confirmed that it's fixed now; I backed out the workarounds.


Mingw fixes

Some changes to make it compile with Mingw on Windows.

Remove unistd.h when it is not used at all.
Use Sleep from windows.h (included in source file instead of header file because windows.h defines too much macro and types that will cause name clashing) for Windows.
Un-define stdout in libwasmint/builtins/SpectestModule.h because for some reason stdout from stdio.h found its way into the code.

MSVC still doesn't work due to Fatal error C1061: compiler limit: blocks nested too deeply in wasm-module/src/instructions/InstructionSet.cpp

Thanks!

Just fixed #22 can you if MSVC works now?

See #23


Set default phase and section numbers, mark mandatory fields

related issue #1522 - Questions are now working as desired. Implement the same functionality for creating a new phase and a new section:

Mark Phase/Section Title and Order of Display with red asterisks; make sure these are required. Phase fields have asterisks currently but need to add them for Section fields.
Autopopulate the order of display field starting with 1, 2... each time a user adds a new item. Currently the number does not autopopulate for the phase but does for the section.
Make sure focus moves to the missing field if a user clicks save without entering required info

Add a new section for both creating and customizing templates needs red asterisks to mark Title and Order of display fields. the rest looks good.


Datafusion Ray TPCH tests in CI

Quoting @andygrove on Discord:

we have rust tests for query planning, but they require some tpc-h data to be available
ideally we should be running the tpc-h queries against a small data set (sf=1) in CI and checking that the results are correct
I expect we can re-use some of the CI setup from core DataFusion

At the moment, we already run some query planning tests, see https://github.com/edmondop/datafusion-ray/actions/runs/11133252895/job/30938921925

At the moment, we already run some query planning tests, see https://github.com/edmondop/datafusion-ray/actions/runs/11133252895/job/30938921925

These tests do not actually do anything currently, unless they run on my computer :disappointed:
async fn do_test(n: u8) -> Result<()> {
    let data_path = "/mnt/bigdata/tpch/sf10-parquet";
    if !Path::new(&data_path).exists() {
        return Ok(());
    }

We have a Python script at https://github.com/apache/datafusion-benchmarks/tree/main/tpch for generating TPC-H data:
https://github.com/apache/datafusion-benchmarks/tree/main/tpch
We could call this in CI and then figure out how to update theses tests to use that data

Excellent, I'll do this as a first iteration, thank for the hint. Then we can decide how to do the comparison between datafusion results and ray results, what do you think?

Excellent, I'll do this as a first iteration, thank for the hint. Then we can decide how to do the comparison between datafusion results and ray results, what do you think?

Sounds good.
We could run each query first with DF Python and then with DF Ray and compare the results. This could be a good general approach to testing.

Closed with #12 #16 #17


specify different user for digest authentification

Hello,
When baresip sends a REGISTER it uses the username specified in the .baresip/accounts<EMAIL_ADDRESS>It will use this username to populate the From URI and Authorization Digest username.
I would need to specify a different username in the Authorization header.
Is this possible in the current version of baresip?
If not, maybe you could point me to some place in the code where this Authorization header is populated?
Thanks in advance!
David

Did you try the auth_user parameter ?
Like this: <sip:user:secret@domain.com;transport=udp>;auth_user=username
This is documentes in the default accounts file, or see it in docs/examples/accounts

Sorry, I overlooked it :(


Send foreground and background events to running programs

Should we do this when the iOS app foregrounds and backgrounds too? Probably?

Yes, I think so. Otherwise apps are going to (eg) keep on animating themselves unnecessarily.

Done.


Issue #13 - convert lower() to casefold()

Fixed issue #13 as described

Hey @JeroenStiers That's precisely it!!!!

Deployed to Pypi: https://pypi.org/project/Fastoo/ 0.1.4


time frame

[Enter feedback here]
It would be nice if you stated how long it takes for the solution to become co-sell ready if the requirements are met and published.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d99086d1-97d6-2e43-2c37-961580f8b2a6
Version Independent ID: 8222abc1-a836-9c87-f817-1d545c5289e8
Content: Co-sell requirements
Content Source: articles/marketplace/co-sell-requirements.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @vamahtan
Microsoft Alias: vamahtan

@billsherry Thanks for the feedback! We are currently investigating and will update you shortly.

@billsherry - Thanks for reaching out and apologies for the delay in response.
I have reached out to product team and we were told that they are working on a timeline and has added this in their backlog, and will update the docs in 3-4 weeks with the timeline.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


add package to scoop.sh

scoop is a windows cmd line way to discover/install/manage a large collection of windows programs.
https://scoop.sh/
https://scoop.sh/#/apps
Found 5284 applications.
(for example)

Google link'd me to a Chris Titus video.. scoop install thorium didn't work
:)
Thank you for taking the time to read this.

thanks for your advice
@bcookatpcsd

in my experience you need to inform scoop instead.

Seems like someone already made pull requests to Scoop for both Thorium-Win and Thorium-AVX2:
https://github.com/ScoopInstaller/Extras/pull/12078
https://github.com/ScoopInstaller/Versions/pull/1438
If you want to use Thorium right now, though, someone already seems to have made a bucket with a Thorium manifest:
https://github.com/epoweripione/scoop-bucket/blob/master/bucket/Thorium.json


ls/completion request returns not enough entries.

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[X] Yes, I can't use Enso because of this issue.

Is this a regression?

[X] Yes, previous version of Enso did not have this issue.

What issue are you facing?
While investigating https://github.com/enso-org/enso/issues/7591, I noticed that my CB contains ridiculously small amount of entries.
After investigation, it turns out that the engine never returns us a single Constructor, Module, or Type. The only kind of entry in the response is Method. The statistics look the following:
(engine 9.11, default new project, creating new node without inputs and with zero input from the user)
Results: total=1049, modules=0, methods=1049, constructors=0, types=0, never=871, always=31, when_filtered=178, private=871

This means we received 1049 entries, all of which are methods. 871 are private (marked with a documentation tag), so we never show them. We show 31 entries by default and can show 178 in total when the user types something.
The issue also happens with the engine 8.16.
Expected behaviour
The ls/completion response must return modules and constructors as well (I'm not sure about types).
How we can reproduce it?
You can use https://github.com/enso-org/enso/tree/wip/vitvakatu/debug-ls-completion branch with additional debug logging to get the similar output.

Create and open a new project
Press Enter to open CB
See the output in the console, also observe the list of displayed entries in the CB itself.

Screenshots or screencasts
No response
Logs
No response
Enso Version
e5425d35a05cc04cb36ea853b42ad6ce330f42a1
Browser or standalone distribution
Standalone distribution (local project)
Browser Version or standalone distribution
standalone
Operating System
MacOS
Operating System Version
No response
Hardware you are using
No response

So far I can see that constructors are present in the response on the current develop. I'll try tomorrow with the nightly

Just checked on 9.14, I still see only methods.

Ok, I see what the issue is. I was able to reproduce it today.


Example with Discourse?

Thanks for this gem, I'm struggling with the official one. I couldn't see a reference to it in the Discourse master ... is it being used there or are there any example apps anywhere?

Discourse absolutely uses this it is actually an extraction out of this plugin that now depends on this gem.
https://meta.discourse.org/t/prometheus-exporter-plugin-for-discourse/72666
Agree we should add a link to the README


[Improvement]:considered implementing a spark-based optimizer

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
Have you considered implementing a spark-based optimizer? Now there are only optimized implementations based on local and flink. Have you considered the implementation of spark? especially external.
I think spark is still the main computing engine in some companies or teams.
How should we improve?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thank you for bringing up this topic. I think optimizing with Spark is very meaningful. It can delegate full optimization tasks that consume a lot of resources to Spark, and can also use the Z-ordering already supported by Spark to reorder tables.

Actually yes.
Optimizing based on Flink Streaming job enables us to frequently schedule small optimizing tasks to quickly optimize the file structure in the table.
However, some larger optimizing jobs, such as full optimizing, may involve a lot of files. In such scenarios, we find that scheduling the optimizing job based on batch computing(like Spark) may be more appropriate.
Do you have an interest to join the implementation?
I believe with your help, this feature can definitely be completed faster.

cc @hameizi

@vinnielhj We are also planning to support Spark to perform table self-optimizing. We can work together to promote this feature.

@zhoujinsong @shidayang @hameizi @Aireed
Thank you for your reply.
Yes, I am willing to participate in the implementation to the extent I can.
Is there a specific implementation plan at present?

We do not have a clear implementation plan right yet.
However, we are currently writing a design document for a related feature(#1360), which will include a detailed implementation method and plans.
We will ping you when it is ready and welcome you to join the discussion about the design document.
If you would like, you can join our WeChat development group so that we can communicate more directly with each other.


Use java streams and try resources

Looks ok to me. Failed build was due to the test server not being available


[AIRFLOW-806] UI should properly ignore DAG doc when it is None

Check dag.doc_md before we try to convert it to Markdown.
Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-806

Testing Done:

Verified in UI with DAG doc set to __doc__, but no docstrings. No error and looks as if dag.doc_md was not set or set to empty string.

LGTM


Firebase.firestore is not a function

I tried to run the application running and ran into this issue error:
Uncaught TypeError: _firebase__WEBPACK_IMPORTED_MODULE_2__.firebase.firestore is not a function
    at index.js:11
    at commitHookEffectListMount (react-dom.development.js:19607)
    at commitPassiveHookEffects (react-dom.development.js:19644)
    at HTMLUnknownElement.callCallback (react-dom.development.js:189)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:238)
    at invokeGuardedCallback (react-dom.development.js:291)
    at flushPassiveEffectsImpl (react-dom.development.js:22708)
    at unstable_runWithPriority (scheduler.development.js:656)
    at runWithPriority$1 (react-dom.development.js:11076)
    at flushPassiveEffects (react-dom.development.js:22676)
    at react-dom.development.js:22555
    at workLoop (scheduler.development.js:600)
    at flushWork (scheduler.development.js:556)
    at MessagePort.performWorkUntilDeadline (scheduler.development.js:160)

Changing firebase.js from
export { firebaseConfig as firebase };

to
firebase.initializeApp(firebaseConfig)

export { firebase };

seems to fix it

Strange, not seen that...or had anyone else report it.

Closing due to inactivity.

firebase error
ERROR in ./src/firebase.js 5:23-45
export 'default' (imported as 'firebase') was not found in 'firebase/app' (possible exports: FirebaseError, SDK_VERSION, _DEFAULT_ENTRY_NAME, _addComponent, _addOrOverwriteComponent, _apps, _clearComponents, _components, _getProvider, _registerComponent, _removeServiceInstance, deleteApp, getApp, getApps, initializeApp, onLog, registerVersion, setLogLevel)


luci-app-statistics: add missing ValuesPercentage option

Fixes issue #4260

I tested this locally. It works.

@atiensivu thanks for testing :+1:


False positive f-string SyntaxError

# x.py
f"{1:{{1}.pop()}{f'n'}}"

$ ruff x.py
error: Failed to parse x.py:1:16: f-string: single '}' is not allowed
x.py:1:16: E999 SyntaxError: f-string: single '}' is not allowed
Found 1 error.
$ ruff --version
ruff 0.0.292

Thanks for the bug report! It seems to be caused by the two {{ inside the format spec part. It seems that the rules for escaping {/} are different in and out of a format spec.


Attempting to add jQuery causes build to fail

We're attempting to include jQuery as one of the app dependencies to have the advanced selectors jQuery provides, that jqLite does not. However, when I tried to add jQuery to the list of scripts, I discovered that jQuery was included AFTER the default Angular scripts. To resolve this, I simply used the scripts array to override the Angular version, as well as properly order the dependencies to ensure that jQuery was injected first.
scripts: [
    './bower_components/jquery/dist/jquery.min.js',
    './bower_components/jquery/dist/jquery.min.map',
    './bower_components/angular/angular.min.js',
    './bower_components/angular/angular.min.js.map',
    './bower_components/angular-animate/angular-animate.min.js',
    './bower_components/angular-animate/angular-animate.min.js.map'
    ... additional scripts included as well ...
]

The above array fails when attempting to build the docs. NOTE: I have tried both the minified version, with and without the source map, as well as the un-minified versions of all the libraries.
If I remove the jQuery lines, then the docs will build properly, with the exception of JS errors thrown due to the missing selector methods (.siblings() to be exact).
Is there any other preferred method of including jQuery into the docs application?
Thanks in advance.

Update:
I've discovered that I needed to add the loadDefaults config property to the config options. The working settings are as follows:
loadDefaults: {
    angular: false, // overriding with bower version below
    angularAnimate: false, // overriding with bower version below
    marked: false, // this MUST BE false or build will fail
    prettify: true // this MUST BE true or console errors thrown in browser
  },
  scripts: [
    './bower_components/jquery/dist/jquery.js',
    './bower_components/angular/angular.min.js',
    './bower_components/angular/angular.min.js.map',
    './bower_components/angular-animate/angular-animate.min.js',
    './bower_components/angular-animate/angular-animate.min.js.map',
   ... additional scripts included as well ...
]

@nikhilmodak (or anyone else)
Any insight on why these settings are necessary to include other libraries (jQuery in this case)?
Thanks.


Add max cape menu entries

This patch adds "shorthands" for max cape teleports, an example can be seen below.

I would keep the naming consistent and change Home to Tele to POH

Moving this to custom menu swaps.


Replacing the Django-Q dependency with standardized threads.

Description of changes

Utilize Django signals with a global tasks_initialized which indicates that the tasks are triggered
After starting Trustpoint the tasks are triggered every 5 minutes

Notes
One might execute poetry update to make the changes effective
Legal

[x] I certify that I have all necessary rights to publish this contribution under the MIT license. I agree to the Trustpoint CLA and have added my name to the AUTHORS.md file.

@BytesWelder: I made some changed on the notifications. See https://github.com/TrustPoint-Project/trustpoint/pull/149/commits/8298fc7003c1f02479c63bb9b94b02808a4e7f4e


chore: GPG鍵の更新

Type of Change:
修正(更新)
Details of implementation (実施内容)
セキュリティに関する報告に使用してもらう鍵を更新しました。

Codecov Report

Merging #520 (d8da393) into main (1674115) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #520   +/-   ##
=======================================
  Coverage   73.63%   73.63%
=======================================
  Files          61       61
  Lines        4475     4475
  Branches      393      393
=======================================
  Hits         3295     3295
  Misses        788      788
  Partials      392      392

Flag
Coverage Δ

unittests
73.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


SDK improvement suggestions

In our last sync call with other teams, a couple improvements were suggested. They are relevant to both iOS and Android, some also concern the protocol overall, so I will add everything here.
Overall

The response does not contain a "signature", only a "payload" and/or a "hash". It is unclear where the signature is. Also, the "payload" might not always be necessary, so it would make sense to add an additional property for the signature.
Additional properties might be required in a "request". We will look into the SignPayloadJSON type from @polkadotjs.
We should use Semantic Versioning and keep the versions across all SDKs in sync (Android, iOS, Typescript)

Android

In an earlier version, it was possible to construct a response from a request. It seems that this is no longer possible. Would it be possible to add the functionality back?
The HTTP Interface should be exposed to the developer and the default implementation should be moved to a separate package. This would allow developers to have fewer dependencies.
Version 3.0.0 is already released. We will have to make sure we respect SemVer and keep all packages in sync.

iOS

The SDK is not released to cocoapods. It would make it easier to update to new versions if the SDK was on cocoapods. However, it was mentioned that it's possible to directly add the SDK from github because a specfile is present. If that's the case, then we should document how this is possible.
Currently, the part of the code that connects to Matrix is a singleton. It would be helpful if the user had more control over this object.

Android

In an earlier version, it was possible to construct a response from a request. It seems that this is no longer possible. Would it be possible to add the functionality back?

It is still possible. For example, TransferSubstrateResponse can be created from TransferSubstrateRequest using one of the TransferSubstrateResponse.Companion's methods. Similar methods are also defined for other responses' companion objects.

The HTTP Interface should be exposed to the developer and the default implementation should be moved to a separate package. This would allow developers to have fewer dependencies.

That's a valid point. Similarly, the CryptoProvider default implementation could be extracted to a separate package as well.
iOS

The SDK is not released to cocoapods. It would make it easier to update to new versions if the SDK was on cocoapods. However, it was mentioned that it's possible to directly add the SDK from github because a specfile is present. If that's the case, then we should document how this is possible.

We're not planning on releasing to CocoaPods. But yes, it's possible to add the dependency directly from GitHub. I'll make sure the pod spec file is up to date and update README with detailed information on how to do it.

Currently, the part of the code that connects to Matrix is a singleton. It would be helpful if the user had more control over this object.

MatrixClient nor its dependencies are not singletons. What does it mean to "have more control over this object"?

Android

In an earlier version, it was possible to construct a response from a request. It seems that this is no longer possible. Would it be possible to add the functionality back?

It is still possible. For example, TransferSubstrateResponse can be created from TransferSubstrateRequest using one of the TransferSubstrateResponse.Companion's methods. Similar methods are also defined for other responses' companion objects.

The HTTP Interface should be exposed to the developer and the default implementation should be moved to a separate package. This would allow developers to have fewer dependencies.

That's a valid point. Similarly, the CryptoProvider default implementation could be extracted to a separate package as well.
iOS

The SDK is not released to cocoapods. It would make it easier to update to new versions if the SDK was on cocoapods. However, it was mentioned that it's possible to directly add the SDK from github because a specfile is present. If that's the case, then we should document how this is possible.

I have tried current podspec file from here. There are several building issues due to the fact that Cocoapods builds single framework from subspecs: 'duplicate file AppMetadata.swift', not needed 'import BeaconCore' in subspecs and various definition duplicates.

We're not planning on releasing to CocoaPods. But yes, it's possible to add the dependency directly from GitHub. I'll make sure the pod spec file is up to date and update README with detailed information on how to do it.

Currently, the part of the code that connects to Matrix is a singleton. It would be helpful if the user had more control over this object.

MatrixClient and its dependencies are not singletons. What does it mean to "have more control over this object"?

@ERussel I moved the CocoaPods discussion to a separate issue in Beacon iOS SDK (#8).


Fallout 2d20

Hello, I'm not sure if this problem has been solved but personally I can't get the locking formula to work on the Fallout 2d20 system.
Can anyone tell me how to solve this?
Thanks for your time.

The Lockpick formula should look something like this: 2d20cs>=(@ actor.system.attributes.per.value + @ skills.Lockpick.system.value), thought this will not consider some of the system specific rules. I plan on adding the system crit rules at some point and also a way to select the amount of d20 forthe roll

Thank you for your answer but at the moment, this formula resolve only the half of the issue.
The attributes formula work well but the skill formula dont work, see the sreen.
I'm prooving to find the good way but not easy, if you finf this before me please share me the right formula.
Thank you for your time.

are you using a language other than english? If so you might need to change the Lockpick part of the formula to the equivalent in your language

Oh ! Yes it's correct need to use the correct language to run correctly the formula.
My Bad.
Thank you in any case to answer me.

Good to hear


demo_textdiffuser2_inpainting_full.py can't load checkpoints

Describe the bug
Model I am using (UniLM, MiniLM, LayoutLM ...):
The problem arises when using:

[x]  the official example scripts: demo_textdiffuser2_inpainting_full.py

A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

When I loaded pretrained model textdiffuser2-full-ft-inpainting (which is downloaded from https://huggingface.co/JingyeChen22/textdiffuser2-full-ft-inpainting ) from my disk ,   I got an error:

Traceback (most recent call last):
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/site-packages/transformers/modeling_utils.py", line 442, in load_state_dict
    return torch.load(checkpoint_file, map_location="cpu")
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/site-packages/torch/serialization.py", line 1028, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/site-packages/torch/serialization.py", line 1246, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: unpickling stack underflow

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/site-packages/transformers/modeling_utils.py", line 446, in load_state_dict
    if f.read(7) == "version":
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x87 in position 0: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "demo_textdiffuser2_inpainting_full.py", line 38, in <module>
    text_encoder = CLIPTextModel.from_pretrained(
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2560, in from_pretrained
    state_dict = load_state_dict(resolved_archive_file)
  File "/home/llluo3/miniconda3/envs/textdiffuser2/lib/python3.8/site-packages/transformers/modeling_utils.py", line 458, in load_state_dict
    raise OSError(
OSError: Unable to load weights from pytorch checkpoint file for '/mnt/disk_10T/ubuntu_file/llluo3/Checkpoints/HuggingFace/textdiffuser2-full-ft-inpainting/text_encoder/pytorch_model.bin' at '/mnt/disk_10T/ubuntu_file/llluo3/Checkpoints/HuggingFace/textdiffuser2-full-ft-inpainting/text_encoder/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

Platform: ubuntu 22.04
Python version: 3.8
PyTorch version (GPU): 2.1.2-GPU

Hi, thanks for your interest in TextDiffuser-2. What is the version of transformers? Maybe you can try transformers==4.28.1

Hi, thanks for your interest in TextDiffuser-2. What is the version of transformers? Maybe you can try transformers==4.28.1

Thanks for replying. I solved it by downloading the checkpoints again ^-^


Fix unable to resume downloads if >1000 in list

I noticed that the extension didn't work for me. After some testing I figured out that the reason is that chrome.downloads.search() returns at max 1000 items in random order.
This means if the user has more than 1000 downloads in the list, the extension won't load the newest ones and is thus unable to resume (which can easily happen if you don't clear the downloads page for multiple years).
A manual workaround is to simply clear the downloads page with the button in the top right.
This PR should fix this by always loading the newest downloads from the list.

Thank you for contributing the code!
Docs


The request signature we calculated does not match the signature you provided

Getting a strange error but not sure how to debug the calculated canonical string. I'm trying to authenticate with an internal API Gateway. I'm currently using aws4-axios and axios to make this request so it should work.
const signedFetch = createSignedFetcher({
    service: 'execute-api',
    region: 'eu-west-1',
    fetch,
  });

  const response = await signedFetch(
    `https://myhost.com/path?` +
      new URLSearchParams({ $filter: `id eq 123` }),
    {
      method: 'GET',
    },
  );
  // log raw response
  console.log(await response.text());

I keep getting this error sensitive info removed:
{"message":"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

The Canonical String for this request should have been
'GET
path
%24filter=id%20eq%20123
host:myhost
x-amz-content-sha256:XXX
x-amz-date:XXX
x-amz-security-token:XXX

host;x-amz-content-sha256;x-amz-date;x-amz-security-token
XXX

The String-to-Sign should have been
'AWS4-HMAC-SHA256
20230731T115020Z
20230731/eu-west-1/execute-api/aws4_request
XXX'
"}

I can't share the exact URL but if you have any instructions on how to debug this please let me know
Thanks!

Hi @ColinCee,
I will take a look at this and get back to you soon!

Hi @ColinCee
I was able to reproduce the issue and fix it. I have used the parseQueryString() function from @aws-sdk/querystring-parser to parse the query string from the provided URL. This function didn't handle URL component encoding/decoding correctly. I changed the implementation to use new URL().searchParams and I was able to verify that it works.
The fix is available in the newest v2.1.0. Please let me know if it fixes your issue.

Amazing thanks for the quick response! I can confirm this is now resolved in v2.1.1

Thank you for bringing this issue to my attention! :)


switch back to the original azure tree with account/subscription structure

Pull Request Test Coverage Report for Build 317092687

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 39.39%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/azurecore/src/extension.ts
0
1
0.0%

Totals

Change from base Build 316887264:
0.001%

Covered Lines:
20346

Relevant Lines:
47319

💛  - Coveralls

What's the purpose of this? Is this going to allow expanding the azure nodes in the Connection Dialog down to the object level (tables/views/etc)?

@Charles-Gagnon , not really, if you try the current azure view, it is no longer doing in place expansion anymore, @abist might have more context here, I remembered that was a decision we made a while ago. it will show the connectable resources and then you can connect and view it in OE

@alanrenmsft I'm not sure what the task here is, I never worked in this area, however, I remember Karl bringing this up one time in shiproom, so maybe he can clarify.

What do you mean "in place expansion"?
And I'm still not understanding what exactly this PR is changing - what's the experience going to look like now?


usage of helm chart versions in cloud-provider-openstack

helm chart versions are not used like should in this project. That is why I am doing issue about this and I propose new way of managing versions in Charts. The problem is that we are doing changes to charts and we are not increasing the chart version. Also the second issue is that we have same version in two different branches, then we are doing changes to both without modifying version. This leads to situation that basically none will understand from which helm chart the content is coming from.
This repository contains 3 helm charts:

cinder-csi-plugin
manila-csi-plugin
openstack-cloud-controller-manager

Currently the helm charts are released only from release branches https://github.com/kubernetes/cloud-provider-openstack/blob/master/.github/workflows/release.yaml#L6 However, I propose another change: we could start doing helm chart releases also from master. Master will contain always the latest manifests, but it might be that people cannot use those if they have really old Kubernetes version. Then they should use older helm chart version.
cinder-csi-plugin

branch
current version
new version

master
2.3.2
2.27.0-alpha.0

release-1.26
2.3.0
2.26.0

release-1.25
2.3.0
2.25.0

release-1.24
2.2.1
2.24.0

manila-csi-plugin

branch
current version
new version

master
1.6.0
2.27.0-alpha.0

release-1.26
1.6.0
2.26.0

release-1.25
1.6.0
2.25.0

release-1.24
1.5.0
2.24.0

openstack-cloud-controller-manager

branch
current version
new version

master
1.5.0
2.27.0-alpha.0

release-1.26
1.4.0
2.26.0

release-1.25
1.4.0
2.25.0

release-1.24
1.3.0
2.24.0

So how does it work:

the version format is 2.[kubeminor].[helmpatch]
in case of master the format is always 2.[kubeminor].0-alpha.[helmpatch] and when master is moved to release branch, then the format is 2.[kubeminor].[helmpatch] (and starts from 2.[kubeminor].0)
helmpatch is just number that is increase ALWAYS if any changes is done to that specific chart. If the version number is not increased, the helm chart cannot be published -> the changes are not going anywhere. NOTE! this includes the appVersion change in helm chart, it means ALWAYS if any modifications are coming to file -> increase the helm chart version
Always when we make new release branch (like release-1.27 next time), the helm chart minor version should be increased in master (2.28.0-alpha.0)
We start doing helm charts also from master, to get latest and coolest features delivered to users.

cc @jichenjc @nikParasyr @brtknr @eumel8 @morremeyer

Hey @zetaab, thanks for mentioning the chart maintainers here. Just as a short note from my side, I won't be participating in this discussion since I haven't been working with OpenStack since mid 2021 and am no longer contributing here.
Thanks for making me aware that I'm still listed as chart maintainer, I've PR'd my removal in #2176.

please check the PRs that I opened

another option is that we will stop doing helm chart releases from release branches, and do that only from master branch

The first approach makes sense to me.

Haven't worked extensively on cpo but the first approach makes sense. Much clearer which versions to use and a bit more consistent than the current setup

so lets go with that, there are 3 PRs that needs to be still approved


Feature Request: Input voltage and power limit per input and prio Input

First of all, thank you for the locale API.
To connect this inverter to the battery on one input and directly to the panels on the second, the following features would be desirable:

Input voltage for each Input (to save Battery) or set min voltage per Input
Powerlimit for each Input (to set Solar Input max and Battery Input to need for zero supply)
Or something like an Prio Input with total limit (so first use solar and for difference use Battery)

Since we aren't associated with APsystems, @SonnenladenGmbH could at most ask them, but that's all we can do, so I'll close this issue.

Yes you aren't APsystems, but you are in contact and promote the API.

Thanks for the request @MhlTheOne
We developed the API in close partnership with APsystems and will forward your feature request to them asap.
This is a place to request features for the API just like you did it.
Best
Leo

Then apologies from my side for turning you off ro o quickly and harsh! @MhlTheOne

Getting the input voltage would be a really nice feature. I hope its not a lot of extra work for APSystems. (And getting a fixed target voltage would then maybe already to much to dream... :)


Update UPGRADE.md

added information about upgrading custom fixers registered in config file.

Please retarget your PR against 2.2 branch and fix violations reported by Travis

Thank you @vitek-rostislav.


Having clause with aggregate expression not supported

Seems like our codegen engine does not support aggregate expression in having clause. When I try to run query SELECT AVG(a), b FROM test GROUP BY b HAVING AVG(a) = 3.5, the codegen engine throws an exception 'We don't have a translator for type: AGGREGATE_AVG".
I'm porting last part of Patrick's capstone project, unnesting sub-query with aggregation, currently I'm blocked by this. Can anyone help me look into this? I think the logic for translating aggregate expression should be similar to transforming tuple value expressions, but I just don't know if we should add transformer for them or just modify the expression tree to use tuple value expression to represent them in the optimizer (which I think is a hack in the old optimizer framework so I get rid of it) ?
The branch I'm working on is https://github.com/chenboy/peloton/tree/nested_query, run optimizer_sql_test so you can see the query above being run.

This can probably just be a TVE on the AVG(a) output column?

Thanks, I’m going to implement in this way. Just want to make sure this isn’t too hacky.


Playlist getting clipped on left side

I'm having an issue with the most recent version of the script which is causing the left edge of the playlist to be clipped.
I'm using the most recent version of Source Sans 3 for my font (https://github.com/adobe-fonts/source-sans/releases/) and this is what the OSD looks like:

The left side of the circles and arrows are not being displayed.
This is what the OSD looks like before https://github.com/jonniek/mpv-playlistmanager/commit/d4ebfc0b13ed074465263148d81dfee6d16c9a64:

I'm not sure why, but this might be dependent on the font.  I tried setting the OSD font to Arial, and I did not notice the same clipping that I did when using Source Sans 3.  Also, changing text_padding_x or text_padding_y did not have any impact.
These are my current settings:
playlistmanager.txt

Same issue here.

should be fixed in #148

https://github.com/jonniek/mpv-playlistmanager/pull/148 works with my settings.  Thanks for the fix.


First swing at Kerbside docs.

Needs pymdownx.superfences

Yeah, the weird bit is I don't know why it needs it...


Create more examples on how to use autopytorch

Create a directory structure with basic and advanced examples that include:

[ ] How to customize the pipeline and search space. Also add only desired classifiers.

We can do this in two approaches in my opinion, 1) create a single example file where we explain all possible modifications that can be made to the search. 2) create a separate file for the modifications (maybe splitting to separate files if necessary) and also have a vanilla run file. Which of these approaches would you prefer? I am leaning towards the second one.

Yes I am inclined to this directory structure:
tabular/20_basics/
- example_tabular_classification.py
- example_tabular_regression.py
tabular/40_advanced/
- example_custom_configuration_space.py
- example_resampling_strategies.py

What do you think? What else we can add?

yeah I'll do it this way then. Also, is there any reason for using 20 and 40? I cant think of anything more right now. I'll update here if something comes to mind.


Not reading personal skill config

I don't think this actually belongs here, but this is where I am testing now.
When I change the settings in ~/.config/mycroft/skills/<skill_name>, it is never read.  This seems to be happening on all of the skills, not just this one.
When I use the settings.json file which is created with pip install, it seems to work fine.
Is this expected behavior? Should I start creating a settings.json in all skill folders?

latest ovos-core standardized locations to use skill_id instead of skill_name, so the folder name changed
but it should have migrated old settings
transfering issue to ovos-core


Backend and Frontend Meeting Notes (07-03-2023)

Matt's notes:

Integration with Ruby auth library required for admin/surveyor login.
- What's the best option we have for the Auth libraries?
Add validation to only allow survey submissions from people living in the service area (need to determine whether it's all of MA or just the metro Boston area). A list of valid zip codes will be cross-referenced for this purpose.
Implement dynamic rendering of survey content based on question type to improve user experience.
- Who is responsible for creating the survey content, the Frontend team or Chris?
Provide an explanation of the back-end requirements for Recaptcha to work (by Matt).
Backend team to provide example data or skeleton of example data for frontend to start mocking with json-server.

Thiago Bardini's suggestion:
Not sure if we need sub-clusters for Google Maps.
Sort the list of unassigned homes based on the closest home address to each home, as determined by the surveyor's location. This will allow surveyors to plan their routes based on available time, and be flexible in creating a daily schedule that works for them. The surveyor's route will be limited to the maximum number of home addresses that the Google API supports. In Thiago's point of view, displaying Google Maps is not necessary, a list with a button that sends selected addresses to Google Maps will suffice.
Randy Dab's notes - Link
FYI it was mentioned last night that those clusters of 50 may need to become smaller because we can no longer assume surveyors are working 9-5 (for 8 hours). Instead they will probably work evenings like roughly 5-7:30 (for 2.5 hours) which means the data team might need to make smaller clusters. If those new clusters are small enough they fit within our maps’ rendering limit, then we will not need to make subclusters to work around the limit.
Our Main Goal: Laser-Focus on Minimum Viable Product (MVP) Delivery

Tried to synthesize this stuff into some tasks:
#202 #201 #204 #209 #210 #212 #208


Unable to provide multiple storage-opts/log-opts when creating host via UI or REST API

Rancher versions:
rancher/server:1.6.7
Docker version: (docker version,docker info preferred)
1.12.6
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
CentOS 3.10 kernel
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:
Try to configure docker storage driver or docker logger options via UI. The docker engine format for those require using the same flag more than once. This is an example for storage-opt but the same problem happens with log-opt --storage-opt dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt dm.use_deferred_removal=true ...
"storage-driver": "devicemapper",
"storage-opts": [
"dm.thinpooldev=/dev/mapper/docker-thinpool",
"dm.use_deferred_removal=true",
"dm.use_deferred_deletion=true"
]

Attempting to set multiple storage-opt options results in only one of the options being used. When the same is attempted through the REST API with json the json array is converted into a string.
Looks like map[string] is being used as the data type which causes only one value to be used.
Results:
In the UI case only one value will be used from all the values set and depending on those options it can cause the Docker install on the new host to fail. When done through the REST API it causes a failure when installing docker due to the json array being converted to a string.

Stumbled over the same issue: Need to configure logging to AWS Cloudwatch and hence specify multiple logging options. Any updates on this? What's the current priority?

Same here: If I set the log-opt Parameter multiple times, just one will get taken.
This is my advanced settings for the (AWS-EC2) host:

And this is what the API sais about that host:

The host will not log to CloudWatch Logs that way, provisioning fails resulting in Rancher terminiating the instance.


chore: Support for exception groups in newer Hypothesis versions

Resolves #1592

Codecov Report

Merging #1596 (2d94f6e) into master (c7717dd) will decrease coverage by 0.31%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master    #1596      +/-   ##
==========================================
- Coverage   98.82%   98.51%   -0.32%
==========================================
  Files          93       93
  Lines        7510     7452      -58
  Branches     1333     1298      -35
==========================================
- Hits         7422     7341      -81
- Misses         54       65      +11
- Partials       34       46      +12

Impacted Files
Coverage Δ

src/schemathesis/runner/impl/core.py
96.35% <50.00%> (-0.51%)
:arrow_down:

src/schemathesis/_compat.py
64.86% <57.14%> (-6.11%)
:arrow_down:

src/schemathesis/lazy.py
91.46% <100.00%> (ø)

src/schemathesis/specs/openapi/validation.py
76.47% <0.00%> (-11.77%)
:arrow_down:

src/schemathesis/extra/pytest_plugin.py
93.66% <0.00%> (-6.34%)
:arrow_down:

src/schemathesis/runner/impl/threadpool.py
98.23% <0.00%> (-1.77%)
:arrow_down:

...c/schemathesis/specs/openapi/expressions/parser.py
98.68% <0.00%> (-1.32%)
:arrow_down:

...c/schemathesis/specs/openapi/negative/mutations.py
98.75% <0.00%> (-0.84%)
:arrow_down:

src/schemathesis/specs/openapi/loaders.py
98.46% <0.00%> (-0.77%)
:arrow_down:

... and 25 more

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