.gitignore ignores scripts conflicts with runscript

What happened?
.gitignore ignores every scripts directory that can be used by runscript command of included django-extensions package.
https://github.com/pydanny/cookiecutter-django/blob/master/{{cookiecutter.project_slug}}/.gitignore#L332
What should've happened instead?
scripts directory should not be ignored IMHO.

@bmihelac the scripts directory is ignored to avoid commit the scripts or Scripts directory of the virtualenv. These directories only are created on Windows machine
Looking briefly at the implementation in django-extensions, I saw that there are some configurations that can be made in django settings, which are currently not properly documented in django-extensions.
Have you ever tried any of them like RUNSCRIPT_SCRIPT_DIR and the others to check if is possible to customize the scripts directory name?
https://github.com/django-extensions/django-extensions/blob/f7eacd2263a1069c61bbee316e9c32cf22fa121f/django_extensions/management/commands/runscript.py#L94

Hi @luzfcb  and thanks for looking into this.
Unfortunately I am not familiar with virtualevn on windows and have no idea if this could be handled in other ways.
While workaround with  RUNSCRIPT_SCRIPT_DIR is probably possible, I still feel  that ignoring every scripts (and others directories too) directory in project is maybe too broad and users would not be aware what and why is ignored. This is why I opened issue, but feel free to close it if you do not agree.

I did some investigation, and I think we can remove these lines safely:
https://github.com/pydanny/cookiecutter-django/blob/9075bdb39b98f88e9210e04cc4cae5f5920baa68/{{cookiecutter.project_slug}}/.gitignore#L326-L333
When creating a virtual environment, such directories are actually inside the top directory, which we aim at excluding from these lines:
https://github.com/pydanny/cookiecutter-django/blob/9075bdb39b98f88e9210e04cc4cae5f5920baa68/{{cookiecutter.project_slug}}/.gitignore#L70-L73
Example with venv:
.
`- venv
   |- Lib
   |- Scripts
   `- pyvenv.cfg

It sounds to me like we are being extra careful...


Update README.md

fix broken social handle link☺✌

Thanks:smile:

Thanks😄

Ypu are welcome bro


fix: distribute-on-payouts race condition

#4303  👈
main

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

Join @wraeth-eth and the rest of your teammates on  Graphite


Bug using redis cache through jinja template

A clear and concise description of what the bug is.
Expected results
I configured the cache as follows, but configured the chart using the jinja template, and found that different users saw the same data when they logged in
CACHE_CONFIG = {
'CACHE_TYPE': 'redis',
'CACHE_DEFAULT_TIMEOUT': 60 * 60 * 24, # 1 day default (in secs)
'CACHE_KEY_PREFIX': 'superset_results',
'CACHE_REDIS_URL': 'redis://localhost:6379/0',
}
ex:
SELECT count(1) FROM user_choice WHERE 1 = 1 and username in ('{{current_username()}}')
Jinja template has changed the original SQL search conditions, the results should be different
what you expected to happen.
Actual results
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug

Go to '...'
Click on '....'
Scroll down to '....'
See error

Environment
(please complete the following information):

superset version: superset version
python version: python --version
node.js version: node -v
npm version: npm -v

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ x] I have reproduced the issue with at least the latest released version of superset.
[x ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Please check cache_key_wrapper: https://superset.apache.org/sqllab.html#superset.jinja_context.CacheKeyWrapper.cache_key_wrapper

Please check cache_key_wrapper: https://superset.apache.org/sqllab.html#superset.jinja_context.CacheKeyWrapper.cache_key_wrapper

thanks


Remove a DSA related TODO

There are no instances of the macros that this comment is referring to
being used anywhere within current master. All of the macros were
deprecated by commit f41ac0e. Therefore this TODO should just be removed.
Fixes #13020

This pull request is ready to merge

Pushed. Thanks.


[Doc Improvement][Overview revamp][3617298]

Teams app that fits
Explore Team platform features
Build your first Teams app
Explore Tools and SDKs

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
93
13
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
94
12
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
94
12
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
94
12
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
94
12
link
:white_check_mark:

msteams-platform/overview-explore.md
86
15
link
:white_check_mark:

msteams-platform/overview.md
90
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
91
9
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
91
9
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/choose-what-suits-you.md
97
4
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
95
10
link
:white_check_mark:

msteams-platform/overview-explore.md
91
9
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
95
11
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/overview-explore.md
91
9
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/concepts/app-fundamentals-overview.md
90
18
link
:white_check_mark:

msteams-platform/concepts/build-and-test/apps-package.md
92
6
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
89
8
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
82
7
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
94
14
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/get-started/glossary.md
90
77
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
81
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/concepts/app-fundamentals-overview.md
90
18
link
:white_check_mark:

msteams-platform/concepts/build-and-test/apps-package.md
92
6
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
89
8
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
82
7
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
94
14
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/get-started/glossary.md
90
77
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
81
10
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
96
17
link
:white_check_mark:

msteams-platform/concepts/app-fundamentals-overview.md
90
18
link
:white_check_mark:

msteams-platform/concepts/build-and-test/apps-package.md
92
6
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
89
8
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
82
7
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
94
14
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/get-started/glossary.md
90
77
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
84
11
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/concepts/app-fundamentals-overview.md
90
18
link
:white_check_mark:

msteams-platform/concepts/build-and-test/apps-package.md
91
8
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
90
7
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
82
7
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
94
11
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/get-started/glossary.md
90
77
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
84
11
link
:white_check_mark:

msteams-platform/overview-explore.md
90
10
link
:white_check_mark:

msteams-platform/overview.md
91
11
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/concepts/app-fundamentals-overview.md
90
18
link
:white_check_mark:

msteams-platform/concepts/build-and-test/apps-package.md
91
8
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
96
2
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
81
7
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
94
11
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/get-started/glossary.md
90
89
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
87
7
link
:white_check_mark:

msteams-platform/overview-explore.md
91
9
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
97
16
link
:white_check_mark:

msteams-platform/concepts/app-fundamentals-overview.md
90
18
link
:white_check_mark:

msteams-platform/concepts/build-and-test/apps-package.md
91
8
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
96
2
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
93
3
link
:white_check_mark:

msteams-platform/get-started/build-first-teams-app.md
94
11
link
:white_check_mark:

msteams-platform/get-started/explore-tools-and-sdks.md
97
4
link
:white_check_mark:

msteams-platform/get-started/glossary.md
90
89
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
87
7
link
:white_check_mark:

msteams-platform/overview-explore.md
91
9
link
:white_check_mark:

msteams-platform/overview.md
91
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


MS SQL Server query timeout: request failed to complete in 15000ms

More complex queries failed to execute due a timeout limit, it seems there is no way to change this setting.
This is the log, but it doesn't show anything about the timeout
[1618923065059] INFO  (ext): EXECUTING COMMAND => sqltools.getConnections
[1618923065053] INFO  (ls): REQUEST RECEIVED => connection/GetConnectionsRequest
[1618923065055] INFO  (ls): REQUEST RECEIVED => connection/RunCommandRequest
[1618923257583] INFO  (ext): EXECUTING COMMAND => sqltools.showOutputChannel

SQLTools Version: 0.23.0
VSCode Version: 1.55.2
OS: Windows
Driver: MSSQL/Azure
Database version: SQL Server 2012

Seconded, this needs to be an option somewhere, or if it is, it needs to be more obvious. I've scoured settings and documentation and found nothing

It seems we are not getting support on this issue

https://github.com/mtxr/vscode-sqltools/blob/ba294769be006e9e605d70ca487e5ce6fb4126c8/docs/src/pages/driver/mssql.mdx#11-specific-options

You can use any setting defined in See https://github.com/tediousjs/node-mssql/#tedious also extra options defined in Tedious specific options

Looks like there is support for this. This got mine working:
// .vscode/settings.json
{
  // ...
  "sqltools.connections": [
    {
      "mssqlOptions": {
        "appName": "SQLTools",
        "useUTC": true,
        "encrypt": true,
        "requestTimeout": 0 // 0 to disable
      },
      "previewLimit": 50,
      "port": 1433,
      "driver": "MSSQL",
      // ...omitting creds and stuff
    }
  ]
}

@ferm10n thanks for providing the information.


Fix initial datasource loading to refresh metadata folder contents

If the metadataFolder has been changed while DBeaver is closed, the changes will not be noticed without the refresh.

Thanks!
I'll test it right after 6.3.1 release.

Well, let's try it.
It shouldn't  make any harm, the only thing which concerns me is potential cyclic listeners (project refresh may cause datasources reloading which may cause project refresh). However this shouldn't happen in this case as project is not loaded at the moment of DataSourceRegistry instantiation.


Not Find Annotation for creating index on map key

Hi
I was writing java code where i need to create index on a map key. but i did not found any annotation in  Achilles for it like we use @index to create index on any normal column.
Thanks
Gunjesh

Please see this issue: https://github.com/doanduyhai/Achilles/issues/218

Fixed in Achilles 4.0.0


Is this ride still happening with Covid-19 going on?

Hey all, stumbled upon this site. I've been riding Butterlap w/o ever knowing there was a group ride. Is it still going on with Covid? If so, I'd be happy to open a PR that updates it with a "Covid-19 update" text, saying that the ride is still going on (or not).

Yep! Still happening.

Cool! Will make a PR after work. (I created a branch, but it says permission denied when trying to push to that remote branch. Shall I fork the repo?)
More importantly, is this language appropriate?

COVID-19 update: There's still a group that rides every Wednesday, but obviously there's no beer or snack sharing.

Cool! Will make a PR after work. (I created a branch, but it says permission denied when trying to push to that remote branch. Shall I fork the repo?)

Yeah you'll need to fork to push up a new branch with how GitHub's permissions structure works 😀

More importantly, is this language appropriate?

COVID-19 update: There's still a group that rides every Wednesday, but obviously there's no beer or snack sharing.

I think that makes sense 👍

Cool! Thanks @skalnik did you make out tonight? Looking forward to joining the group ride soon.
BTW: Love this website! Super clean!

Cool! Thanks @skalnik did you make out tonight? Looking forward to joining the group ride soon.

Yep! I was there, and I should be there this next week as well.


Add webpack

Looks good. How about development cycle, we will need to build manually after each change?
Maybe we can add something like watchmen to simplify it?

 "dev": "webpack -w --config webpack.config.js --mode development" ?

 "dev": "webpack -w --config webpack.config.js --mode development" ?

Yes, just tried it. But for some reason css doesn't load

fixed

we can add unsafe-eval for dev mode, i will take a look tmr or if you fix it first i will just merge it ;) .
got to go now. GN


