Changes to run with 0.1-alpha

Using the ent-starter template today fails when running npm run codegen with a TS error.
Honestly I didn't look into it much (and can do if useful), but instead upgraded everything to the 0.1-alpha version. After this problem the issue goes away.
Given the docs are using the 0.1 format already I figure this project should just be updated to match.
I also added a .nvmrc file for Node 17
Test Plan:
Created a new repo using my fork as a template, went through the README and confirmed I could spin up a GQL server correctly.

thanks for doing this. has been on my list but i somehow hadn't done it for some reason
i even have https://github.com/lolopinto/ent-starter/tree/v0.1 which has some of this but not all of it

OK, hopefully all fixed. I created a new repo from my copy of the template and checked I could run through the README with pg and spin up the GQL server without issue too.

thanks!


[performance] removed extra texture copy

Purpose of this PR

Testing web player. Had sync problem and noticed performance was sub-par, and probably causing desync.
Ran profiler over player.
Found single function taking ~98% of frame time was an extra texture copy.
Tested offline players in this repo that are ~identical code but exclude the extra texture copy. Both worked flawlessly on my PC.

Changes made in this PR

Removed extra texture copy.
Should restore playback sync on all reasonably fast platforms.

Testing Summary
Provide more detail here as required.

[ ] Explained how reviewers build, deploy, and test your code and what should they look for that would indicate a bug or regression.
[x] Tested locally. Which platforms? OS/hardware/devices/compilers used.
[ ] Stated supported platforms have you not tested on, that you need help with?
[x] Named specific tools have you ran over the code: e.g. which { compilers, debuggers, fuzzers, profilers, sanitisers, linters, other tools }.
[ ] Ran any unit tests that cover this code.
[ ] Explained inputs used to test for bugs. e.g. existing known working data, large files, empty files, etc.

Risk Introduced and any Breaking Changes
Provide more detail here as required.

[ ] This PR introduces breaking changes (API or ABI). Instructions are provided for existing users to update their projects.
[ ] This PR introduces new dependencies. You have provided links and licences in this section. This is extremely important!.
[ ] New dependencies: Explained how any new dependencies are linked and built againt - .dll, inline code etc.?
[ ] Gaps in testing: Is any code not covered by tests?
[ ] Gaps in testing: Are you unable to test on some platform? Or is some input data not available to you for testing?
[ ] Analysed any other potential risks here.

Pre-Merge Checklist

If you have a problem with the review process (e.g. it's taking too long, or the reviewers forgot) get in touch with the Team Lead of the project!

[ ] Before making your PR, refresh your branch with a merge from its parent in case of conflicting changes since you started your branch.
[ ] This PR description is written clearly so that reviewers can understand the why/what/how of the work done.
[ ] Reviewed your own PR and checked your changed code.
[ ] Invited a range of good reviewers.
[ ] Wait for a PR to be properly reviewed. Responded to all questions, and made any required changes.
[ ] Received one other reviewer's approval. Ideally wait for 2+ approvals, especially if you didn't get a thorough reivew on the first approval.
[ ] If a reviewer asks a question, even if you have another approval, got the approval of the other reviewers as well before merging.
[ ] Made sure existing reviewers approved any changes to the PR.
[ ] Resolved any merge conflicts after making the PR.
[ ] CI/CD builds are not reporting any errors.

You need to run npm version 1.0.7 and commit your changes in order to update package.json and package-lock.json since the current version (1.0.6) is already published (the registry fails to avoid overrides of published packages)


[Only War (Enhanced)] hotfix

Changes / Comments
Fixes an error where leaving the "spray" button unchecked would add a "0" to the end of all damage rolls, creating insane damage values.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Added in a Firefox Compatibility Mode, copied from the original Halo Mythic 3dot5 sheet


Changes to config file location

Change config file directory.  Default directory changed from within site-packages to /.config/brainglobe .   User can override with env var BRAINGLOBE_CONFIG_DIR.
Add config dir parameter to BrainGlobeAtlas
Fixed bug in config.write_config_value where config file was written to default location even if custom path passed in.
This change allows the caller to override the config directory in code, which takes precedence over the default location and the BRAINGLOBE_CONFIG_DIR variables.  Clients can use this to set the config dir via their command-line flags.

Thanks @chrisroat! This looks fine to me. If you could just ensure the tests pass - I think you'll just need to run black:
pip install -e .[dev]
black ./

Happy to merge when you are @vigji, @FedeClaudi.

Added commit to blacken.

Looks good to me! Definitively better this way. Thanks @chrisroat, and sorry for the delayed review! Good to merge for me

flaked

Happy to merge once @FedeClaudi has OK'd it.

looks good to me


handler is not a function

When app starts or when i switch networks .i.e from wifi to mobile network or vice versa, following error comes:

You didn't send your code, so it's hard to tell what exactly is going on. In the future, please always use the template provided and don't just delete it.
From a guess though, it looks like you are trying to send an event name, which is an API format which has been deprecated for a year now. Take a look at the README again for how to use the library.


Native Notebooks, Pylance - Cells variables show as "not defined" until cell is "activated"

When opening an existing notebook, pylance seems to fail to recognize all cell variables, and marks them as "not defined" until the cell is switched to markdown then back to code.
Additionally, (maybe related maybe not), the cell sometimes can't be run until its converted to/from markdown/code. In this case I was able to run the cell even with the syntax errors.
I have been using native notebooks for 3+ months, and this issue has always happened with a large number of notebooks I've opened.
I have some startup errors in my logs, but not sure what they mean or if they're related.
Environment data

VS Code version:  1.53.0-insider
Jupyter Extension version: v2020.12.414227025
Python Extension version: v2021.2.531887795-dev
OS (Windows | Mac | Linux distro) and version: Darwin x64 20.3.0
Python and/or Anaconda version: 3.7.9
Type of virtual environment used: conda
Jupyter server running: Local

Expected behaviour
Cell variables are properly identified by pylance WITHOUT having to convert cell to markdown then back to code.
Actual behaviour
Cell variables are highlighted as "not defined" until cell is converted to markdown then back to code.
Steps to reproduce:

Load existing notebook
Variables are all highlighted "not defined"

https://user-images.githubusercontent.com/29611875/106940980-14544180-66d7-11eb-80ad-33304ee40a0a.mp4
Logs

User belongs to experiment group 'NativeNotebookEditor'
Error 2021-02-04 10:36:00: Jupyter Kernel Spec not found for a local connection
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-02-04 10:36:24: Jupyter Kernel Spec not found for a local connection
> /opt/miniconda3/envs/553/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-02-04 10:36:28: Kernel died [r [Error]: [IPKernelApp] WARNING | Unknown error in handling startup files:

	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:758167)
	at t.__tryOrUnsub (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:5463)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:4632)
	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3736)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3407)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:8976)
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:9:107791
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:421842
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:422060
	at Immediate._onImmediate (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:423625)
	at processImmediate (internal/timers.js:456:21)]
Started kernel Python 3.7.9 64-bit ('553': conda)
> /opt/miniconda3/envs/553/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-02-04 10:36:29: Kernel died [r [Error]: [IPKernelApp] WARNING | Unknown error in handling startup files:

	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:758167)
	at t.__tryOrUnsub (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:5463)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:4632)
	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3736)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3407)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:8976)
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:9:107791
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:421842
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:422060
	at Immediate._onImmediate (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:423625)
	at processImmediate (internal/timers.js:456:21)]

Thanks for filing this issue.

Please could you provide a copy of this notebook.
Its possible we have addressed this issue, please could you try the following & let me know if it works for you (i.e. if problem has been resolved in our latest dev build).

Please install the following build of the Jupyter extension (this is our latest development version)

https://github.com/microsoft/vscode-jupyter/suites/1970139674/artifacts/39137516

Please install the following build of the Python extension (this is our latest development version)

Please install the following build of the Jupyter extension (this is out latest development version)

Note: You need to install both, as the Language Capabilities (intellisense, etc) are provided by Pylance & Python extension.

@DonJayamanne thank you! The dev version has in fact fixed that issue.
My real issue I guess was that I couldn't update to the insiders version from within vscode, but that download link worked.
This was my error in the output > jupyter console:

Error 2021-02-04 11:10:46: Handling channel failed, Class name = p, completed in 879ms, has a falsy return value, Arg 1: "daily", Arg 2: true, Return Value: undefined [Error: Failed with status 404, The specified resource does not exist., Uri https://pvsc.blob.core.windows.net/extension-builds-jupyter/ms-toolsai-jupyter-insiders.vsix

Hoping now that I've got the dev version installed it will continue to update correctly either daily/weekly.
Logs

User belongs to experiment group 'NativeNotebookEditor'
Error 2021-02-04 10:36:00: Jupyter Kernel Spec not found for a local connection
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-02-04 10:36:24: Jupyter Kernel Spec not found for a local connection
> /opt/miniconda3/envs/553/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-02-04 10:36:28: Kernel died [r [Error]: [IPKernelApp] WARNING | Unknown error in handling startup files:

	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:758167)
	at t.__tryOrUnsub (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:5463)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:4632)
	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3736)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3407)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:8976)
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:9:107791
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:421842
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:422060
	at Immediate._onImmediate (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:423625)
	at processImmediate (internal/timers.js:456:21)]