Bulk send_message sends as many push notifications to each device as many devices are filtered

My story: I implemented a custom django admin action to be able to select devices you wish to send push notifications to. Result - each device received lots of push notifications :(
After investigating the issue I found out that the problem is here https://github.com/django-push-notifications/django-push-notifications/blob/master/push_notifications/models.py#L123 (probably it applies to GCM as well, but I experienced this on APN).
What Django admin did after selecting records, it filtered queryset using id__in filter which made the line indicated above return duplicate entries.
For example if application_id of each device is "APPID" and you filter devices by id__in=[1,2,3], app_ids become ['APPID', 'APPID', 'APPID'] regardless of distinct() used.
I solved this issue by applying order_by() to remove sorting from queryset before calling send_message on it.
EDIT: steps to reproduce:
devices = [
    APNSDevice.objects.create(application_id='app1', **other_kwargs),
    APNSDevice.objects.create(application_id='app1', **other_kwargs),
    APNSDevice.objects.create(application_id='app2', **other_kwargs)
]
APNSDevice.objects.order_by('id').send_message(**message_kwargs)
# 5 messages will be sent (2 messages for each app1 device and 1 message to app2 device)

Django 1.11.7
Django-push-notifications 1.5.0

Any attention here? It looks like a quite high priority issue. If you are using multiple applications, you may spam your users easily.

@aemdy Sorry for the lack of answer, please feel free to file a PR to fix this.


Large image sets are slow

Try to fetch a large image set (e.g. "comic"). Currently 305,401 images match. The browser sits there for a long time with nothing apparently happening.
Investigate a paged process, or other means to improve perceived performance.

paged implemented


unlock phone when swipe to answer an incoming call

when receiving a call and the app is in background and phone locked when you swipe to answer it doesnt swipe to unlock and answer, just answer so you're presented the swipe to unlock normal apple screen when your phone wakes up.
when the phone wakes up, the app does not launch, because it already tried to launch when the incoming call was answered and the phone was blocked.
Is there a way to unlock the phone when I swipe to answer the call and the app only launches after the phone is unlocked?

Apple forced us to present CallKit each time when received voip push.
AFAIK, the behavior of CallKit is not controlled us, when the screen is locked, the CallKit swiper is just answer the call.
If user wants to go to the app UI, they should first press buttons on CallKit then type the screen lock password.
You might tweak CallKit UI, but it is out of scope of this lib. check CallKit is not controlled in this lib, check https://github.com/react-native-webrtc/react-native-callkeep instead


placing json file in .kaggle/kaggle.json

cannot find the .kaggle in the specified folder.

Are you using Windows or Linux?
Generally you should get this file first from our homepage www.kaggle.com -> Your Account -> Create New API token. This will download a ready-to-go JSON file to place in you [user-home]/.kaggle folder. If there is no .kaggle folder yet, please create it first.

@KaushalendraKumarSingh
If you are using the Mac, then in your home folder you can use 'shift' + 'cmd' + '.' to show hidden folders. Then you might find the .kaggle folder!

I'm using kaggle-api on an Amazon linux instance. I downloaded the kaggle.json from the website (using my personal computer) and then copied it to the ~/.kaggle/ directory that I created on the Amazon linux, but every time I try and run kaggle it tells me
Unauthorized: you must download an API key from https://www.kaggle.com/<username>/account
Then put kaggle.json in the folder /home/ubuntu/.kaggle

My personal computer was running MacOS. Does it have to be downloaded on the same machine that you are trying to run it on? If so, I have no way of downloading the kaggle.json from the command line.

@sfkiwi you need to copy the file itself, not the content, if you copy the content the file will lose the formatting. Try copying with (I'll give you the mac example for windows there is something similar)
mac
scp /Users///kaggle.json username@server ip address:/home//.kaggle/kaggle.json

I created a folder .kaggle in my local drive (~), moved the json file kaggle.json into it.
But when I run !kaggle competitions list on colab, I get the message:
Unauthorized: you must download an API key from https://www.kaggle.com/<username>/account
Then put kaggle.json in the folder /content/.kaggle

Not sure why is it not reading the file. Has anyone else faced this issue?

@BhavtoshRath How you solved the problem?
I have the same problem here on Ubuntu 16.04. I do have the json file in the right directory as suggested.

Hi, I am using mac. And in my home directory, the system is not allowing me to add dot before the folder name "kaggle", where I can place the json file. Please help. Thanks!

@sagar-m, open a terminal and run mkdir ~/.kaggle.  It may not work if you try to use a GUI.
@qifengzhou, @BhavtoshRath, my best guess is that you're either running the kaggle commands as root or you put the API token in your root user's home.  Any chance either of those two things is what's happening?

@rysteboe How should I check this?
I tried pip uninstall kaggle, it showed me the path where kaggle was install
'/home/qifeng/anaconda3/lib/python3.6/site-packages/kaggle/'
I pasted the API token into the folder 'kaggle.json' I created in this directory.
I tried again, its the same error message:
'''
~$ kaggle competitions list -s health
Unauthorized: you must download an API key from https://www.kaggle.com//account
Then put kaggle.json in the folder /home/qifeng/.kaggle
'''

Run mkdir ~/.kaggle (full path in your case would be /home/qifeng/.kaggle).  You need to create that directory - the API does not do it for you.  You can place the token there.  The API token doesn't go in the same location as the binary, unless there's some strange interaction with anaconda that I'm unaware of.

@rysteboe Thank you:)
That works!

I have installed kaggle by using pip3 install kaggle.

I am using a mac. I followed kaggle's instruction until I faced the same problem here that i cannot find the folder ".kaggle". So I created a folder(.kaggle) under my home dir("/Users/xin") and drag the kaggle.json file into that folder. Then, I type the following command: "~/.kaggle/kaggle.json" and I got "-bash: /Users/xin/.kaggle/kaggle.json: Permission denied". I am not sure if i need to type this command at all after putting kaggle.json into .kaggle folder.
Then, I tried to download data sets through kaggle API using "kaggle competitions download -c imaterialist-challenge-fashion-2018" and I got "command not found"
My goal is to download a data set from kaggle that require me to use kaggle API.
Any idea what's going on here?  Thanks!

I had the same the issue. Download the token to /Users//.kaggle directory and then make sure the token file name is kaggle.json inside the folder.

Hey brother, was facing similar problem, this might help : https://twitter.com/barvin04/status/1004265422722486272

As far as I can tell, these installation instructions are covered in the readme.  If you have suggestions for improving it, please submit a PR or suggest specific changes.  Thanks!

remove the directory and create it again then move the file to it

For users of the Winpython distribution: your .kaggle folder is located in the settings folder in your Python folder. For example: C:\WinPython-64bit-<IP_ADDRESS>Qt5\settings\.kaggle\kaggle.json

I face the same problem. I find the solution. Go to your terminal and put the code " cd ~/.kaggle ", then the terminal will take you in the directory .kaggle. So, you need to move the kaggle.json to this directory, to do this use the mv command, ex. sudo mv directory1 directory2. then, run the " chmod 600 /home/[user-name]/.kaggle/kaggle.json " command.

if you are using LInux.
1.pip install kaggle
2.cd ~/.kaggle
3.homepage www.kaggle.com -> Your Account -> Create New API token
4.mv ~/Downloads/kaggle.json ./
5.chmod 600 ./kaggle.json

if you are using LInux.
1.pip install kaggle
2.cd ~/.kaggle
3.homepage www.kaggle.com -> Your Account -> Create New API token
4.mv ~/Downloads/kaggle.json ./
5.chmod 600 ./kaggle.json

It worked thanks

If you are using Windows and installed kaggle via anaconda, here are the steps

Go to /users//.kaggle
homepage www.kaggle.com -> Your Account -> Create New API token
mv /users//Downloads/kaggle.json ./
activate your kaggle environment and test the kaggle commands.

I got Could not find kaggle.json error, running the a notebook on a remote linux, The file was there with the right permissions.
Eventually found a workaround by running through the jupyter terminal instead

i am using windows andi used the jsonwell recently it displayed to update api token so i deleted the old one and created new token but it is saving as kaggle(2).json and i am getting error ass unauthorzed 401 what should i do ?

hi, using a colab notebook. I did all the above today and worked fine. Now, trying to go back to my work and I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/kaggle", line 5, in
from kaggle.cli import main
File "/usr/local/lib/python2.7/dist-packages/kaggle/init.py", line 23, in
api.authenticate()
File "/usr/local/lib/python2.7/dist-packages/kaggle/api/kaggle_api_extended.py", line 146, in authenticate
self.config_file, self.config_dir))
IOError: Could not find kaggle.json. Make sure it's located in /root/.kaggle. Or use the environment method.
Why is colab running python 2.7!? I believe it is not even compatible and it is specifies in the runtime to be python3.

Ya I got the same error please any one solve @ruimmpires

I have done everything according to the documentation:
in the picture below, you can see that my directory structure is as it should be, but error still persists

How do I fix this?

the file is present under my user\kaggle\kaggle.json but when I run kaggle commands, it says
IOError: Could not find kaggle.json. Make sure it's located in /home/ec2-user/.kaggle. Or use the environment method.
Anyhelp?

Hi, Im having the same issue as many of you that I can not access the API (from Mac).
I have:

Created .kaggle in my home directory (~/Users/karinwiberg)
Moved kaggle.json into the .kaggle directory
Run the "chmod 600 ~/User/karinwiberg/.kaggle/kaggle.json"
The comments cover this far. For me, I still get error and am wondering if any of you can help me out?

(Additional info is that the kaggle.json is also present int /opt/conda/bin from the installation)
Thanks,

If you are using Windows and installed kaggle via anaconda, here are the steps

Go to /users//.kaggle
homepage www.kaggle.com -> Your Account -> Create New API token
mv /users//Downloads/kaggle.json ./
activate your kaggle environment and test the kaggle commands.

this worked for me on windows

OSError: Could not find kaggle.json. Make sure it's located in C:\Users\User.kaggle. Or use the environment method In PyCharm, Windows 10, Python 3.8 (not works for 3.9):
pip install kaggle
www.kaggle.com -> Your Account -> Create New API token
Past file in C:\User.kaggle
You're wonderful!


Fix error formatting (missing a call to Sprintf)

Just a minor bug I noticed while skimming over the code...

nice, thanks


MSC2134: Identity Hash Lookups

To fix #2130
Rendered

thanks for the proposal - looks generally sane.
we need to consider salts; i’d have thought we should include a random salt in the hash and alongside the hash to make rainbow table lookups slightly harder?