Started kernel Python 3.7.9 64-bit ('553': conda)
> /opt/miniconda3/envs/553/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-02-04 10:36:29: Kernel died [r [Error]: [IPKernelApp] WARNING | Unknown error in handling startup files:

	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:758167)
	at t.__tryOrUnsub (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:5463)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:4632)
	at t._next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3736)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:3407)
	at t.next (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:8976)
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:9:107791
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:421842
	at /Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:422060
	at Immediate._onImmediate (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:423625)
	at processImmediate (internal/timers.js:456:21)]
Starting download for Insiders build.
Downloading https://pvsc.blob.core.windows.net/extension-builds-jupyter/ms-toolsai-jupyter-insiders.vsix...
Error 2021-02-04 11:10:46: Downloading insiders build of extension failed, Class name = f, completed in 859ms, has a falsy return value, , Return Value: undefined [Error: Failed with status 404, The specified resource does not exist., Uri https://pvsc.blob.core.windows.net/extension-builds-jupyter/ms-toolsai-jupyter-insiders.vsix
	at H.<anonymous> (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:720551)
	at H.emit (events.js:327:22)
	at H.onRequestResponse (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/node_modules/request.js:189:16870)
	at ClientRequest.emit (events.js:327:22)
	at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27)
	at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
	at TLSSocket.socketOnData (_http_client.js:469:22)
	at TLSSocket.emit (events.js:315:20)
	at addChunk (_stream_readable.js:295:12)
	at readableAddChunk (_stream_readable.js:271:9)
	at TLSSocket.Readable.push (_stream_readable.js:212:10)
	at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)]
Error 2021-02-04 11:10:46: Installing insiders build of extension failed, Class name = f, completed in 864ms, has a falsy return value, , Return Value: undefined [Error: Failed with status 404, The specified resource does not exist., Uri https://pvsc.blob.core.windows.net/extension-builds-jupyter/ms-toolsai-jupyter-insiders.vsix
	at H.<anonymous> (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:720551)
	at H.emit (events.js:327:22)
	at H.onRequestResponse (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/node_modules/request.js:189:16870)
	at ClientRequest.emit (events.js:327:22)
	at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27)
	at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
	at TLSSocket.socketOnData (_http_client.js:469:22)
	at TLSSocket.emit (events.js:315:20)
	at addChunk (_stream_readable.js:295:12)
	at readableAddChunk (_stream_readable.js:271:9)
	at TLSSocket.Readable.push (_stream_readable.js:212:10)
	at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)]
Error 2021-02-04 11:10:46: Handling channel failed, Class name = p, completed in 879ms, has a falsy return value, Arg 1: "daily", Arg 2: true, Return Value: undefined [Error: Failed with status 404, The specified resource does not exist., Uri https://pvsc.blob.core.windows.net/extension-builds-jupyter/ms-toolsai-jupyter-insiders.vsix
	at H.<anonymous> (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:720551)
	at H.emit (events.js:327:22)
	at H.onRequestResponse (/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/node_modules/request.js:189:16870)
	at ClientRequest.emit (events.js:327:22)
	at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27)
	at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
	at TLSSocket.socketOnData (_http_client.js:469:22)
	at TLSSocket.emit (events.js:315:20)
	at addChunk (_stream_readable.js:295:12)
	at readableAddChunk (_stream_readable.js:271:9)
	at TLSSocket.Readable.push (_stream_readable.js:212:10)
	at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)]

Thank you very much for confirming the fix, I'll close this issue for now.

Hoping now that I've got the dev version installed it will continue to update correctly either daily/weekly.

Unfortunately the daily/weekly development (insiders build) functionality doesn't work just yet. We're having a few technical issues in that space & its being tracked in a separate issue.
However when we do release a new version (some time in the next week or so), VSCode will update your copy to the latest version .
Closing this for now. Again, thanks for confirming the fix.


fix hibernate#1001

fixes #1001.
DefaultVertxInstance creates Vertx instance only if current vertx is null when start() invokes, and stop vertx only if it created by start().

Thanks!
I've created a new PR that contains your commits squashed together and add a new one to check that the tests still works when we don't override the VertxInstance service anymore.


Modify entryPoint to accept JAVA_OPTS environment variable for Docker apps

As a developer, I'd like to modify <entryPoint> to accept JAVA_OPTS, so the set of properties are passed over to the generated Docker apps at the build time.

Should be against https://github.com/spring-cloud/spring-cloud-stream-app-maven-plugin


ReportViewer no reponse to list more than 40 column by group?

ReportViewer no reponse to list more than 40 columns by group on IIS 8, but it's work on IIS 8 Express.
Anyone have a idea?

I think it might be related to the amount of memory on your server. Try to add more memory and check it.


Restore function doesn't import accounts properly

Hello,
I input seed and the screen shows all my accounts and funds correctly but when I click on restore then only 'main account' shows with 0 balance and I cannot access my tokens.

I can retrieve by inputting 'add account' and putting names of the accounts 1 by 1.


chore: copy d.ts files during build

Summary
Fixes #8085

Test plan
I've verified the files are in the build dir after running scripts/buildTs.js
I've verified that VS Code is able to follow the link in the built file and that the files are included by yarn pack

Wait, this won't work as tsc changes the path to be /// <reference path="../src/istanbul-lib-coverage.d.ts" />
I think we need to have those .d.ts files in the root of the modules.

It'll be good to ditch them entirely

@SimenB Thanks! Would it be possible to get a release with this soon so TS users can use jest 24.3 without running into compilation errors?

Yeah, there'll probably be a release on monday


"ImportError: cannot import name tf_logging" on launch

Have SyntaxNet installed and the demo script seems to work correctly. When I try to run this server (python server.py), I get this:
~/McParseface/models/syntaxnet/parsey-mcparseface-server(branch:master*) » python server.py
 * Running on http://<IP_ADDRESS>:8000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger pin code: 290-365-523
Traceback (most recent call last):
  File "/Users/parkererway/McParseface/models/syntaxnet/bazel-bin/syntaxnet/parser_eval.runfiles/syntaxnet/parser_eval.py", line 26, in <module>
    from tensorflow.python.platform import tf_logging as logging
ImportError: cannot import name tf_logging
Traceback (most recent call last):
  File "/Users/parkererway/McParseface/models/syntaxnet/bazel-bin/syntaxnet/parser_eval.runfiles/syntaxnet/parser_eval.py", line 26, in <module>
    from tensorflow.python.platform import tf_logging as logging
ImportError: cannot import name tf_logging
Traceback (most recent call last):
  File "/Users/parkererway/McParseface/models/syntaxnet/bazel-bin/syntaxnet/parser_eval.runfiles/syntaxnet/parser_eval.py", line 26, in <module>
    from tensorflow.python.platform import tf_logging as logging
ImportError: cannot import name tf_logging
Traceback (most recent call last):
  File "/Users/parkererway/McParseface/models/syntaxnet/bazel-bin/syntaxnet/parser_eval.runfiles/syntaxnet/parser_eval.py", line 26, in <module>
    from tensorflow.python.platform import tf_logging as logging
ImportError: cannot import name tf_logging

Any ideas?

Seems like something may have broken upstream. See:
https://github.com/JoshData/models/commit/777e738067692db16dffb01d6d22c136dbacfcd7
Also note that this repo must be used with my fork ^.

@JoshData  Using your repo fixed that problem. The server seems to run fine, and appears to be starting the correct processes, but it hangs when sending it a request. (like http://localhost:8000/?q=this%20is%20a%20test%20sentence)
I tested manually running the generated command:
$ bazel-bin/syntaxnet/parser_eval --input=stdin --output=stdout-conll --hidden_layer_sizes=64 --arg_prefix=brain_tagger --graph_builder=structured --task_context=syntaxnet/models/parsey_mcparseface/context.pbtxt --model_path=syntaxnet/models/parsey_mcparseface/tagger-params --slim_model --batch_size=1024 --alsologtostderr

I typed in a test sentence when it seemed to have stopped creating new message, then hit cntrl-D. The process stopped and the parsing came out, so I'm not sure why it's not working in the server. Thoughts?

 I was cloning your repo, but not the online-parsing branch. Works perfectly now, many thanks!

Fantastic thanks for letting me know it worked!
 I was cloning your
repo, but not the online-parsing branch. Works perfectly now, many
thanks!

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/JoshData/parsey-mcparseface-server/issues/1#issuecomment-224362093

--
Josh Tauberer (@JoshData)
// Sent from my phone.

@JoshData I follow the instructions and my server.py stops at
I syntaxnet/term_frequency_map.cc:101] Loaded 64036 terms from syntaxnet/models/parsey_mcparseface/word-map.
I copy your repo and the two files are changed on the online-parsing repo was updated.
why Stops? can you help me with this, please?


Add Objective-C Example

It should be full working example. So can you add rest of the code for objective C?
and also squash your commits to one, once done?


"Python was not found; run without arguments to install from the Microsoft Store..." appeared in Python project.

Describe the bug

Python from VS.
Steps to Reproduce

Create a Python Application.

Additional context and screenshots

Logs

Output for General in the Output panel

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
AssignProcessToJobObject: (87) The parameter is incorrect.

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