After much thought (and @KitsuneRal 's well made point), I don't think this MSC is going to add any substantial security or privacy to the current endpoint. The more I look at this issue, the more I realize that lookups are inherently flawed as they will always leak your contacts.
There is possibly some small gain for hashing strings with more variance such as email or social handles, but zero gain for a phone number. I would argue that for private deployments this feature is surplus to requirement, as you would be expected to trust your identity server.
So in short, I'm not sure if this MSC is the right thing to fix the problem. If anything this looks more like a problem for app developers and transparency of their UX.

I still think this proposal has much value for non-msisdn 3PIDs, and a little value for phone numbers. Imagine if you had a service where users could only use passwords that were 6 chars long. It would still be valuable not to store those passwords in plain text.
I do wonder though, could bcrypt not be used for this? Does it provide any extra security?

I have taken over this MSC and added salt and other details.

Adding a mechanism for identity servers to use their own salt by suggestion of @mathijs:matrix.vgorcum.com.

modulo my small comments lgtm.

People seem to be generally happy with the state of this proposal, so:
@mscbot fcp merge

ugh, the MSC bot doesn't understand review comments.
@mscbot concern Hash algorithm implementation is not future proof.
@mscbot concern v1 endpoints are disabled with the wrong error codes

@mscbot concern Unenforcable consent requirement
@mscbot resolve Hash algorithm implementation is not future proof.

Something I'd like to point out is the k-anonymity method employed by the HaveIBeenPwned people. This would allow for looking up hashes without exposing a unique hash to the IS:

Create a hash value of your password. A hash value is just a way of turning arbitrary data—your password—into a fixed data representation—the hash value. A cryptographic hash function is collision-resistant, meaning it creates a unique hash value for every input. The algorithm used for the hash is a one-way transformation, which makes it hard to know the input value if you only have the hash value. For example, using the SHA-1 algorithm that HIBP uses, the password hunter2 becomes F3BBBD66A63D4BF1747940578EC3D0103530E21D.
Send the first five characters (F3BBB in our example) to the site, and the site will send back a list of all the hash values that start with those five characters. This way, the site can't know which hash values you are interested in. The k-Anonymity process ensures there is so much statistical noise that it is hard for a compromised site to determine which password you inquired about. For example, our query returns a list of 527 potential matches from HIBP.
Search through the list of results to see if your hash is there. If it is, your password has been compromised. If it isn't, the password isn't in a publicly known data breach. HIBP returns a bonus in its data: a count of how many times the password has been seen in data breaches. Astoundingly, hunter2 has been seen 17,043 times!

Source: https://opensource.com/article/19/6/check-passwords

k-anonymity method

The difference here is that we don't want to return an otherwise anonymous integer, but mxids, which means using k-anonymity here is a bit of a balancing act.
If we have clients send too small part of a hash, they'll get a lot of mxids with their hashes back, which makes getting the whole database of mxids trivial.
Having clients send too much of the hash more or less negates the use of k-anonymity, and still has a small leak of mxids to clients.
What k-anonymity can buy us is that the IS is less aware of the social graph of the user (if the IS sends a couple of mxids it doesn't know which ones are actually used), and it makes sure that the IS has a much harder time getting all the contact information from the address book of the client. While the current MSC does hash, getting the plaintext from the hash isn't too hard (as has been discussed), so using k-anonymity makes getting back the sent 3pids that are not in the database pretty much anonymous.

The difference here is that we don't want to return an otherwise anonymous integer, but mxids, which means using k-anonymity here is a bit of a balancing act.

You could have the client send the first few characters of the hash, have the server send the next few characters of all matching hashes that it has, the client checks if the server has something that matches, and if so, the client sends the full hash, and if the server has the full hash it will send the MXID.
e.g. if hunter2 becomes F3BBBD66A63D4BF1747940578EC3D0103530E21D, the cilent will send "F3BBB", then the server will send back maybe "F3BBBD66A6" and "F3BBBABCDE".  The client will send the full hash, and then the server will send the MXID.  But the client can't find out the MXID behind "F3BBBABCDE" because it doesn't have the full hash for that.

@mscbot resolve Unenforcable consent requirement

@mscbot resolve v1 endpoints are disabled with the wrong error codes

You could have the client send the first few characters of the hash, have the server send the next few characters of all matching hashes that it has, the client checks if the server has something that matches, and if so, the client sends the full hash, and if the server has the full hash it will send the MXID.

e.g. if hunter2 becomes F3BBBD66A63D4BF1747940578EC3D0103530E21D, the cilent will send "F3BBB", then the server will send back maybe "F3BBBD66A6" and "F3BBBABCDE". The client will send the full hash, and then the server will send the MXID. But the client can't find out the MXID behind "F3BBBABCDE" because it doesn't have the full hash for that.

This is an interesting solution. I don't think the server needs to send back "F3BBBD66A6", but just the part of the hash the client is missing, "D66A6", to save on bandwidth.
Additionally, the server could send back part of a hash that's still too general, and matches more than one hash the client has. In this case should the client just send over all of the hashes that match, potentially leaking data to the IS, or should it do another round of sending a few more hash characters to the server?
To be fair, I think the above is an edge case and the likelihood of it could be reduced by sending more hash characters from the server. But then again, the more characters we send from the server the more knowledge a client has to figure out hashes that aren't already known to it.

Hello all. So we've decided @uhoreg's scheme is pretty good and I've written up a piece for the MSC involving it. Before we decide on it however, @erikjohnston has pointed out that we should be careful to ensure that this isn't a lot more work without much gain. In the interest of that, here are the two possible resulting writeups, with a summary at the end of what privacy each buys us.
The @uhoreg solution
This proposal suggests making changes to the Identity Service API's lookup
endpoints. Instead of /lookup and /bulk_lookup endpoints, this proposal
replaces them with endpoints /lookup and /lookup_hashes. Additionally, the
endpoints should be on a v2 path, to avoid confusion with origin /lookup
functionality. We also drop the /api in order to preserve consistency across
other endpoints:

/_matrix/identity/v2/lookup
/_matrix/identity/v2/lookup_hashes

The following back-and-forth now occurs between the client and server.
Let's say the client wants to check the following 3PIDs:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>+1<PHONE_NUMBER>

The client will hash each 3PID (hashing details are described below) as a
concatenation of the medium and address, separated by a space. Then send the
first N characters of each in an array, deduplicating any matching entries.
(Where N is a low value, chosen by the client, and a trade-off of metadata the
server learns versus the client). Note that phone numbers should be formatted
as defined by https://matrix.org/docs/spec/appendices#pstn-phone-numbers,
before being hashed).
In preparing the values, a client should convert an email from
<EMAIL_ADDRESS>to "email<EMAIL_ADDRESS>
NOTE: Example numbers, not real hash values.

"email<EMAIL_ADDRESS> -> 70b1b5637937ab99f6aad01f694b3665541a5b9cbdfe54880462b3f1ad35d1f4
"email<EMAIL_ADDRESS>-> 21375456a47c2cdc41a0596549a16ec51b64d26eb47b8e915d45b18ed17b72ff
"email<EMAIL_ADDRESS> -> 758afda64cb6a86ee6d540fa7c8b803a2479863e369cbafd71ffd376beef5d5f
"msisdn<PHONE_NUMBER>0"      -> 21375b3f1b61c975b13c8cecd6481a82e239e6aad644c29dc815836188ae8351

Note that<EMAIL_ADDRESS>and<PHONE_NUMBER>0 have the same leading characters
in their hashed representations.

If N = 5, the client sends the following:

POST /_matrix/identity/v2/lookup

{
  "hashes": [
    "70b1b",
    "21375",
    "758af"
  ]
}

The identity server, upon receiving these partial hashes, will then check which
hashes it knows of that match the given leading values. It will then return the
next M characters of each that match (where M is also a low value, with a
trade-off being higher may let the client find hashes of 3PIDs it doesn't know,
and lower meaning the client may send hashes of 3PIDs that do not map to a
Matrix user):
The identity server found the following hashes that contain the leading
characters:

70b1b5637937ab99f6aad01f694b3665541a5b9cbdfe54880462b3f1ad35d1f4
70b1b1b28dcfcc179a54983f46e1753c3fcdb0884d06fad741582c0180b56fc9
21375b3f1b61c975b13c8cecd6481a82e239e6aad644c29dc815836188ae8351

And if `M` = 7, the identity server will then send back the following
payload:

{
  "70b1b": ["5637937", "1b28dcf"],
  "21375": ["b3f1b61"]
}

The client can then deduce which hashes actually lead to Matrix IDs. In this
case, 70b1b5637937 are the leading characters of<EMAIL_ADDRESS>21375b3f1b61 are the leading characters of "12345678910" and 70b1b1b28dcf does
not match any of the hashes the client has locally, so it is ignored.
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>do not seem to have Matrix IDs
associated with them.
Finally, the client sends the full hashes that it believes are associated with
Matrix IDs to the identity server on the /lookup_hashes endpoint:
POST /_matrix/identity/v2/lookup_hashes

{
  "hashes": {
    "1": "70b1b5637937ab99f6aad01f694b3665541a5b9cbdfe54880462b3f1ad35d1f4",
    "2": "21375b3f1b61c975b13c8cecd6481a82e239e6aad644c29dc815836188ae8351"
  }
}

The server will find the MXIDs that match these hashes, and return them:
{
  "mappings": {
    "1": "@alice:example.org",
    "2": "@fred:matrix.org"
  }
}

The client can now display which 3PIDs link to which Matrix IDs.
The hash value must be peppered in order to reduce the attacks the identity
server can perform (namely sending a rainbow table of hashes back in the
response to /lookup). The resulting digest MUST be encoded in URL-safe
unpadded base64 (similar to room version 4's event
IDs).

Past what they already knew, from this exchange the client and server have learned:
Client:

Partial 3PID hash "70b1b1b28dcf" of some matrix user (likely useless)
<EMAIL_ADDRESS>-> @alice:example.org (required)
+1<PHONE_NUMBER> -> @fred:matrix.org (required)

Server:
Partial hash "758af" (likely useless)

@erikjohnston brought up a potential attack vector by the identity server in which it could send many, many results from a rainbow table to the client in order to try and match the hashes it has locally.
However, this can be mitigated by adding a salt to the hash that the client specifies, which we may want to add to both options quite simply anyways.
The hashing-is-good-enough solution
We just hash + pepper hashes that get sent to the identity server, and the IS responds with the MXIDs:
Let's say the client wants to check the following 3PIDs:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>+1<PHONE_NUMBER>

The client will hash each 3PID (hashing details are described below) as a
concatenation of the medium and address, separated by a space. Then send
each hash to the server as part of a dictionary.
In preparing the values, a client should convert an email from
<EMAIL_ADDRESS>to "email<EMAIL_ADDRESS>
NOTE: Example numbers, not real hash values.

"email<EMAIL_ADDRESS> -> 70b1b5637937ab99f6aad01f694b3665541a5b9cbdfe54880462b3f1ad35d1f4
"email<EMAIL_ADDRESS>-> 21375456a47c2cdc41a0596549a16ec51b64d26eb47b8e915d45b18ed17b72ff
"email<EMAIL_ADDRESS> -> 758afda64cb6a86ee6d540fa7c8b803a2479863e369cbafd71ffd376beef5d5f
"msisdn<PHONE_NUMBER>0"      -> 21375b3f1b61c975b13c8cecd6481a82e239e6aad644c29dc815836188ae8351

POST /_matrix/identity/v2/lookup

{
  "hashes": {
    "1": "70b1b5637937ab99f6aad01f694b3665541a5b9cbdfe54880462b3f1ad35d1f4",
    "2": "21375456a47c2cdc41a0596549a16ec51b64d26eb47b8e915d45b18ed17b72ff",
    "3": "758afda64cb6a86ee6d540fa7c8b803a2479863e369cbafd71ffd376beef5d5f",
    "4": "21375b3f1b61c975b13c8cecd6481a82e239e6aad644c29dc815836188ae8351"
  }
}

The identity server will then respond with the Matrix IDs corresponding to the 3PIDs it is aware of:
{
  "mappings":
    "1": "@alice:example.org",
    "4": "@fred:matrix.org"
  }
}

Past what they already knew, from this exchange the client and server have learned:
Client:

<EMAIL_ADDRESS>-> @alice:example.org (required)
+1<PHONE_NUMBER> -> @fred:matrix.org (required)

Server:
Full hash "70b1b5637937ab99f6aad01f694b3665541a5b9cbdfe54880462b3f1ad35d1f4" (required)
Full hash "21375456a47c2cdc41a0596549a16ec51b64d26eb47b8e915d45b18ed17b72ff" (full hash, potentially reversible)
Full hash "758afda64cb6a86ee6d540fa7c8b803a2479863e369cbafd71ffd376beef5d5f" (full hash, potentially reversible)
Full hash "21375b3f1b61c975b13c8cecd6481a82e239e6aad644c29dc815836188ae8351" (required)

I'm not sure if this is the attack erik was talking about, but what I was saying on matrix was that if we're assuming that the server can build a database of most possible emails/msisdns, I don't see what prevents the server from returning all the matching hashes anyway.
I also don't understand what your salt workaround to erik's attack is and where it's incorporated.

As the community seems largely happy with this in it's current state, and in the interest of bringing more Spec Core Team eyes on it:
@mscbot fcp merge

@mscbot concern Overly restrictive hash algorithm negotiation

@mscbot concern Overly restrictive hash algorithm negotiation

Hopefully this is now solved?

@mscbot resolve Overly restrictive hash algorithm negotiation
@mscbot concern I have overarching concerns with this proposal
(I also need something to block FCP because I can't uncheck my damn box)

@mscbot concern Transparent identity servers are no longer possible with this MSC.
(please can we fix the bot so I can stop doing this?)

@mscbot resolve Transparent identity servers are no longer possible with this MSC.
I still have concerns with the overall complexity of this MSC being introduced to solve a problem we don't really have. The complexity outweighs the gain, given the limited scope of the problem (which is still super vague in this proposal - this also needs fixing).

@turt2live Really all this helps solve is that a percentage of non-matrix contacts that are sent to the IS will be obscured, such that the excess data that it and a MITM attacker can gain is reduced.
It's not a huge step but the implementation required is fairly simple and a small but noticeable step in the right direction. I think it's worthwhile.
I attended a conference this weekend and one of the panels was arguing over the rules of children viewing unsightly things on the Internet that had passed in the UK. They were fishing from the audience for solutions to the problem of being able to verify someone's age online without causing too much invasion of privacy.
During the talk, it clicked that the solution here really shouldn't be a technical one, which kids would be incentivized to skirt around, but rather a matter of simply educating children about the dangers of the Internet, and let them find their own path instead.
I think this is somewhat relevant here, and indeed exactly what you were saying a week ago, where we should be very clear about what will be sent to the server so that the user can decide whether or not to consent. Of course, this puts a damper on the fluidity of our mobile apps, as we'd rather not throw a wall of text at the user when they first open it up. But informing the user about what it means and letting them make their own decision is the simplest and most elegant solution in my opinion.
 Because nothing can ever be made 100% secure. You just want to make it inconvenient enough for most people to try.

@mscbot resolve I have overarching concerns with this proposal

Spec PR: https://github.com/matrix-org/matrix-doc/pull/2287

Merged 🎉


Refs 3488: disable sorting on status

Summary

We can't sort on the combined status as it's not stored in the db, so this change disables sorting on the status column in the ContentListTable

Testing steps

Status column should not be sortable

https://issues.redhat.com/browse/HMS-3488

⚠ This task currently requires qe-approval, but this PR does not fully resolve the task.  Please contact QE to determine appropriate testing required.


[18.06] disable containerd CRI plugin

Implementation of https://github.com/moby/moby/pull/37519 fr 18.06, but without configuration option.
fixes https://github.com/moby/moby/issues/37507 for 18.06
Docker 18.06 does not have a configuration option to disable the CRI plugin, and this plugin is not very useful if containerd is not running standalone.
This patch disables the plugin if containerd is running as child-process of dockerd.
- How to verify it

build dockerd with this patch
start the daemon (dockerd &)
verify that the plugin is disabled in containerd's generated configuration file;

cat /var/run/docker/containerd/containerd.toml | grep disabled_plugins
disabled_plugins = ["cri"]

- Description for the changelog

* Disable the containerd CRI plugin if containerd is running as child-process of dockerd

ping @cpuguy83 @dmcgowan PTAL

Still present on latest CoreOS with 18.06.1-ce.
Any idea?

^^ answered here; https://github.com/containerd/containerd/issues/2483#issuecomment-437025011


raspberry pi pico always in mass storage mode

Describe the bug
I am trying to use the raspberry pi pico (rpi_pico board) with Zephyr. I managed to build the blink and hello_world projects. However, when it is flash using the UF2 file (build/zephyr/zephyr.uf2), the raspberry pi pico resets and appears again as a mass storage device (wihtout pressing the BOOTSEL botton). It seems that the app or the boot2 were not flashed properly.
Environment

Zephyr version: 3.1.99
Zephyr SDK: 0.14.2
cmd console in Windows 11

To Reproduce
Steps to reproduce the behavior:

go to hello_world or blink example folder
west build -b rpi_pico -c
copy the file /build/zephyr/zephyr.uf2 to the RPI_RP2 mass storage device
The raspberry pi pico restarts but it appears again as a mass storage device and neither the hello_world example prints data in the UARTS (I tested with a TTL-USB converter) nor the LED blinks (I checked the gpio pin in the dts file). I tend to think that the reason is that it is in "Bootloader mode" and the app doesn't start.

LOGS
I would like to share also the output of the build process. The BOOT_FLASH uses 0GB, which I don't know if it is the origin of the issue. However, it builds the bootloader since it generates the file \build\bootloader\boot_stage2.bin.
[47/47] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
      BOOT_FLASH:          0 GB        256 B      0.00%
           FLASH:       11220 B    2096896 B      0.54%
            SRAM:        3736 B       264 KB      1.38%
        IDT_LIST:          0 GB         2 KB      0.00%
Converting to uf2, output size: 22528, start address: 0x10000000
Wrote 22528 bytes to zephyr.uf2

More Info
I have tested also the raspberry pi pico with Arduino in which I managed easily to flash a hello_world example. Then, the raspberry pi pico restarted and appeared as a COM device instead of a mass storage device (It was needed to press the BOOTSEL botton to go back to mass storage state). However, when I use zephyr the app does nothing and the board is always a mass storage device (even without pressing the BOOTSEL botton).

I also have this issue but on popos 22.04 LTS. The blinky example just never actually runs.

I tried to run the elf through picotool to see if there was any info and it returned none for all fields
`thomasfike@pop-os:~/pico/picotool/build$ ./picotool info -a ~/zephyrproject/zephyr/build/zephyr/zephyr.uf2
File /home/thomasfike/zephyrproject/zephyr/build/zephyr/zephyr.uf2:
Program Information
none
Fixed Pin Information
none
Build Information
none
`

In looking at the discord I found that this issue was introducted in PR #46062. This change will likely need to be reverted and solved correctly to fix this  issue for all users. I reverted the commit locally and the UF2 now works for blinky.

In looking at the discord I found that this issue was introducted in PR #46062. This change will likely need to be reverted and solved correctly to fix this  issue for all users. I reverted the commit locally and the UF2 now works for blinky.

In looking at the discord I found that this issue was introduced in #46062. This change will likely need to be reverted and solved correctly to fix this issue for all users. I reverted the commit locally and the UF2 now works for blinky.

In looking at the discord I found that this issue was introduced in #46062. This change will likely need to be reverted and solved correctly to fix this issue for all users. I reverted the commit locally and the UF2 now works for blinky.

Hi @jeronimoagullo and @ThomasFike , this bug was introduced very recently, as you said. #46616 should fix it.

Maybe related to https://github.com/zephyrproject-rtos/zephyr/pull/46616?

Hi @ThomasFike, @yonsch and @fabiobaltieri
I have just tested the #46616 locally (copying the changes to the repective CMakeLists.txt files) and it works smoothly. I will wait to the approval of this commit. Once, it occurs, I will close this issue.
Thank you very much for the support.


ICE implementation

Issue #, if available:
ICE implementation.
Description of changes:
Add ICE APIs for exchanging candidate information to find a nominated candidate pair for media exchange.
Testing
Tested using unit tests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The new PR has been raised and is ready for review
https://github.com/awslabs/amazon-kinesis-video-streams-ice/pull/2


missing branding image

In RHVM there is missing image in top menu
<img class="obrand_mastheadLogo" src="/ovirt-engine/web-ui/branding/images/clear.cache.gif">

BZ created.


⚠ Syncthing-KA-TM has degraded performance

In 7bc64fb, Syncthing-KA-TM ($URL_SYNCTHING_MERZ_NIMBUS_TM) experienced degraded performance:

HTTP code: 200
Response time: 4767 ms

Resolved: Syncthing-KA-TM performance has improved in 4c88597 after 5 minutes.


”Cârța”, ”Poienița” are listed in the drop-down menu

Description:
When user writes ”Cârța”, ”Poienița” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Cârța"

Expected results
The location appears in the drop-down menu as "Sat Cârța, SIBIU (Cârța)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Poienița"

Expected results
The location appears in the drop-down menu as "Sat Poienița, SIBIU (Cârța)".


Building portainer image, container not launched, nothing on port 9443

Hi,
I am trying to build the portainer image following the instructions on  https://docs.portainer.io/contribute/build, I've already installed the dependencies listed on https://docs.portainer.io/contribute/build/linux and tried the installation on WSL and on an Ubuntu Virtual machine, on both cases the last log on the terminal indicates that webpack has successfully compiled, after that I would expect the container running and the webui visible on https://localhost:9443 but that is not my case, I leaved the terminal executing for several hours.
docker ps does not show any running containers, the last logs on the terminal are the following
assets by info 51 MiB [immutable]
  assets by chunk 845 KiB (auxiliary name: main) 11 assets
  assets by chunk 211 KiB (auxiliary name: vendor) 5 assets
  assets by path *.js 49.5 MiB
    asset vendor.42adad794939818a5f9a.js 30.1 MiB [emitted] [immutable] (name: vendor) (id hint: vendor)
    + 2 assets
  assets by path *.css 484 KiB
    asset main.c614b864ac552997efce.css 268 KiB [emitted] [immutable] (name: main)
    asset vendor.4284231239622e1d91fa.css 217 KiB [emitted] [immutable] (name: vendor) (id hint: vendor)
  + 5 assets
assets by path *.html 31.3 KiB
  asset index.html 16.9 KiB [emitted]
  asset timeout.html 14.4 KiB [emitted]
asset locales/en/translation.json 765 bytes [emitted] [from: translations/en/translation.json] [copied]
Entrypoint main 50 MiB (1.03 MiB) = runtime.703df7234b4b43062662.js 10.8 KiB vendor.4284231239622e1d91fa.css 217 KiB vendor.42adad794939818a5f9a.js 30.1 MiB main.c614b864ac552997efce.css 268 KiB main.f20467cdcbf27a3198c4.js 19.4 MiB 16 auxiliary assets
runtime modules 113 KiB 454 modules
orphan modules 1.73 MiB (javascript) 999 KiB (asset) [orphan] 431 modules
javascript modules 15.3 MiB 4464 modules
css modules 425 KiB
  modules by path ./app/ 216 KiB 93 modules
  modules by path ./node_modules/ 209 KiB 17 modules
asset modules 21.1 KiB (javascript) 57.1 KiB (asset)
  modules by path ./app/assets/ 21 KiB (javascript) 19.3 KiB (asset) 9 modules
  modules by path ./app/react/ 84 bytes (javascript) 37.8 KiB (asset) 2 modules
json modules 757 KiB
  ./app/assets/css/colors.json 4.47 KiB [built] [code generated]
  ./node_modules/moment-timezone/data/packed/latest.json 750 KiB [built] [code generated]
  ./app/docker/helpers/logHelper/colors/rawColors.json 2.26 KiB [built] [code generated]
webpack 5.68.0 compiled successfully in 618672 ms

I recap the command I executed to obtain the previous result:
git clone https://github.com/portainer/portainer.git
cd portainer
yarn
yarn start

Could someone please provide assistance with this?
Thanks!

@nicolamarchiotto
Thank you for the information.  I am going to investigate.  I will update you as I learn more.
Thanks!

@nicolamarchiotto
I was able to reproduce the same issue.  I am currently investigating.  I will update you as as I learn more.
Thanks!

@tamarahenson
I was able to get the development environment up and running. The problem lied in the dependencies of the server component, to fix them I did the following
make server-deps
make build-server

Then I run the server and the client separately using
make dev-server
make dev-client

Cmake and jq were needed for the procedure

We recently moved our build processes over to use make instead of yarn and our build instructions were out of date as a result. We've now updated the instructions to reflect the new process.

We recently moved our build processes over to use make instead of yarn and our build instructions were out of date as a result. We've now updated the instructions to reflect the new process.

The new 8999 proxy doesn't seem to be able to proxy the console on the web side.


fix(runtime-web): slider 展示的值与预设值不匹配

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.gao.ghf seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Skips indexing of binary annotations longer than 256 characters

It is unlikely that someone has a valid use case to paste a key/value
match of a value longer than 256 characters. By limiting the length of
binary annotations indexed, we can reduce the size of indexes without
limiting users from storing larger values, like query data.

cc @openzipkin/cassandra

That seems reasonable to me.
Maybe if someone really wants this in future, maybe we could index the hash of the really long value instead?

@michaelsembwever noted that the highest impact is more about the key count, not the length. Ex there's more benefit to reducing the (irrelevant) cardinality in the table vs the length.
@danchia for example, I'm not sure anyone would do a key lookup by md5 of a long url :)
This indirectly reduces count by stripping things that are presumably volatile from being long. Ex query parameters in a signature tend to be (but are not always) long, so stripping them on account of length, may very likely reduce the count as well.
Another option could be to make a blacklist, ex Signature. Pro is that this could weed out urls unlikley to be search keys. Problem is that this requires special knowledge of the namespace, and adds maintenance the zipkin project can't likely help with...

I'm going to merge this as I see more meh or in favor than against. thanks for the feedback!


Questions on Experiment Section

First of all thank you for sharing your paper and code on Constrastive learning for sentence embeddings.
I have few questions regarding the paper!

In the paper, the result of unsupervised SimCSE in tables 1-5 seem to be trained with wiki 1m data.  It's kind of unclear in tables 6-7, which dataset are being used to fine-tune in unsupervised setting.  Or do they use nli dataset as supervised setting, sts-b train set, or wiki 1m data as prior tables?

In transfer tasks section, it mentions about BERT-flow/whitening. I was not able to see the result in Table 7. Do you have plans adding them?

In transfer tasks section, I do understand on the concept of flattening the embedding space by reducing the eigenvalue. Have you conduct additional experiment to support your argument that "good uniformity of representations does not lead to better embedding for transfer learning"?  Or is this argument based on the result in table 7?

Any feedback or comments are appreciated!
Thank you,
Jin

Hi,

For all unsupervised results, we use Wikipedia (1M) data. For supervised results, we take NLI datasets. Sorry that the naming causes some confusion, but none of the experiments use STS-B training set for fine-tuning. In standard sentence embedding setting, STS-B is only used for testing.

We didn't add them because the two papers didn't report the numbers and also by our reproduction the results are similar to vanilla BERT/RoBERTa (in some cases, even worse).

The argument just comes from intuition and you can say that Table 7 to some extent supports the argument.

Thank you! My confusion has been cleared up :)