Which Python environment is displayed as active in Solution Explorer?

Yeah I'm curious if python was actually installed at all. The email says the Python that came with VS was used, which should be Python 3.9 64-bit, but this error is showing that maybe the Python 3.9 checkbox wasn't checked when the workload was installed?

Python installed from VS.

I can repro this in today's build.

Logs

Output for General in the Output panel

Python was not found but can be installed from the Microsoft Store: ms-windows-store://pdp/?productid=9NJ46SX7X90PPython was not found but can be installed from the Microsoft Store: ms-windows-store://pdp/?productid=9NJ46SX7X90PPython was not found but can be installed from the Microsoft Store: ms-windows-store://pdp/?productid=9NJ46SX7X90PAssignProcessToJobObject: (87) The parameter is incorrect.

I think this is an issue with the VS installer not cleaning up registry keys properly.
Can you verify that the following folder exists on your machine? C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64
This is where VS installs python.
If python isn't there, there might be stale registry keys that VS uses to check for existing installations. To fix the registry, do the following:

Run Start -> regedit
Delete Computer\HKEY_CURRENT_USER\Software\Python (this will mess up any other python installs you have)
Delete Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Python (this will mess up any other python installs you have)
Run VS again and modify your installation. Python 3.9 should now be unchecked. Check it and click on Modify and it will be installed.
Now verify that the following registry entry exists: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.9
Verify that the installed python is actually on disk at C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64

I did these steps and I was able to run python applications using the python that comes with VS.

@AdamYoblick I didn't do anything else, python is here.

Computer\HKEY_CURRENT_USER\Software\Python does not exist.

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.9 It exists.

I'm not able to repro this. I uninstalled all other pythons I had, made sure the registry entries were deleted, then installed Python 3.9 from the Visual Studio installer. When I run on the latest int preview it works just fine.

Actually I take that back, I am able to repro this when creating a new project. Will look into it.

This is a dupe of https://github.com/microsoft/PTVS/issues/7050, going to close this one out as a dupe.

[Solved] Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases


Make consistent interface for adding JSON records

We must support identical CLI interface for meta/spec add command, e.g.
foxden meta add file.json --schema=schame
foxden spec add file.json

The schema option should be optional if file.json does not provide it. And CLI should read file.json to identify if schema is within file or given as option and properly provide error if it is not present.

Fixed with this commit 6eebc20..a4fbbdc


Download Your Form Responses

Issue: 82
Download Your Form Responses page added.

@Manas2403 agar baaki sab thik hai toh isko merge karde me mere bg svg ko join karne ka fix dalduga

@GammaMicrowave kar diya mene (shayd)


Quote shell variables (shellcheck SC2086)

This fixes shellcheck diagnostic SC2086: Double quote to prevent globbing and word splitting.
Three additional shell scripts in the hw/vendor directory were not included:

hw/vendor/pulp_riscv_dbg/ci/get-openocd.sh
hw/vendor/pulp_riscv_dbg/ci/install-verilator.sh
hw/vendor/pulp_riscv_dbg/tb/jtag_dmi/run_vsim_xilinx.sh

Note: these are the automatic transformations applied by shellcheck. If people agree with the overall PR, we can consider cleaning up things like "$LR_SYNTH_OUT_DIR"/generated/"${module}".v into "${LR_SYNTH_OUT_DIR}/generated/${module}.v".

If people agree with the overall PR, we can consider cleaning up things like "$LR_SYNTH_OUT_DIR"/generated/"${module}".v into "${LR_SYNTH_OUT_DIR}/generated/${module}.v".

Looks like this is covered by SC2250. It's an optional check, but I'm generally supportive of enabling it.

Out of curiosity, would you mind explaining how you got Shellcheck to auto-fix the files in the commit message? Perhaps by piping shellcheck -f diff into apply? I'd like to steal this trick in the future :)

Yes, I used the diff output format. It becomes a bit weird when you have to list all of the files as tool arguments and expand symlinks, etc, but it's possible to eventually get a patch that you apply that fixes things automatically. I'll post the complete workflow later. But clearly a lot of manual review is required, as not all of the "fixes" were actually desirable (even this draft PR is going to require additional tweaking). Somewhat related to that, it seems there's no good way to ask shellcheck to not complain about certain lines or to transform them to avoid the diagnostic (like when GCC suggests parenthesis to avoid a warning). If we had that we could enable tighter checks and avoid having to re-triage the same files/lines diagnostics again.

If people agree with the overall PR, we can consider cleaning up things like "$LR_SYNTH_OUT_DIR"/generated/"${module}".v into "${LR_SYNTH_OUT_DIR}/generated/${module}.v".

Looks like this is covered by SC2250. It's an optional check, but I'm generally supportive of enabling it.

Thanks! To make things easier to review and to reduce the change of introducing bugs I was "fixing" one type of diagnostic at a time but it looks like that one would combine well with this one (SC2086).

But clearly a lot of manual review is required, as not all of the "fixes" were actually desirable (even this draft PR is going to require additional tweaking).

Ah, thanks for clarifying. No objections to describing the process later — the diff stands on its own.

Thanks! To make things easier to review and to reduce the change of introducing bugs I was "fixing" one type of diagnostic at a time but it looks like that one would combine well with this one (SC2086).

Don't feel obligated to expand this PR to include SC2250. It might bring its own difficulties, like deciding whether to add a .shellcheckrc file to the repo root vs. just updating ci/scripts/run-shellcheck.sh.


display tool version in the footer or in a separate about page

e.g. z3 4.10.2

related to https://github.com/microsoft/z3guide/issues/91


The video buffers about 40-60 seconds at the end

Hey,
I currently have the problem that at the end (40-120 seconds) every episode or movie begins to buffer it. And so e.g. important contents of the episode or film get lost.
My transcoder buffer is 60 seconds.
The transcoding from x264 is set to very fast.
Hardware acceleration is off.
Does anyone have a hint what it is? I already increased the transcoder buffer to 120 but the same result.

We don't have any issues on our side, please, share us your configurations, type of player and transcoder logs 😉
Do you have the same issue with original Plex  Media Server ?

I have a similar issue, Approximately 1% of the end of the video does not play. I find this happens mostly when using "Direct play" rather than transcoding. Predominantly using Google Chrome and the web app https://app.plex.tv/desktop , playing MP4 files with H264 AAC.

We don't have any issues on our side, please, share us your configurations, type of player and transcoder logs 😉
Do you have the same issue with original Plex Media Server ?

What do you need about?
The hardware of the transcoder:
CPU: AMD Ryzen 7 1700X
RAM: 64 GB DDR4 RAM
Hard disk: 2 x 500 GB SSD
Connection: 1 GBit/s
The hardware of the Plex Server:
CPU: Intel i7-6700
RAM: 64 GB DDR4 RAM
Hard disk: 2 x 512 GB NVMe SSD
Connection: 1 GBit/s
Use Rclone with google cloud.
rclone settings:
Buffer-Size: 16M
Drive-Chunk-Size: 64M
Dir-Cache-Time: 2m
VFS-Read-Chunk-Size: 64M
VFS-Read-Chunk-Size-Limit: 2048M
VFS-Cache-Mode: off
VFS-Cache-Max-Age: 1h
VFS-Cache-Max-Size: off
Log-Level: INFO
User Agent: rclone/1.48

and i use "CUSTOM_DOWNLOAD_FORWARD" on LoadBalancer.

I've got the same issue, it seems to effect all of my users (chrome, firefox, Roku, appleTV, etc). I'll try to get some detailed logs soon.

Can you make a test:
Start an episode on the web version and look what happen to video/audio chunks at the end of the video ?
Can you give us the Plex Transcoder arguments (using the debug mode) ?
It it's happen only with specific codec, can you provide us example files ?

Maybe it's because we use ffmpeg HTTP callback to detect if the file is available (and plex make read dir every 200ms), maybe last chunks messages aren't sent ?
@drouarb

Can you try with the 2.3.8 release?

Can you try with the 2.3.8 release?

I'll test it and give you a feedback in a few days.

Can you try with the 2.3.8 release?

So, the problem at the end wasn't really fixed, now we have another problem that just jumps backwards a few seconds when playing, or just forwards.

What is your plex version?
We found issues on HLS transcoded streams but nothing on DASH support at the moment, it looks strange 🙄
It's a normal behavior to receive a 404 and retry, original plex have the same behavior.
Note: I think HLS issues as related to 404/retry support, I'll talk with @drouarb to try a fix soon

What is your plex version?
We found issues on HLS transcoded streams but nothing on DASH support at the moment, it looks strange 🙄
It's a normal behavior to receive a 404 and retry, original plex have the same behavior.
Note: I think HLS issues as related to 404/retry support, I'll talk with @drouarb to try a fix soon

I always use the default versions in config.js. After patching back to v2.3.8 it works again without 404 fetch errors. (In my test I had not seen any more)

The transcoder was reinstalled ?
If you have inconsistencies between transcoder plex build and codecs version some issues could happen

No, I already used the right versions. When I patched back, I installed the right versions, of course.

Can you try -again- with Plex <IP_ADDRESS>4-f2cae8d6b and the 2.3.10 release? 😉

Can you try -again- with Plex <IP_ADDRESS>4-f2cae8d6b and the 2.3.10 release? 😉

No changes... 😕 the forwards and backwards jumps in the middle on movies/episodes are still here. I can give you access to my plex for tests? (nickname please via dm).
(The jumps are completely random, I don't know why.)

Add me: Maxou44
Can you record logs ?

Add me: Maxou44
Can you record logs ?

Done, yeah i save the screen logs to a file.

I'll test it :)

The jumps are just completely random. Sometimes it's quite early, sometimes it takes 10 minutes. With the version (v2.3.8) I didn't have these problems.

I don't have any issues with Plex Web on you server 🤔
Try to restart your app?
Any idea to reproduce the bug? Can you make a video where we could see the bug and network requests and provide logs for the same stream?
If it's a jump issue it looks like a manifest parsing issue but I can't reproduce it 🙄
MPD manifest:
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="urn:mpeg:dash:schema:mpd:2011"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
	profiles="urn:mpeg:dash:profile:isoff-live:2011"
	type="static"
	mediaPresentationDuration="PT1H2M18.4641S"
	maxSegmentDuration="PT16S"
	minBufferTime="PT10S">
	<Period start="PT0S" id="0" duration="PT1H2M18.4641S">
		<AdaptationSet segmentAlignment="true">
			<SegmentTemplate timescale="1" duration="8" initialization="dash/tvcdyrj627rzkx7x6q2p1ut6/$RepresentationID$/initial.mp4" media="dash/tvcdyrj627rzkx7x6q2p1ut6/$RepresentationID$/$Number$.m4s" startNumber="0">
			</SegmentTemplate>
			<Representation id="0" mimeType="video/mp4" codecs="avc1.42c00d" bandwidth="1724000" width="720" height="406">
			</Representation>
		</AdaptationSet>
		<AdaptationSet segmentAlignment="true">
			<SegmentTemplate timescale="1" duration="8" initialization="dash/tvcdyrj627rzkx7x6q2p1ut6/$RepresentationID$/initial.mp4" media="dash/tvcdyrj627rzkx7x6q2p1ut6/$RepresentationID$/$Number$.m4s" startNumber="0">
			</SegmentTemplate>
			<Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="162000" audioSamplingRate="48000">
				<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
			</Representation>
		</AdaptationSet>
	</Period>
</MPD>

  | {"id":"3zpssegcpwk1z5sc27","args":["-codec:0","h264","-codec:2","eac3_eae","-eae_prefix:2","tvcdyrj627rzkx7x6q2p1ut6_","-analyzeduration","20000000","-probesize","20000000","-i","/mnt/unionfs/Eigene Dokus/The Grand Tour (2016)/Season 3/S03E09-Aston, Astronauts and Angelina’s Children/The Grand Tour (2016) - S03E09 - Aston, Astronauts and Angelina’s Children.mkv","-filter_complex","[0:0]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p\|nv12[1]","-filter_complex","[0:2] aresample=async=1:ocl='stereo':osr=48000[2]","-map","[1]","-codec:0","libx264","-crf:0","21","-maxrate:0","1724k","-bufsize:0","3448k","-r:0","25","-preset:0","veryfast","-x264opts:0","subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none","-force_key_frames:0","expr:gte(t,0+n_forced*8)","-map","[2]","-metadata:s:1","language=eng","-codec:1","aac","-b:1","162k","-f","dash","-seg_duration","8","-init_seg_name","init-stream$RepresentationID$.m4s","-media_seg_name","chunk-stream$RepresentationID$-$Number%05d$.m4s","-window_size","5","-delete_removed","false","-skip_to_segment","1","-time_delta","0.0625","-manifest_name","{INTERNAL_TRANSCODER}video/:/transcode/session/tvcdyrj627rzkx7x6q2p1ut6/455a8c55-e8b4-48ad-8364-d2d6763634d1/manifest","-avoid_negative_ts","disabled","-map_metadata","-1","-map_chapters","-1","dash","-start_at_zero","-copyts","-vsync","cfr","-y","-nostats","-loglevel","quiet","-loglevel_plex","error","-progressurl","{INTERNAL_TRANSCODER}video/:/transcode/session/tvcdyrj627rzkx7x6q2p1ut6/455a8c55-e8b4-48ad-8364-d2d6763634d1/progress"],"env":{"EAE_ROOT":"/tmp/pms-f8016b2e-5e21-45e9-94d6-09388b7a3635/EasyAudioEncoder","FFMPEG_EXTERNAL_LIBS":"/var/lib/plexmediaserver/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/20fed83-2561-linux-x86_64/","HOME":"/home/plex","INVOCATION_ID":"ff54b843d25249c9b9add54ef8caead3","JOURNAL_STREAM":"9:25437","LANG":"en_US.UTF-8","LD_LIBRARY_PATH":"/usr/lib/plexmediaserver/lib","LIBVA_DRIVERS_PATH":"/usr/lib/plexmediaserver/lib/dri","LOGNAME":"plex","PATH":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/var/lib/plexmediaserver/Library/Application Support","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","PLEX_MEDIA_SERVER_INFO_DEVICE":"PC","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"18.04.3 LTS (Bionic Beaver)","PLEX_MEDIA_SERVER_INFO_VENDOR":"Ubuntu","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","PLEX_MEDIA_SERVER_TMPDIR":"/tmp","PWD":"/","SHELL":"/bin/bash","USER":"plex","XDG_CACHE_HOME":"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache","XDG_DATA_HOME":"/usr/lib/plexmediaserver/Resources","X_PLEX_TOKEN":"xxxxxxxxxx"},"session":"tvcdyrj627rzkx7x6q2p1ut6","sessionFull":"tvcdyrj627rzkx7x6q2p1ut6/455a8c55-e8b4-48ad-8364-d2d6763634d1","optimize":{}}

Yes, I can make a video if you like.

I also checked and I don't have any issues at the end of streams 🤔

Strange bug but not related:

<meta charset="utf-8">
<title>Error</title>

Error: ENOENT: no such file or directory, stat '/home/transcoder/src/cache/pqox6knmbrjntzco6eg8nnb9/chunk-stream0-00523.m4s'

How can I send you the link of the logs and the video? (at the end of the video it jumps 4-6 seconds)

Remove plex tokens / url in logs and post it here :)
If we can't see personal info, you can psot video here too :)

Remove plex tokens / url in logs and post it here :)
If we can't see personal info, you can psot video here too :)

i uploaded a .zip here: http://uploaded.net/file/hakkbwbd

Thanks :)
Can you provide me the output of the manifest.mpd resuest in your devtools ?

Thanks :)
Can you provide me the output of the manifest.mpd request in your devtools ?

Where can I find these?

In the network page in your browser it's one of the first request when you start a video
Select the last one and you'll have something like that:
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="urn:mpeg:dash:schema:mpd:2011"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
	profiles="urn:mpeg:dash:profile:isoff-live:2011"
	type="static"
	mediaPresentationDuration="PT0H20M28.9041S"
	maxSegmentDuration="PT16S"
	minBufferTime="PT10S">
	<Period start="PT0S" id="0" duration="PT0H20M28.9041S">
		<AdaptationSet segmentAlignment="true">
			<SegmentTemplate timescale="1" duration="8" initialization="dash/nhbzbfokfo8ulc7o7gx3av8d/$RepresentationID$/initial.mp4" media="dash/nhbzbfokfo8ulc7o7gx3av8d/$RepresentationID$/$Number$.m4s" startNumber="0">
			</SegmentTemplate>
			<Representation id="0" mimeType="video/mp4" codecs="avc1.42c00d" bandwidth="1524000" width="720" height="404">
			</Representation>
		</AdaptationSet>
		<AdaptationSet segmentAlignment="true">
			<SegmentTemplate timescale="1" duration="8" initialization="dash/nhbzbfokfo8ulc7o7gx3av8d/$RepresentationID$/initial.mp4" media="dash/nhbzbfokfo8ulc7o7gx3av8d/$RepresentationID$/$Number$.m4s" startNumber="0">
			</SegmentTemplate>
			<Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="164000" audioSamplingRate="48000">
				<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
			</Representation>
		</AdaptationSet>
	</Period>
</MPD>

i have only start.mpd here and no manifest.mpd

My bad it's start.mpd

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="urn:mpeg:dash:schema:mpd:2011"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
	profiles="urn:mpeg:dash:profile:isoff-live:2011"
	type="static"
	mediaPresentationDuration="PT0H41M5.43994S"
	maxSegmentDuration="PT2S"
	minBufferTime="PT10S">
	<Period start="PT0S" id="0" duration="PT0H41M5.43994S">
		<AdaptationSet segmentAlignment="true">
			<SegmentTemplate timescale="1" duration="1" initialization="dash/omhnc2eiwgbowwu02m58m541/$RepresentationID$/initial.mp4" media="dash/omhnc2eiwgbowwu02m58m541/$RepresentationID$/$Number$.m4s" startNumber="0">
			</SegmentTemplate>
			<Representation id="0" mimeType="video/mp4" codecs="avc1.42c00d" bandwidth="11205000" width="1920" height="1080">
			</Representation>
		</AdaptationSet>
		<AdaptationSet segmentAlignment="true">
			<SegmentTemplate timescale="1" duration="1" initialization="dash/omhnc2eiwgbowwu02m58m541/$RepresentationID$/initial.mp4" media="dash/omhnc2eiwgbowwu02m58m541/$RepresentationID$/$Number$.m4s" startNumber="0">
			</SegmentTemplate>
			<Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="151000" audioSamplingRate="48000">
				<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
			</Representation>
		</AdaptationSet>
	</Period>