Implement diagnostics service for base card

Update Diagnostics type and message definitions
Add fake diagnostics data and default params
Implement Diagnostics service

BUG: b/295126759

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.

Overall LGTM!


官网教程demo中“混合联邦——逻辑回归”部分卡死报错

Issue Type
Bug
Source
source
Secretflow Version
0.7.7b1
OS Platform and Distribution
ubuntu 18.04
Python version
python 3.8.2
Bazel version
No response
GCC/Compiler version
7.5.0
What happend and What you expected to happen.
报错提示为：
2022-09-23 14:30:21,458	WARNING worker.py:1416 -- WARNING: 24 PYTHON worker processes have been started on node: 62e2f7559f79e651a23d3bd946e47ca50c36376fd7bd4e012a185c5e with address: <IP_ADDRESS>. This could be a result of using a large number of actors, or due to tasks blocked in ray.get() calls (see https://github.com/ray-project/ray/issues/3644 for some discussion of workarounds).
2022-09-23 14:30:22,620	WARNING worker.py:1416 -- WARNING: 32 PYTHON worker processes have been started on node: 62e2f7559f79e651a23d3bd946e47ca50c36376fd7bd4e012a185c5e with address: <IP_ADDRESS>. This could be a result of using a large number of actors, or due to tasks blocked in ray.get() calls (see https://github.com/ray-project/ray/issues/3644 for some discussion of workarounds).

输出文本为：
import logging logging.root.setLevel(level=logging.INFO)

from secretflow.ml.linear import FlLogisticRegressionMix

model = FlLogisticRegressionMix()

model.fit( x, y, batch_size=64, epochs=3, learning_rate=0.1, aggregators=[aggregator0, aggregator1, aggregator2], heus=[heu0, heu1, heu2], )

Reproduction code to reproduce the issue.
model.fit(
    x,
    y,
    batch_size=64,
    epochs=3,
    learning_rate=0.1,
    aggregators=[aggregator0, aggregator1, aggregator2],
    heus=[heu0, heu1, heu2],
)

Hi, @LinruiLee ,
Could you please confirm that your machine meet the minimum requirements - 8c16g

I just use 8c10g for the virtual machine, because my computer is only 16c16g. There is no enough RAM for the virtual machine. And is it necessary to require the virtual machine to have 16g?

16G is the minimum requirement.

I just use 8c10g for the virtual machine, because my computer is only 16c16g. There is no enough RAM for the virtual machine. And is it necessary to require the virtual machine to have 16g?


Small changes and correction

Increase memory requirement for bwa
correction in example config file

Looks good! Apologies for the missing equal sign, that was my error in the RNA-seq pipeline which must have been copied across.

Thanks! /chuan
On Mon, Jul 18, 2016 at 11:41 AM, Phil Ewels<EMAIL_ADDRESS>wrote:

Merged #7 https://github.com/SciLifeLab/NGI-ChIPseq/pull/7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SciLifeLab/NGI-ChIPseq/pull/7#event-725863044, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARdKNEnf6KWwCQmCpzTseDBE3YnABzh2ks5qW0pNgaJpZM4JOhpe
.


Gate use of unstable try_trait_v2 feature

Add a new enabled-by-default unstable_try_trait feature to the uefi
library to control whether the unstable try_trait_v2 rustc feature is
enabled.
It seems like there's still a fair amount of discussion around what the
Try API should look like in the tracking issue for try_trait_v2. This
could lead to the API being changed in the nightly compiler, and
breaking uefi-rs compilation (which is particularly annoying when using
a released version rather than the latest git version). Users who want
to avoid that problem can now disable unstable_try_trait.
https://github.com/rust-osdev/uefi-rs/issues/452

Yeah, I agree with what @phip1611 said. When I initially thought of the solution based on a feature gate, I didn't realize it would lead to so many small changes and still has downsides 😅


feature: improve marketcap sorting using v3 cvs api

📝 Description

This reimplement the fetchMarketcapTickers into fetchIdsSortedByMarketcap, moving from /v2/tickers to /v3/currencies/supported API which uses currency id instead of tickers. That itself should improve the marketcap ordering by using the true currency id. This shift created the opportunity to simplify the code of sortByMarketcap.
We also take the opportunity to remove some usage of .countervalueEnabled moving toward the idea that this boolean is entirely driven by the backend.

the only remaining usage of countervalueEnabled is related to crypto-icons (which have ticker collision still) so i'm not touching this yet.

❓ Context

JIRA or GitHub link: https://ledgerhq.atlassian.net/browse/LIVE-9384

✅ Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.

[x] npx changeset was attached.
[x] Covered by automatic tests.
[x] Impact of the changes:

LLD and LLM projects
all currencies list, typically in selects
the Manager app list

🧐 Checklist for the PR Reviewers

[ ] The code aligns with the requirements described in the linked JIRA or GitHub issue.
[ ] The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
[ ] There are no undocumented trade-offs, technical debt, or maintainability issues.
[ ] The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
[ ] Any new dependencies have been justified and documented.
[ ] Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@KVNLS makes sense. in future we need some benchmark tests.
i'll take a look on thurday. it will be easy to fix. at least the code is simpler but complexity probably went O(n2) on this part
  for (const id of ids) {
    const currency = currencies.find(c => c.type !== "FiatCurrency" && c.id === id);
    if (currency) sorted.push(currency);
  }

can probably first map by id and then do the sorted push. moving to 2 loops of O(n) that way.
notice the fact we use useCurrenciesByMarketcap a bit everywhere nowadays (at the time we made this it was only done in top level if i recall) which means we do this multiple times (fetching from api AND sorting) maybe not the best idea overall but i'm not reconsidering this yet.

I have reworked my code, indeed there were a performance regression (2.5x slower), my new implementation will be 35x faster 🚀
proof https://gist.github.com/gre/fe66ec88fa3de0767952591763bd0a67
> node index.js

currencies: 7915
v0_sortByMarketcap x 13.42 ops/sec ±0.58% (36 runs sampled)
v1_sortCurrenciesByIds x 5.61 ops/sec ±7.98% (19 runs sampled)
v2_sortCurrenciesByIds x 472 ops/sec ±3.76% (81 runs sampled)


Consider bandwidth weight query options

Will we need to query any routers based on bandwidth statistics?  Investigate this further and add functionality to get_router_by_policy() as necessary.

Closing for now because it's non-specific. This will get pulled in as part of the NetStatus/Path selection master ticket soon.


Potentially refactor gateway.ts into a cleaner implementation

This is possibly as much as we can refactor out for now - the rest makes more sense in the gateway.ts files as they act on the server components.


Increment version for communication releases

Increment package version after release of com.azure azure-communication-jobrouter

API change check
API changes are not detected in this pull request.


How do i Finetune

Using IGEV I need to finetune the model on my own dataset. What should be the steps I should follow in order to execute the fine-tuning because there is no fine-tuning file available?

Also have the same necessity here.


[svelte5] Date Range Picker broken on next release

Describe the bug
When selecting the end date the value does not update.
 TypeError: undefined is not an object (evaluating 't.calendar')

[Error] TypeError: undefined is not an object (evaluating 't.calendar')
	k (calendar-heading.Cm06nOeA.js:1:6564)
	j (calendar-heading.Cm06nOeA.js:1:3050)
	Vt (runtime.D6g_obm2.js:1:8325)
	kt (runtime.D6g_obm2.js:1:3842)
	Nt (runtime.D6g_obm2.js:1:3891)
	M (runtime.D6g_obm2.js:1:8001)
	M (runtime.D6g_obm2.js:1:7994)
	M (runtime.D6g_obm2.js:1:7994)
	M (runtime.D6g_obm2.js:1:7994)
	Kt (runtime.D6g_obm2.js:1:9825)
	$t (runtime.D6g_obm2.js:1:9270)
	On (runtime.D6g_obm2.js:1:9538)

This also happens in my project after I updated the component, that's why I noticed.
Reproduction
Go to https://next.shadcn-svelte.com/docs/components/date-picker and try to select a start and end date on Date Range Picker example.
Logs
No response
System Info
System:
    OS: macOS 15.0.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 2.24 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
    npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
    pnpm: 9.12.2 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 130.0.6723.70
    Firefox Nightly: 133.0a1
    Safari: 18.0.1
    Safari Technology Preview: 18.0
  npmPackages:
    @sveltejs/kit: ^2.7.3 => 2.7.3
    bits-ui: 1.0.0-next.28 => 1.0.0-next.28
    cmdk-sv: ^0.0.18 => 0.0.18
    formsnap: 2.0.0-next.0 => 2.0.0-next.0
    lucide-svelte: ^0.453.0 => 0.453.0
    svelte: ^5.1.3 => 5.1.3
    sveltekit-superforms: ^2.20.0 => 2.20.0

Severity
blocking an upgrade

Fixed! No need to pass the placeholder into the RangeCalendar as it will already default the placeholder to the start value if one is not provided.


FEAT generate config.yml and attaching it in the HTML

This would allow somebody to reproduce the figure by just downloading the config file and running benchopt.

This would be a very good idea.
Related to @TimotheeMathieu suggestion to better explain the version of the files, we could also attach the output of conda env export, which specifies the exact version of each conda/pip package used to generate the benchmark's run.


docs(readme): fix typos

There isn't an issue for this, but I noticed several typos going through the README.  I hope you don't mind that I went ahead and fixed them. The README is awesome by the way, very detailed and helpful!

change "an mutable" to "a mutable"
change "areas that needs to be" to "areas that need to be"
change "data structures has" to "data structures have"
change "Altough" to "Although"
change "object and arrays" to "objects and arrays"
change "features of JavaScript needs to be disabled" to "features of JavaScript need to be disabled"
change "See bellow" to "See below"
change "work in more case" to "work in more cases"
change "Disallow function that return nothing" to "Disallow functions that return nothing"
change "standard rules that needs" to "standard rules that need"
change "se the" to "see the"
change "eslit" to "eslint"

Nice work, thanks for that :)


avoid deepcopying object default

Checks

[X] I added a descriptive title to this issue
[X] I have searched (google, github) for similar issues and couldn't find anything
[X] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
                pydantic version: 1.9.0
            pydantic compiled: True
                 install path: /home/bena/.cache/pypoetry/virtualenvs/apidiver-Yp0LR-tN-py3.8/lib/python3.8/site-packages/pydantic
               python version: 3.8.12 (default, Sep 22 2021, 17:35:58)  [GCC 9.3.0]
                     platform: Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.29
     optional deps. installed: ['typing-extensions']

It is currently useless to set a field default to a sentinel value.

from typing import Any

from pydantic import BaseModel, Field

sentinel = object()

class A(BaseModel):
    w: Any = sentinel
    x: Any = Field(default=sentinel)
    y: Any = Field(default_factory=lambda: sentinel)

a = A()

print(a.w is sentinel)  # False
print(a.x is sentinel)  # False
print(a.y is sentinel)  # True

This is because of the function smart_deepcopy, that copies objects, even though they are immutable. A simple solution to this is to add the object type to the set IMMUTABLE_NON_COLLECTIONS_TYPES.

Just dived into the same issue which is a consequence of ignoring the Zen of Python, Implicit deepcopy of default values (hashable or not) is definitely a disservice feature:
Explicit is better than implicit
Implicit deepcopy
Readability counts
Confuses  developers not familiar with Pydantic in depth, but understand that a factory should be used for mutable.
Encourages writing bad/error-prone code (Python newbies might assume this is a feature of Python - guessing where you need a copy)
Special cases aren't special enough to break the rules
Rule: pass default value or factory
Special case: non-hashable value
There should be one-- and preferably only one --obvious way to do it
Use a factory if you need a copy per instance
Please add an option to disable this feature.

We’re no longer actively developing Pydantic V1 (although it will continue to receive security fixes for the next year or so), so we’re closing issues solely related to V1. If you really think this shouldn’t be closed, please comment or create a new issue 🚀.

@sydney-runkle Hi! I think this issue shouldn't have been closed as the described Pydantic behavior didn't change in V2.
I also stumbled into this today on 2.7.1 and was suprised to find out that Pydantic behaves inconsistently with dataclasses and plain Python classes in that regard:
from dataclasses import dataclass
from pydantic import BaseModel

_SENTINEL = object()

def test_sentinels_with_dataclass():
    @dataclass
    class Foo:
        _field = _SENTINEL

    assert Foo()._field is Foo()._field  # equal, same object

def test_sentinels_with_pydantic_class():
    class Foo(BaseModel):
        _field = _SENTINEL

    assert Foo()._field != Foo()._field  # surprisingly, not equal
    assert Foo() != Foo()  # as a consequence

Both of these tests pass without AssertionErrors. My initial assumption was that Pydantic does not touch the private attributes in any sophisticated way (like deepcopying the defaults). Although this behavior of Fields is mentioned in the docs, it was unclear it extends to private attributes as well.
I tend to agree that adopting dataclasses-like behavior (that forces the developer to use the default_factory it they want copies of mutable objects as defaults) would be less astonishing in Python. It's a drastic breaking change for Pydantic though.
Let's at least leave this discussion open and see if more people come.
And, of course, thanks for your work! I love Pydantic and want it to be even greater than it is!

A clean workaround for the "sentinel object" use case with current Pydantic versions is to let the sentinel be immutable:
_SENTINEL = "long-and-unique-string"

This changes the Pydantic behavior to the expected one.


PT-1693: Handles edge case for multi-line comment followed by space and /

This fixes the ticket - https://jira.percona.com/browse/PT-1693

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@appigatla  Thanks for the report and for delivering the Fix!


Typescript: Generate enums of all named Queries and Mutations

Referencing named queries using string literals can be cumbersome/bug-prone. Having an auto-generated enum containing all named queries would help with that.
Apollo example, but might be applicable more widely:
mutation MyMutation {
  # ...
}
query MyQuery {
  # ...
}

myMutationGQL
  .mutate(
    { id, patch },
    { refetchQueries: ['MyQuery'] } // <---- 'MyQuery' literal
  );

An auto-generated enum would ease this a little:
// graphql.ts
export enum NamedQueries {
  MyQuery = 'MyQuery'
}

// usage
import { NamedQueries } from './graphql.ts'

myMutationGQL
  .mutate(
    { id, patch },
    { refetchQueries: [NamedQueries.MyQuery] } // <---- No more typos + auto-completion
  );

Implemented this in: https://github.com/dotansimha/graphql-code-generator/pull/4039

Available in v1.14.0.

Thanks! :)