</MPD>

Interesting... You don't have the same duration as mine 😮
I'll check logs and I'll keep you informed ;)

Maybe it could be nice to try with original plex (1.18.x) without Unicorn stuff to see if the bug is related to Plex or our transcoder

I can try that tomorrow. (With an older version of Plex it worked without any problems, <IP_ADDRESS>1-d42cfa161) Has something special been added to the 18.XX version of Plex?

I'm runing 1.17.1841 build too but I can't reproduce your bug on my server 🙄
In 1.18.x changelog we can see that:

(Transcoder) Some packets could randomly be skipped in certain clients, resulting in a “skipping” effect (#10401)

So maybe it's just a random Plex bug 😅

But this is under Fixes, but I have the problem with the current version (<IP_ADDRESS>4) 🤔

For you the problem is related to Unicorn Transcoder ?
Transcoder 2.3.8 + plex 1.17 => no issue
Transcoder 2.3.9/10 + plex 1.18 => Issues
Can you try transcoder 2.3.10 + plex 1.17 ? ( Just change the config.js file to set plex build, codec and eae build)

The difference between 2.3.8 and 2.3.9/2.3.10 are only 2 lines of code and update build in config.js
These lines can't have an impact on the streaming feature. Maybe it's a bug related to Plex web ? Can you check your version of Plex web ?

For you the problem is related to Unicorn Transcoder ?
Transcoder 2.3.8 + plex 1.17 => no issue
Transcoder 2.3.9/10 + plex 1.18 => Issues
Can you try transcoder 2.3.10 + plex 1.17 ? ( Just change the config.js file to set plex build, codec and eae build)

I'm installing this right now. Where can I view the plex web version?

In the settings of Plex web in Player > General it's 4.x.x version

In the settings of Plex web in Player > General it's 4.x.x version

Version 4.10.1 currently

The difference between 2.3.8 and 2.3.9/2.3.10 are only 2 lines of code and update build in config.js
These lines can't have an impact on the streaming feature. Maybe it's a bug related to Plex web ? Can you check your version of Plex web ?

Now it's running perfect again, so I guess it's the new Plex version?

Can you give us your versions ?

Can you give us your versions ?

Which version? for download?
https://downloads.plex.tv/plex-media-server-new/<IP_ADDRESS>1-d42cfa161/debian/plexmediaserver_<IP_ADDRESS>1-d42cfa161_amd64.deb

With the last UnicornTranscoder?

It looks like a Plex related issue, we'll see if the next update fix your bug 😉

It looks like a Plex related issue, we'll see if the next update fix your bug 😉

newer than v<IP_ADDRESS>4-f2cae8d6b? (I'm just confused.)

Yes, we'll wait 1.19.x to see if it solve the bug ☺

@Maxou44 I just updated the whole thing and the seconds jumps are gone... But now the whole transcoding process stops after 60-120 seconds and the chunks only come with a 404 fetch error message from the transcoder. And then it hangs permanently on buffering.
Plex: <IP_ADDRESS>9-f5213a238
Transcoder: <IP_ADDRESS>9-f5213a238
Codecs: 8bf330d-2818
EAE: eae-69c1de6-42

loadbalancer.txt
transcoder.txt

I can't reproduce this bug, we run latest version on our side without any issue, I don't understand 😥

Could it be cloudflare? I activated the proxy there.

It's not a cloudflare issue

It's not a cloudflare issue

Okay... then I have no more ideas what it is...

What is the content of 404 requests?

What is the content of 404 requests?

from a tv show, or what u mean?

When you have a 404 error in the browser console, can you open the link in a new windows and check the content, normally you'll have "callback xxx"

Can you check with the 2.4.0 release? We fixed it!

I'm sorry, I don't use UnicornTranscoder anymore, and can't test it. Since I switched to a single server setup, with an AMD EPYC 7502P.


Bare metal

This is more a general question, but does anybody have experience with running kubo on bare-metal? For example with Rackhd?

Hi,
Rackhd is not a supported platform currently. It also doesn't have a cloud provider for Kubernetes yet, which would restrict the feature set of the deployed Kubernetes.
Ben.

Hi,
What does a cloud provider mean in this case? Will deploying on bare-metal ever be on the roadmap -- realistically?

Hey @hansbogert, I don't think cloud provider would mean much in the bare metal use case. PVs and LoadBalancer services would have to be provisioned manually (which I assume is fine for the bare-metal use case).
I can't tell for sure if the bare-metal support will make it to the roadmap anytime soon. I believe it is unlikely that it does however as the core team is currently focusing on vSphere, GCP, Openstack and AWS. We would happily accept contributions that make the release and the deployment work with the RackHD CPI.


Multiple instances of components get created with non-linear navigation

HI SP,
So I had an issue awhile ago I thought was caused by query parameters but it's actualy caused from non-linear navigation. If you navigate non-linearly (home -> about -> tutorial -> home) you end up with multiple instances of the same component. As a side note when this happens the tab bar component stops working.
If the answer is to make sure your application's navigation is linear to avoid navigating to different parts of the application from other parts, then that's OK, I can revamp my current application.
Just wondering what your thoughts are on this. I've made a demo repo to demonstrate the bug / what I mean: https://github.com/Grogglex/af_bug_example
Thanks as always for your hard work.

@Grogglex - I discovered the same behavior. Should be a Framework7-Vue thing, what do you think?

Ah. You're probably right about that. One way of testing I guess would be to build a simple app like I did but using just Vue F7. Do you have a bug open with F7 about it? If not I can do it.

As I have currently not so much time for coding, I would appreciate if you create a jsfiddle example of F7-Vue, an issue and link it here.

@Grogglex - Did you raise any issue to Framework7-Vue?

https://github.com/framework7io/Framework7-Vue/issues/263

Issue is treated here:
https://github.com/framework7io/Framework7-Vue/issues/263
As a workaround, you can:
a) Add :domCache="false" as parameter to any  object
b) Work with tabs
Close the issue here as it is related to F7-Vue.


When using :on-click={"name", target="#target_id"} I cannot seem to get a sibling to target another sibling node that is rendered in the same parent.

Describe the bug
I have a liveview with two components that render content into their slots.  One is a live component that has a substate managing some ui, the other is simply a component with a button in it that I want to trigger a function in the live component.
The heirarchy is:
When I use the following action.

You can clearly see the on click event.
The component is rendered int he parent liveview ->

I can target the parent (which is the liveview) fairly easily and that is great,  but when I want to talk to a sibling live component, rendered in the same liveview -> as thus:
I get an error in the console:

and just for completion here is the call to "tokenslotrail",  the component I want to target, which is rendered in the same parent liveview.

Is there some limitation I am missing?  The documentation is very sparse and I can't understand why I simply cannot target any node I want by id.
Thank you so much for helping
How to reproduce it

...   It should be obvious from above.

The behavior you expected
I expect a onclick target Js push to simply target the node that I want to when I push the event to it and pattern match the handle_event there.
Your Environment
Surface: v0.1.1
LiveView: v0.19
Elixir: v1.14.2

@severian1778 I'm not sure, but when I've usually run into something like this I check the page, and it's usually that the surface component, or live component is taking in an id attribute but not passing it as the HTML tag's id.
This usually happens for me when I add an id in a parent, as it's required for the server to correctly track the state. But I often have some other id that I set in the actual ~F.
If you run document.querySelectorAll("#tokenslotrail") does it show up?


merge from template-coveralls

package.json

chore(deps): add ^8.0.2 remove ^7.29.0 (devDependencies.npm-pkgbuild)

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

v5.0.59
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG REPORT] Summer 2023 Not Available For Adding A Review

Still shows Summer 2022 and Fall 2022

Thanks, fixed!


Model Type not yet supported by TreeExplainer

Hi All,
I am working on a machine learning framework, where we internally have our xgboost model, we use the functions of the xgboost to train our model internally in our framework and so on.
I tried to use our model in shap.TreeExplainer, but I think shap explainer is expecting only to have xgboost as a model not our framework model, and I do not want to instantiate a model in jupyter notebook for example, but I want to call our model and explain it. So, is there is anyway to submit our model to be explained by shap because at the end of the day it is acutally an xgboost model.

Does your internal framework have a way to get the underlying booster object? E.g. something like .get_booster()? If so you could pass that to TreeExplainer.

It has but it is the worst solution because I have to define a specific route for the Xgboost to be convenient with SHAP. I was just asking if there is another way to overcome this issue, such that I can submit the model normally in it's current implementation as in LIME.

Hi @Dola47 ,
I guess that the only route into this would be to carefully check what the TreeEnsamble in tree.py class needs in order to produce a correct representation of your model. On the surface of it, it seems that model could be a dictionary, which could contain the data from your model that will be used to create the internal representation of the tree. I'm not sure if it's any easier for you to access the model state and construct the representation as opposed to simply getting the booster.
On a more general note, xgboost library itself implements the path-dependent feature perturbation algorithm (basically what you run if you instantiate your explainer as TreeExplainer(mymodel) which is optimised using Open MP (so distributes explanations). If it's any easier, you could call .predict(X_explain, pred_contribs=True) on the xgboost model and get the explanations that way.

@alexcoca Thanks a lot for your response. Can you provide more clarification regarding the last point you mentioned. If I can use directly the .predict function out of SHAP on my model. What is the difference then between calling the TreeExplainer on my model and not calling it. I mean what I going to lose out of the normal procedure of SHAP, if I directly called the .predict function on my model

@alexcoca  So, what I get that shap_values is returning nothing except the model probabilities of the rows sent to it. And, the expected_value is nothing excepted accessing these probabilities, and that I can acquire that internally from my model and then provide then directly to shap.force_plot?

I'm struggling to understand what you mean by shap_values is returning nothing except the model probabilities of the rows sent to it. And, that the expected_value is nothing excepted accessing these probabilities.
If you trained your objective with the objective binary:logistic or binary:logitraw than the units of the shap values returned when calling model.predict(X, predict_contribs=True) are in the margin space (aka before we apply the transformation to convert to probabilities). Note that all xgboost does when trained with binary:logistic is to compute the margin m first and then apply 1/1+e(-m)  to output a probability when you call model.predict(X). So you are likely to notice an expected value that can be any real number, not a number in [0, 1] as would be the case if the model probabilities were explained.
xgboost implements an algorithm that can only provide explanations of the raw model output (that is, we explain the leaf value m, not the probabilities returned by the model). So what you obtain by making that .predict call above is a a set of shap values along with an expected value that statisfy model_output - expected_value = sum(shap_values) for every instance. model_output is in the leaf output for our instance. So the shap values you obtain with this method have nothing to with the probabilities returned by your model, they explain the inverse logit transformation of those probabilities.
So by the above I wanted to make clear that the shap values returned do not have probability units, they are in margin space.
Indeed, we can just take those values and the expected value and do a force plot.

@alexcoca Great, does the same exist if I use the Booster with objective: multi:softprob ?

I have not dealt with multiclass clasification, so @slundberg might have to confirm that my expectations are correct. I would expect this to also work and that the explanations sum to the logits for each class. I would also expect to get a list of 2D array of shape (X.shape[0], X.shape[1] +1) with len equal to the number of output. However, from the xgoost docs one finds out that:
pred_contribs (bool) – When this is True the output will be a matrix of size (nsample, nfeats + 1) with each record indicating the feature contributions (SHAP values) for that prediction. The sum of all feature contributions is equal to the raw untransformed margin value of the prediction. Note the final column is the bias term.
So it's not clear if this is supported.  What is the shape of the output you obtain if you call model.predict(X, predict_contribs=True) on your multi-output model?

@alexcoca  I got an error when I just used predict_contribs=True
`/mnt/c/ubuntu/envs/usecase/lib/python3.6/site-packages/pandas/core/frame.py in init(self, data, index, columns, dtype, copy)
462                 mgr = init_dict({data.name: data}, index, columns, dtype=dtype)
463             else:
--> 464                 mgr = init_ndarray(data, index, columns, dtype=dtype, copy=copy)
465
466         # For data is list-like, or Iterable (will consume into list)
/mnt/c/ubuntu/envs/usecase/lib/python3.6/site-packages/pandas/core/internals/construction.py in init_ndarray(values, index, columns, dtype, copy)
167     # by definition an array here
168     # the dtypes will be coerced to a single dtype
--> 169     values = prep_ndarray(values, copy=copy)
170
171     if dtype is not None:
/mnt/c/ubuntu/envs/usecase/lib/python3.6/site-packages/pandas/core/internals/construction.py in prep_ndarray(values, copy)
293         values = values.reshape((values.shape[0], 1))
294     elif values.ndim != 2:
--> 295         raise ValueError("Must pass 2-d input")
296
297     return values
ValueError: Must pass 2-d input`

That stack trace seems to have nothing to do with xgboost or shap.

I have only this error when I make

predict_contribs=True

I suggest raising an issue on the xgboost github then. I'm surprised to see pandas errors given xgboost runs in C++ and has nothing to do with pandas. I don't know what context you're running this in, but I presume you might do something to the output of xgboost that causes this error.

@alexcoca  Really thanks a lot for your responses.  I will try to figure out the problem. I might reach you back after solving the current issue. Many thanks.

Hi @alexcoca ,
I think you might try to help me right now. I just got the results out of the booster.predict when I set the predict_contrib to True. It worth noting, that to overcome some errors I have to flatten the results out of model.predict as shown here

Moreover, the output is too extremely big it is 19490872 rows and 1 columns, here is the results

I do not really understand precisely what these numbers in the current results stands for, but it seems it is not the normal probability of the Booster, because I have a lot of negative number.
Can you now reformat to me what modification I should do to be able to prepare the results to be submitted to the SHAP plot functions?

See alexcoca's comment above. When you run:
shap_output = model.predict(X, predict_contribs=True)
shap_values = shap_output[:, :-1]
You get the SHAP values. shap_output is a numpy array that has size of nrowsXncols+1- the extra column is for the average output of the model.
You can pass shap_values from the above lines directly to the SHAP plotting tools, no other flattening or preparations required.

@stephenpardy @alexcoca
So, I overcame all of the errors I was facing currently.
I just followed your steps the results I got is like that:
shap_output come out to be of shape ( 28166, 2, 346), given that the data submitted to it were of shape (28166, 345). I have now a 2 class classification problem so I do not know if this is correct or it should come out to be of shape (28166, 346)!!.
A screenshot of the output of shap_output is here:

Shap_values come out to be of shape (28166, 1, 346). A screenshot of the output is here:

expected_value come out to be of shape (346,).  A screenshot of the output is here:

Please, confirm to me if the results I got is correct or not. I just want to be sure that SHAP works correctly for 2 class classification problem ( in case of using multi:softprob)

@alexcoca @stephenpardy @slundberg
1- I still do not know hot to get the expected value correctly in my case, for the 2 class classification problem.
2- I got 2 arrays in shap_values, that's okay as it's a 2 classes classification problem. I plotted the results of each class separately, however, what I found out that the features is not the same between both classes. Furthermore, when I used the KernelExplainer for my model as well the features of each class were the same. What is the difference?
3- Are the classes exactly the same as in my model. In my model the classes are class0 as SCRAP class 1 as OKAY. I am not sure if the arrays in the shap_value list is aligned with my model classes. Such that the first array in the shap_values is for the SCRAP class, and the second array in the shap_values is for OKAY class.

Hi @Dola47 ,
1 + 2: shap_output [:,0, -1] will give you an array which you can average to get the expected value for class 0. Note that all the values in the array shap_output[:, 0, -1] are equal - they represent the same number but are repeated so that the algorithm can return one single tensor. The same applies for the expected value of the other class: do shap_output[:, 1, -1].mean() or simply shap_output[:, 1, -1][-1] to obtain the desired expected value.

when you index shap_output[:, 0, :-1] you obtain the shap values that explain the output of your model at index 0, when you index shap_output[:, 1, :-1] you explain the model output at index 1. So the middle index represents the class. So, yes, the output is aligned with your model classes and you will have shap values explaining the margin assigned to SCRAP when you do shap_output[:, 0, :-1] and OKAY when you do shap_output[:, 1, :-1].

@alexcoca  Thanks a lot so I was just want to be sure that to calculate the expected value I have to use .mean().
I still have one question which is not answered in the shap_output I got 2 arrays. In the case of the KernelSHAP the features being used in the 2 arrays are exactly the same. So, for example if I plotted the top 50 features from each array, the features are the same, the plot even looks exactly the same but they are inverted versions of each other. So, it appears that class 1 is the negative values of class 0. Is that correct?
The difference in the case of the predict_contrib from the XGBoost model, that when I plot the features being used in each of the arrays, they are not the exactly the same features some of them are different. Accordingly, the plot does not look as well to be inverted versions from each other. Is that also okay?

Your observations about the KernelShap output seem correct: intuitively, I would expect that if a feature makes a positive contribution for class 0, then the contribution for class 1 must be of opposite sign and equal magnitude.
Getting expected values of opposite signs from xgboost is correct: one class will have negative margin and the other positive margin, so it is correct that the expected values have opposite signs. I find it counterintuitive that the shap values are not negated versions of each other, maybe @slundberg can explain why.

The values of the expected value of each class in case of the Xgboost is not the same as well, and that explain why at the end the expected value of each class is not the negated version of the other class.
I could say that in the case of the Xboost there is some randomness, the features being used in each class is not the same, their magnitudes is not the same, the values in the expected values is not a repeated version of each other, and accordingly the expected value of each class after using. mean() is not the same. The question is that okay in case of Xgboost or there is something wrong?


How can I prevent wildcard certificates from being created?

How can I prevent wildcard certificates from being created?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2230f5ac-fab0-9222-402d-bd1591dd10e1
Version Independent ID: 5db9b175-91f8-3968-1828-63aec8343945
Content: Monitor and manage certificate creation
Content Source: articles/key-vault/certificates/create-certificate-scenarios.md
Service: key-vault
Sub-service: certificates
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@Leonardo-Ferreira
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Leonardo-Ferreira
To prevent wildcard certificates from being created, you can use the validate-client-certificate policy in Azure API Management. This policy enforces that a certificate presented by a client to an API Management instance matches specified validation rules and claims such as subject or issuer for one or more certificate identities. You can use this policy to check incoming certificate properties against desired properties and to override default validation of client certificates in certain cases.
For you information Please refer the below in documented link
https://learn.microsoft.com/en-us/azure/api-management/validate-client-certificate-policy

@Leonardo-Ferreira
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation

@Leonardo-Ferreira
I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


Does not properly forward quoted arguments

When using these shims, strings with spaces in them are interpreted as multiple arguments.
kiennq's shims do not seem to have this same problem.

@ImportTaste thanks for bringing this up, I'll poke arround at this and see if I can fix it.


Feature Request

Hie Developers,
Hope you all are doing great...
What did you expect to see?
I would like to see some arrangement where we can not only have predefined receivers but we can also have something like a subscriber model where any new service/device can starts receiving alerts as it would make alertmanager flexible and useful not just for DevOPs but literally as an alertmanager.
I heard that kafka has something like this but there is not direct way to integrate it with kafka (to send alerts not metrics) and as a user of prometheus we would not want to hop to a http service just to put data to kakfa ( or any other platform supporting subscriber like model)

Changing the model in which alertmanager operates to a subscripion-based one would need a major overhaul of the codebase. I don't think this will happen as you can easily put a layer in front of alertmanager to handle such functionality. Such layer would need to receive webhooks from alertmanager and forward them to your pub/sub system of choice (ex. kafka).

Hie Paul, I really appreciate the response...
I hope I'm not asking a silly question but, could you give sample code for what the layer may look like(coz from what I know kafka needs to have a producer to send any message as topic and its a lot of coding ) or you could point me in the right links and I would try to figure it out .
Regards
Adarsh

I don't think there is any kafka receiver for alertmanager webhook right now. If you want to write one, I would suggest looking at other projects which are intended as alerting forwarders. The current list can be found at https://prometheus.io/docs/operating/integrations/#alertmanager-webhook-receiver

yeah sure I will try to see for the alerts forwarders .. I think that concludes this issue so I'm closing this.
Thanks for your time.


Possible upgrades to the release infrastructure

[ ] Add a note for trial run, remove the moving tag point
[ ] Rename the release branch so that it is not confused with the tags
[ ] Probably automate more of this (rc0 + final release can be automated more?)

cc: @kratman @agriyakhetarpal @arjxn-py

My understanding was that having a separate release branch allows us to keep working on develop between release candidates, and also cherry pick and release critical patches if required without having to wait until the next release

My understanding was that having a separate release branch allows us to keep working on develop between release candidates, and also cherry pick and release critical patches if required without having to wait until the next release

Makes sense, Saransh had the same thoughts as well – removed off the list

Would it be better if we were to ask maintainers to submit PRs that don't target the develop branch after a release candidate has been published? For example, this would unblock big changes like #4205 because critical patches would target the release branch instead

Would it be better if we were to ask maintainers to submit PRs that don't target the develop branch after a release candidate has been published? For example, this would unblock big changes like #4205 because critical patches would target the release branch instead

I think this was the idea of not using a release branch. The only thing going to main was the release, so PRs could be made there with the cherry picks for the RCs. It makes tagging easier and simplifies the workflow to only use main. Changes on main don't impact develop so it does not block PRs.
We really don't have a solution for things like #4205 being blocked while we are cherry picking changes for releases. The solution is really to speed up the release process into a single day instead of doing multiple RCs over a months time. Cherry picking releases is only easy when PRs are squashed and the changes only touch a couple files

Other improvements:

[ ] The release workflows only work if the release is done in the month intended. For example if you do the may release (v24.5) in July, then the workflows try to create a release for July (e.g. v24.7rcX)
[ ] Release/pre-release PRs should probably only be merged into main. Then a separate PR should be made to sync main with develop. This keeps release branches from being modified when the merge is performed on develop. Since the "Require branches to be up-to-date" setting forces merges all of develop into the release branch before it is merged into develop
[ ] If we are going to merge release branches into develop, then process should probably make a different branch for each RC. This prevents contaminated branches from being used to create releases.

Since the "Require branches to be up-to-date" setting forces merges all of develop into the release branch before it is merged into develop

We should really not have this as a forced thing.
Not merging the development branch into the release branch is a very standard practice (and the only practice I have seen). Copying my comment here -

The idea of the release branch is to keep the code frozen till the final release is made. The release is only made once the tests pass on the frozen branch and if the tests are failing, then the fixes are cherry-picked instead of merging develop to update the branch. Involving multiple branches will complicate the process imo, making it much more confusing. In any case, develop should never be merged in the release branches, that is the standard practice for rc releases and even backporting fixes to a stable LTS version (if pybamm had one).

Also, backport branches are always kept frozen without updates from the development branch. Only required fixes are moved to this branch.

@kratman please feel free to close this. (The release infrastructure was revamped by you and this issue might be irrelevant now.)


Add Lost by CRIM3S

Song Name
Lost
Artist Name
CRIM3S
Source
Youtube
Youtube Link
hU06a_VVgL91qEIP
Direct File Link
No response
Song ID
7
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 10109

reject
unrelated and invalid yt link


Error connecting to database from application: ORA-12541: TNS:no listener

I'm trying to connect to the oracle container in a golang project:
I'm using the connection string: "system/oracle@<IP_ADDRESS>:1521/xe.oracle.docker".
Note: If I replace "<IP_ADDRESS>" with "localhost" I get ORA-21561: OID generation failed.
Here are the logs of my database starting up using the command: "docker run -d -p 8080:8080 -p 1521:1521 sath89/oracle-12c":
    Database not initialized. Initializing database.

    Configuring Apex console
    Database initialized. Please visit http://#containeer:8080/em http://#containeer:8080/apex for extra configuration if needed
    Starting web management console

    PL/SQL procedure successfully completed.

    Starting import from '/docker-entrypoint-initdb.d':
    found file /docker-entrypoint-initdb.d//docker-entrypoint-initdb.d/*
    [IMPORT] /entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

    Import finished

    Database ready to use. Enjoy! ;)