End-to-end Inference support for Transformers4Rec Tensorflow Models

This PR is created to enable end-to-end inference support with Triton for Transformers4Rec Tensorflow Models. Currently we make the  assumption that neither inputs nor output columns are nested lists. This is not supported in this PR.
This PR is using padding in the ListSlice op created in this PR: https://github.com/NVIDIA-Merlin/NVTabular/pull/1262

@benfred this PR needs updated ListSlice op PR https://github.com/NVIDIA-Merlin/NVTabular/pull/1262 to be merged. FYI.

rerun tests

rerun tests


Most recent commit removed all files?

Hey, I was hoping to evaluate this after reading about it in the news, the most recent commit removed all the files,  do I just step back to the commit with files/will they be the correct version?

Thank you for your interest! We have explained the reason in our readme.  Please refer to https://github.com/mims-harvard/UniTS/issues/1 for using it.

The code is back online now! Thank you.


🐞 fix:  add podName for ci-pod

jenkins k8s pipeline yaml add the defined of podname
Which changes (Bug/Feature):
Fixes #194
Special notes for reviewers:
none

Codecov Report

Merging #196 (7a9a8f8) into master (91a8f4b) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master     #196   +/-   ##
=======================================
  Coverage   15.31%   15.31%
=======================================
  Files          11       11
  Lines         640      640