I'm attempting to connect using the following line in go:
db, err := sql.Open("oci8", "system/oracle@<IP_ADDRESS>:1521/xe.oracle.docker")

The application panic s which is a golang construct akin to throwing an uncaught exception and I get the following error message:
ORA-12541: TNS:no listener
Unfortunately this is the only error message I get. No more detail.
Googling this suggests editing a file calledtnsnames.ora . I can't see this anywhere in the image.
Issue #14 mentions this file but was closed without any further comments.
Note: I am using the following oracle sql drive for Go: https://github.com/mattn/go-oci8. This project has an issue which references this oracle error message but I can't get any help from it:
https://github.com/mattn/go-oci8/issues/147. As mentioned in the issue, I am doing a db.Ping() which is the point at which I get the error.

@tjheslin1 did you end up figuring out a solution to this problem?

@Glavin001 Unfortunately not. As the project I'm working on is needed soon I'm instead working on a Java implementation. Still using the oracle container but with JDBC which I have more experience in.
I will have to spend more time with the oracle sql driver for Golang which appears to need more work to be more usable.


Allow providing interface to bind to e.g. <IP_ADDRESS>?

Happy to find this today.
My understanding of go isn't the greatest, but it looks like this listens on all available interfaces.  Is it possible to specify the network interface? Or somehow only bind to loopback?

Hi @cmawhorter !
Sorry for a delayed response. You are right that as of now speedbump binds to all available network interfaces. While it is a common practice for containerized apps to listen on all interfaces, I can see how it may be desirable to specify a single network interface, especially when running speedbump as a binary.
I've just opened a PR adding a --host cli option which allows for specifying the IP address/hostname associated with a network interface on which to listen.


Add new baselines :sparkles:

Codecov Report
Base: 54.37% // Head: 71.65% // Increases project coverage by +17.28% :tada:

Coverage data is based on head (3096fe7) compared to base (490f663).
Patch coverage: 85.73% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #6       +/-   ##
===========================================
+ Coverage   54.37%   71.65%   +17.28%
===========================================
  Files          15       63       +48
  Lines         537     2699     +2162
  Branches       31      203      +172
===========================================
+ Hits          292     1934     +1642
- Misses        243      720      +477
- Partials        2       45       +43

Flag
Coverage Δ

cpu
71.65% <85.73%> (+17.28%)
:arrow_up:

pytest
71.65% <85.73%> (+17.28%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

torch_uncertainty/layers/packed_layers.py
80.00% <ø> (ø)

torch_uncertainty/models/resnet/std.py
77.64% <ø> (ø)

torch_uncertainty/routines/classification.py
37.69% <12.50%> (+15.98%)
:arrow_up:

torch_uncertainty/__init__.py
53.48% <23.07%> (+19.34%)
:arrow_up:

torch_uncertainty/baselines/packed/resnet.py
89.74% <40.00%> (ø)

torch_uncertainty/metrics/nll.py
50.94% <51.42%> (-1.69%)
:arrow_down:

...h_uncertainty/metrics/jensen_shannon_divergence.py
55.17% <52.50%> (-2.73%)
:arrow_down:

torch_uncertainty/metrics/brier_score.py
55.12% <55.12%> (ø)

torch_uncertainty/metrics/entropy.py
55.40% <55.26%> (-34.07%)
:arrow_down:

torch_uncertainty/metrics/mutual_information.py
52.94% <57.44%> (+15.90%)
:arrow_up:

... and 63 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix image accessorise method call in sections

Noticed this the other day -- I think you just had a little typo with this method.

@nate-r-a Thanks! Will release this path soon 😄

Released in 0.9.0 🚀


Investigate auto-generated documentation

Evaluate options (e.g. doxygen). Investigate what other ASWF projects use.

@cary-ilm Is this one resolved by the RST work you did?


Go 1.18 type inference failure?

What version of Go are you using (go version)?
https://go.dev/play/?v=gotip
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
n/a
What did you do?
Wrote a simple generic "map" function.
On slices, type inference works as I would expect: https://go.dev/play/p/vTd2xwnNA6_X?v=gotip
On generic iterators, however, it does not: https://go.dev/play/p/NnXSXNzx-GB?v=gotip
What did you expect to see?
[1 4 9 16] (squares of [1 2 3 4])
What did you see instead?
type *SliceIter[int] of inp does not match Iter[T] (cannot infer T and U)

(The U in this case is the result type of the square function, which appears in the expression that produces this error.)
Explicitly instantiating the type params fixes the problem (https://go.dev/play/p/81XMP4cWQoD?v=gotip) but I would have expected that to be unnecessary.

Closing as dup of #50319.


[3.1][cdc-e2e] Add end to end test for pipeline.

Search before asking

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

Motivation
Add end to end test for Flink CDC 3.0 pipeline.
You may separate it in to several subtasks like doris / starrocks.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Hi, @lvyanquan I am will to do this task, can you assign this to me?

Closing this issue as it has been migrated to Apache Jira.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Generate project with Mason] Migrate the rest of components generating step & clean up

Why
According to what we achieved in Create a POC for mason lib to generate template project's features, we can start on the following steps to build a new "project-generating" mechanism with Mason to replace the existing legacy and complex Python script which is not familiar with a Flutter or mobile dev to maintain and contribute. The idea is to apply Mason to restructure the template in a "configurable way" and allow us to move some features to be "optional features" when generating the new project.
Following the primary goal, this is what we need to cover in this task:

Generate the rest of the components at https://github.com/nimblehq/flutter_templates/tree/develop/.template, such as .gitignore, README, codecov.yml, .github, etc
Clean up after generating.

Who Benefits?
Developers

Blocked by #156, #157, #158

@manh-t It seems there are some remaining app_name configs from iOS's fastlane config from this task https://github.com/nimblehq/flutter-templates/issues/157. We should fix them in this task 🙏

@manh-t As discussed internally, we will handle the json_serializable.field_rename setting separately in https://github.com/nimblehq/flutter-templates/issues/188.


Landing Zone Upgrade from v1.7.1 to 1.8.1 Failure - SecurityAudit

Describe the bug
While trying to update the landing zone from 1.7.1 to 1.8.1 i’ve received the following error from the SecurityAudit stack.

After going into the Ireland cloudformation stack, the current state is: UPDATE_ROLLBACK_FAILED. I’ve tried to rollback the stack by skipping the SecurityHubMembers2A2B77C4, but the rollback fails with “Failed to continue rollback”  popping up. Clicking the “Detect Root Cause” simply drops to

To Reproduce
Unknown - the issue appeared on a working copy of 1.7.1 during an upgrade.
Expected behavior
The upgrade to roll though
Please complete the following information about the solution:

[x] Version: v1.8.1
[x] Region: eu-west-2
[x] Was the solution modified from the version published on this repository? no
[x] If the answer to the previous question was yes, are the changes available on GitHub?
[x] Have you checked your service quotas for the services this solution uses? NA
[x] Were there any errors in the CloudWatch Logs? NA

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.

Note, I found a similar issue here https://github.com/awslabs/landing-zone-accelerator-on-aws/issues/413 … but in our case I’ve verified the Audit account is registered as the delegated admin for SecurityHub in the management account.

Closing the issue for now


E1019 Sub parameter should use a valid function for Resources/SampleFunctionSampleApiPermissionStage/Properties/SourceArn/Fn::Sub

*cfn-lint version: cfn-lint 0.9.1
E1019 is returned when attempting to validate the template below, even though the template is valid.
Transform: AWS::Serverless-2016-10-31
Globals:
  Function:
    Runtime: python3.6
Parameters:
  EnvironmentType:
    Type: String
    Default: dev

Resources:
  SampleFunction:
    Type: AWS::Serverless::Function
    Properties:
      Events:
        SampleApi:
          Type: Api
          Properties:
            Method: POST
            Path: /sample
            RestApiId: !Ref SampleApi
      Handler: lambda_function.lambda_handler

  SampleApi:
    Type: AWS::Serverless::Api
    Properties:
      StageName: !Sub '${EnvironmentType}'

@cmmeyer a little assist with this one.
The translator changes this into
"SourceArn": {
                    "Fn::Sub": [
                        "arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${__ApiId__}/${__Stage__}/POST/sample",
                        {
                            "__ApiId__": {
                                "Ref": "SampleApi"
                            },
                            "__Stage__": {
                                "Fn::Sub": "${EnvironmentType}"
                            }
                        }
                    ]
                }

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.html#w2ab1c21c24c59c13
This documentation says you can't use Sub but looking like that isn't true.  Agreed?


Owner or User Access Admin for VMSS Agents

[Enter feedback here]
Important

To configure a scale set agent pool, you must have either Owner or User Access Administrator permissions on the selected subscription. If you have one of these permissions but get an error when you choose Authorize, see troubleshooting.

The only service connection currently supported is an Azure Resource Manager (ARM) service connection based on a service principal key. ARM service connections based on a certificate credential or a Managed Identity will fail. When you attempt to list the existing scale sets in your subscription, you'll see an error like this:

Invalid Service Endpoint with Id <guid> and Scope <guid>

Are these level of permissions required , would owner on the VMSS not be sufficient rather than the whole Subscription ?
This would allow much more granular SP to be created to manage  this.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 756d9c64-a802-61ad-ba6c-6061d2d747cf
Version Independent ID: 012518b7-0282-f5b0-5206-8a9d1902b8d3
Content: Azure virtual machine scale set agents - Azure Pipelines
Content Source: docs/pipelines/agents/scale-set-agents.md
Product: devops
Technology: devops-cicd-agents
GitHub Login: @steved0x
Microsoft Alias: sdanie

@gabrielmccoll -- Gabriel, thank you for your feedback and question.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@steved0x -- Steve, please look into this potential documentation issue.

The levels of permission described in the article are the correct levels of permission required. I agree that your suggestion is a good idea, please file it is a product suggestion here (or if someone else has already suggested it, please upvote their suggestion)
https://developercommunity.visualstudio.com/spaces/21/index.html
Thank you for your contribution.

Hello @steved0x ,
it does not seem to me that permissions are correctly described - it seems that Resource Group Contributor is sufficient to create a vmss agent pool - please kindly double check the documentation:
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops


Add -restore to msbuild invocations for Windows installer

I'm porting the Windows installer to WiX v4 in this PR: https://github.com/apple/swift-installer-scripts/pull/184 , to stop requiring an installed WiX and support arm64 installers. The updated wixproj depend on Nuget for WiX, so msbuild must be invoked with -restore to download any required packages before building. This should be a no-op with the current WiX v3 installer definitions.

Please test with following PRs:
apple/swift-installer-scripts#184
@swift-ci please build toolchain windows platform

This should be a no-op as it currently stands, so going to merge this.


Any plan for Modelica 4.0.0?

Hi,
I saw from the package.mo:
within ;
package PNlib
  annotation(uses(Modelica(version="3.2.3")), version="2.2");
end PNlib;

Is there any plan for upgrading PNlib for Modelica 4.0.0?

Thanks for catching this. In the meantime you can easily convert PNlib yourself using conversion scripts. Unfortunately there are some formatting issues with the resulting Modelica code. I'm currently cleaning up the library for a new release which should be coming very soon.

PNlib v3.0.0 (2024-02-13) is out now! :tada:


changed Iota to FormatInt to allow int64 value preventing 2038 overflow

What this PR does / why we need it:
Prevents an overflow when getting Unix time past the year 2038
Special notes for your reviewer:
I'm very open to recommendations on how to better fix this problem. We should probably replace Iota() used for time anywhere to avoid this problem in the future :). I tested everything here: https://play.golang.com/p/y4HMAegdQ_r
closes #12786

Another option https://play.golang.com/p/rniO4YNgkxg
// Format it as a string
	str := fmt.Sprintf("%v", t.Unix())

Note, the force-push contained no changes. It was just used to trigger CI.


Re do Phone & Birthday & Set List as Slack Attachments

Slack allows nice formatting so the initial commands need to be updated to make them look nicer.

Phone and Birthday are done. I’ll do services if i get a chance tomorrow.

I'm closing this. Set list looks ok for now.