=======================================
  Hits           98       98
  Misses        531      531
  Partials       11       11


Post hotswap fixes

Fixes #304
Fixes #305
Fixes #284

Current coverage is 82.49%

Merging #308 into develop will decrease coverage by -0.11% as of d23cba3

@@            develop    #308   diff @@
=======================================
  Files            64      64
  Stmts          3306    3307     +1
  Branches        456     460     +4
  Methods
=======================================
- Hit            2731    2728     -3
  Partial           0       0
- Missed          575     579     +4

Review entire Coverage Diff as of d23cba3

Powered by Codecov. Updated on successful CI builds.


graph/internal/{d6,g6}: add support for d6- and g6-encoded graphs

Please take a look.
Note that the copyright date is last year because that's when it was written.

/cc @trelore


Implementing jquery events

This is my take on implementing the feature discussed in #32. jQuery has actually made it dead easy to create custom events which was nice to explore. I've added two events that you can now use in the normal jQuery way, flip:done, which is triggered on the completion of a flip and flip:change which is triggered upon the completion of setting/changing a property. I've opted not to provide an event for the completion of an initial setup because thats an event that should only ever take place once and therefore the already built in callback should be sufficient. I've chosen these slightly more unique event names just in case theres ever another event out there name flip. Implementation wise i basically just had to trigger the events right before the normal callback is called.
Any comments/concerns?

@JemarJones It looks good to me. I just updated README.md because there were still some paths there referencing the old version.


⚠ Spryr has degraded performance

In 4796746, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5367 ms

Resolved: Spryr performance has improved in 07692f7 after 24 minutes.


Adding Dependabot updates

PR into Azure/mlops-v2: Adding Dependabot
Checklist
I have:

[x] read and followed the contributing guidelines

Changes

Adding Dependabot yaml to maintain the pip packages.

fixes #

@setuc should we just close this as it's probably outdated?


WFLY-14325 Replace 'Batch Applications for the Java Platform|JBatch, …

Issue: https://issues.redhat.com/browse/WFLY-14325
(Replace "Batch Applications for the Java Platform|JBatch, JavaMail API, JavaBeans Activation Framework|JAF, Bean Validation|JBV, Expression Language|JEL" references in java doc with corresponding Jakarta EE ones)
Link with: https://github.com/wildfly/wildfly/pull/13808

CC- @asoldano @scottmarlow

IMO, replacing Bean Validation with Jakarta Bean Validation looks good to me.  I asked whether we should also remove SPEC version references and JSR-NNN references as the SPEC versions change often and the JSR-NNN references could be kept but are referring to Java EE Java Specification Requests which don't have a clear Jakarta EE replacement.

@yersan @scottmarlow thanks for your review changed it accordingly :)

Thanks! @yersan done :)

A couple of files reference the old name of Jakarta Batch. We may want to replace it as well.
[[Batch_JSR-352]]
./_admin-guide/subsystem-configuration/Batch_JSR-352.adoc
include::subsystem-configuration/Batch_JSR-352.adoc[]
./_admin-guide/Subsystem_configuration.adoc

Hello @RanabirChakraborty , following the criteria taken in the other PR related, it seems we should not upgrade the license headers after modifying these java docs and logger messages. Would you mind rolling back them to the original? thanks!

@chengfang @yersan did the changes :)