New package: WorldofWorkflows.WorldofWorkflowsPE version 1.6.180

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree [company="World of Workflows"]

@microsoft-github-policy-service agree

Will resubmit later


set secure flag in cookie and force ssl (bsc#1050484)

Signed-off-by: Maximilian Meister<EMAIL_ADDRESS>

We cannot set config.force_ssl globally as the autoyast profile needs to be served over http for now too (as well as the health controller), so this setting will not take that into account. We are already redirecting to https since https://github.com/kubic-project/velum/commit/79cccb5d36ed3b196c230686bc4fa8c0dee20562.
Isn't it enough to just set secure on the cookie? After all we are not going to have any sessions over http.
We can set STS headers on our own after every request using the application controller I think by setting response.headers["Strict-Transport-Security"] = 'max-age=0'.

If the session is exclusive to HTTPS, and there are remaining HTTP non-session endpoints, flagging the session cookie as secure would be the correct fix.

If the session is exclusive to HTTPS, and there are remaining HTTP non-session endpoints, flagging the session cookie as secure would be the correct fix.

Please, correct me if I'm wrong, but there's still an attack vector despite /autoyast and the health controller are session-less (and served over http). If I login through https and then manually visit from the same browser the autoyast endpoint over http (could also be visited over https, but let's do it with http), the cookie is exposed.
So I think HSTS is also necessary, not sure if it will affect autoyast itself and the profile will be correctly loaded.

Compliant user agents will sent cookies received with secure=1 only on HTTPS requests. So to protect the session cookie, this is sufficient. HSTS goes further as to indicate to user agents that they should expect all resources, including e.g. the login page, to be on HTTPS. But that is an extended scenario.

Compliant user agents will sent cookies received with secure=1 only on HTTPS requests. So to protect the session cookie, this is sufficient. HSTS goes further as to indicate to user agents that they should expect all resources, including e.g. the login page, to be on HTTPS. But that is an extended scenario.

Of course, sorry. I was trying an attack vector and forgot to set the secure cookie, so of course I had it :man_facepalming:
Thank you!


Add note regarding how to solve elasticsearch initialization issues

Elasticsearch may need more than the 2GB allocated by default to the Docker Engine

Thanks @g3rv4 for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.


Error

root@e:~/CloudFuck# python3 cf.py seo.com
Traceback (most recent call last):
File "cf.py", line 5, in
from DNSDumpsterAPI import DNSDumpsterAPI
File "/root/CloudFuck/DNSDumpsterAPI.py", line 8, in
import requests
ImportError: No module named 'requests'
root@e:~/CloudFuck#

seems like you need the requests module;
what happens if you try:

sudo pip install requests

Hey, sorry for the late reply, I git clone'd again, getting this error after I... sudo pip install colorama.
root@e:[~/CloudFail]: python cloudfail.py --target seo.com
Traceback (most recent call last):
File "cloudfail.py", line 9, in
import colorama

Yo that cool sorry for the close thought that fixed it.
I pushed quite a big update in the mean time, but the libs should had stayed the same.
You definitely are running on python3? You may need to set this up if you are using Linux.
also please make sure you have the colorama lib here: https://pypi.python.org/pypi/colorama

Closing due to no reply

i get the colorama issue also

@wifiuk you need to install colorama for python3 sudo pip3 install colorama
You will need pip setup correctly for python3 (pip3)

   ____ _                 _ _____     _ _   / ___| | ___  _   _  __| |  ___|_ _(_) |                                                                                | |   | |/ _ \| | | |/ _ | |_ / ` | | |
| || | () | || | (| |  | (| | | |
_||__/ _,|_,||  _,||_|
v1.0.5                      by m0rtem
File "/home/dheeraj/Desktop/tools/CloudFail/cloudfail.py", line 307, in
dnsdumpster(args.target)
File "/home/dheeraj/Desktop/tools/CloudFail/cloudfail.py", line 84, in dnsdumpster
res = DNSDumpsterAPI(False).search(target)
File "/home/dheeraj/Desktop/tools/CloudFail/DNSDumpsterAPI.py", line 71, in search
soup = BeautifulSoup(req.content, 'html.parser')
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 228, in init
self._feed()
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 289, in _feed
self.builder.feed(self.markup)
File "/usr/local/lib/python3.10/dist-packages/bs4/builder/_htmlparser.py", line 215, in feed
parser.feed(markup)
File "/usr/lib/python3.10/html/parser.py", line 110, in feed
self.goahead(0)
File "/usr/lib/python3.10/html/parser.py", line 178, in goahead
k = self.parse_html_declaration(i)
File "/usr/lib/python3.10/html/parser.py", line 269, in parse_html_declaration
self.handle_decl(rawdata[i+2:gtpos])
File "/usr/local/lib/python3.10/dist-packages/bs4/builder/_htmlparser.py", line 160, in handle_decl
self.soup.endData(Doctype)
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 365, in endData
self.object_was_parsed(o)
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 370, in object_was_parsed
previous_element = most_recent_element or self._most_recent_element
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1054, in getattr
return self.find(tag)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1292, in find
l = self.find_all(name, attrs, recursive, text, 1, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1313, in find_all
return self._find_all(name, attrs, text, limit, generator, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 528, in _find_all
strainer = SoupStrainer(name, attrs, text, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1610, in init
self.text = self._normalize_search_value(text)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1615, in _normalize_search_value
if (isinstance(value, str) or isinstance(value, collections.Callable) or hasattr(value, 'match')
AttributeError: module 'collections' has no attribute 'Callable'
`


Interactive window keeps executing same cell when encountering an import statement

Applies To

[ ] Notebooks (.ipynb files)
[X] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
The interactive window keeps "reloading" the last cell that includes an import statement instead of running the currently selected cell.
Take this example:
# %%
import sys

# %%
print("Hello, World!")

Running the code cell-by-cell, the second cell will never execute. Instead, the first one is executed over and over again.
When running the whole script at once (either by "Run Above" or "Run Current File in Interactive Window"), it executes just fine. However, any subsequent execution of any cell results in the same behavior.
Furthermore, the interactive window does not react to "Clear All" and "Restart" commands.
The first part of the log shows the execution of the whole file, the second part (after unresponsive restart and close of interactive window) shows the cell-by-cell execution.
Here you can clearly see, that jupyter keeps executing the same cell over and over again, no matter what cell got run actually.
When replacing the first cell with anything else but an import statement, this behavior does not occur.
I also append the "Window" Log, since this may give some more insights. At least, you can see that the "realCode" key refers to a value that reflects the content of the first cell, instead of the second one.
VS Code Version
Version: 1.90.0-insider
Commit:<PHONE_NUMBER>e78cc9ca15ee761372a7c0603fa375
Date: 2024-05-13T12:38:35.735Z
Electron: 29.3.1
ElectronBuildId: 9464424
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.8.8-200.fc39.x86_64 snap
Jupyter Extension Version
v2024.4.2024042601 (pre-release)
Jupyter logs
11:36:31.267 [info] Starting interactive window for resource '~/Documents/project/code/stuff/mwe/vscode_interactive.py' with controller '.jvsc74a57bd0475742735b2c0f8ffd8a182e92a93177e52aa8807bdbb63d79fe8f975540a35f./home/~/.anaconda3/envs/phd_model_py310_tf213/python./home/~/.anaconda3/envs/phd_model_py310_tf213/python.-m#ipykernel_launcher (Interactive)'
11:36:31.337 [info] Process Execution: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python -m pip list
11:36:31.414 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0475742735b2c0f8ffd8a182e92a93177e52aa8807bdbb63d79fe8f975540a35f./home/~/.anaconda3/envs/phd_model_py310_tf213/python./home/~/.anaconda3/envs/phd_model_py310_tf213/python.-m#ipykernel_launcher  (Python Path: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python, Conda, phd_model_py310_tf213 (Python 3.10.14), 3.10.14) for '/Interactive-1.interactive' (disableUI=false)
11:36:31.420 [info] Process Execution: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
11:36:31.430 [info] Process Execution: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v2-61157iJmEqxt4es7z.json
    > cwd: ~/Documents/project
11:36:31.941 [info] Generated code for 1 = <ipython-input-1-792c8b1b29ec> with 2 lines
11:36:31.953 [info] Cell 1 completed in 0.002s (start:<PHONE_NUMBER>950, end:<PHONE_NUMBER>952)
11:36:31.954 [info] Generated code for 2 = <ipython-input-2-2b32baf42753> with 2 lines
11:36:31.971 [info] Cell 2 completed in 0.002s (start:<PHONE_NUMBER>969, end:<PHONE_NUMBER>971)
11:36:34.746 [info] Disposing kernel .jvsc74a57bd0475742735b2c0f8ffd8a182e92a93177e52aa8807bdbb63d79fe8f975540a35f./home/~/.anaconda3/envs/phd_model_py310_tf213/python./home/~/.anaconda3/envs/phd_model_py310_tf213/python.-m#ipykernel_launcher for notebook /Interactive-1.interactive due to selection of another kernel or closing of the notebook
11:36:34.746 [info] Dispose Kernel '/Interactive-1.interactive' associated with '~/Documents/project/code/stuff/mwe/vscode_interactive.py'
11:36:34.754 [info] Dispose Kernel '/Interactive-1.interactive' associated with '~/Documents/project/code/stuff/mwe/vscode_interactive.py'
11:36:36.794 [info] Starting interactive window for resource '~/Documents/project/code/stuff/mwe/vscode_interactive.py' with controller '.jvsc74a57bd0475742735b2c0f8ffd8a182e92a93177e52aa8807bdbb63d79fe8f975540a35f./home/~/.anaconda3/envs/phd_model_py310_tf213/python./home/~/.anaconda3/envs/phd_model_py310_tf213/python.-m#ipykernel_launcher (Interactive)'
11:36:36.933 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0475742735b2c0f8ffd8a182e92a93177e52aa8807bdbb63d79fe8f975540a35f./home/~/.anaconda3/envs/phd_model_py310_tf213/python./home/~/.anaconda3/envs/phd_model_py310_tf213/python.-m#ipykernel_launcher  (Python Path: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python, Conda, phd_model_py310_tf213 (Python 3.10.14), 3.10.14) for '/Interactive-1.interactive' (disableUI=false)
11:36:36.941 [info] Process Execution: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
11:36:36.950 [info] Process Execution: ~/.anaconda3/envs/phd_model_py310_tf213/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v2-611574CfX26tXx6Dk.json
    > cwd: ~/Documents/project
11:36:37.459 [info] Generated code for 1 = <ipython-input-1-792c8b1b29ec> with 2 lines
11:36:37.470 [info] Cell 1 completed in 0.003s (start:<PHONE_NUMBER>467, end:<PHONE_NUMBER>470)
11:36:38.715 [info] Generated code for 2 = <ipython-input-2-792c8b1b29ec> with 2 lines
11:36:38.722 [info] Cell 1 completed in 0.002s (start:<PHONE_NUMBER>720, end:<PHONE_NUMBER>722)

Window logs

2024-05-14 12:02:55.429 [debug] Open new interactive window: untitled:/Interactive-1.interactive vscode-interactive-input:/InteractiveInput-1
2024-05-14 12:02:55.486 [debug] Webview(f61e038a-9698-43f3-9a0f-ad8c065facb2): will update content
2024-05-14 12:02:55.512 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":5,"metadata":{"metadata":{"kernelspec":{"display_name":"phd_model_py310_tf213","language":"python","name":"python3"},"language_info":{"name":"python","version":"3.10.14"}}}}}]
2024-05-14 12:02:55.538 [debug] Webview(f61e038a-9698-43f3-9a0f-ad8c065facb2): webview ready
2024-05-14 12:02:55.576 [debug] New interactive window opened. Notebook editor id b29c15ec-3ef9-434c-9b0b-baf0df3baa48
2024-05-14 12:02:55.580 [debug] loadLocalResource - begin. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js
2024-05-14 12:02:55.581 [debug] loadLocalResource - found resource to load. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js, resourceToLoad=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js
2024-05-14 12:02:55.581 [debug] loadLocalResource - begin. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets7/dist/ipywidgets.js
2024-05-14 12:02:55.581 [debug] loadLocalResource - found resource to load. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets7/dist/ipywidgets.js, resourceToLoad=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets7/dist/ipywidgets.js
2024-05-14 12:02:55.581 [debug] loadLocalResource - begin. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js
2024-05-14 12:02:55.581 [debug] loadLocalResource - found resource to load. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js, resourceToLoad=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js
2024-05-14 12:02:55.581 [debug] loadLocalResource - begin. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/preload.js
2024-05-14 12:02:55.582 [debug] loadLocalResource - found resource to load. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/preload.js, resourceToLoad=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/preload.js
2024-05-14 12:02:55.583 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":1,"index":0,"count":0,"cells":[{"cellKind":1,"language":"markdown","source":"_Connecting to phd_model_py310_tf213 (Python 3.10.14)..._","metadata":{"isInteractiveWindowMessageCell":true},"internalMetadata":{},"outputs":[]}]}}]
2024-05-14 12:02:55.613 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":1,"index":1,"count":0,"cells":[{"cellKind":2,"language":"python","source":"import sys","metadata":{"interactiveWindowCellMarker":"# %%","interactive":{"uristring":"file:///home/stanley/Documents/project/code/stuff/mwe/vscode_interactive.py","lineIndex":0,"originalSource":"# %%\nimport sys\n"},"id":"a687621a-87f2-421b-b482-9a8202af99a1"},"internalMetadata":{},"outputs":[]}]}}]
2024-05-14 12:02:55.798 [debug] loadLocalResource - begin. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-language-features/notebook-out/index.js
2024-05-14 12:02:55.798 [debug] loadLocalResource - found resource to load. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-language-features/notebook-out/index.js, resourceToLoad=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-language-features/notebook-out/index.js
2024-05-14 12:02:55.808 [debug] loadLocalResource - begin. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/ipynb/notebook-out/cellAttachmentRenderer.js
2024-05-14 12:02:55.809 [debug] loadLocalResource - found resource to load. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/ipynb/notebook-out/cellAttachmentRenderer.js, resourceToLoad=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/ipynb/notebook-out/cellAttachmentRenderer.js
2024-05-14 12:02:55.809 [debug] loadLocalResource - begin. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-math/notebook-out/katex.js
2024-05-14 12:02:55.809 [debug] loadLocalResource - found resource to load. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-math/notebook-out/katex.js, resourceToLoad=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-math/notebook-out/katex.js
2024-05-14 12:02:55.809 [debug] loadLocalResource - begin. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/markdown.js
2024-05-14 12:02:55.809 [debug] loadLocalResource - found resource to load. requestUri=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/markdown.js, resourceToLoad=file:///home/stanley/.vscode-insiders/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/markdown.js
2024-05-14 12:02:55.866 [debug] loadLocalResource - begin. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-math/notebook-out/katex.min.css
2024-05-14 12:02:55.866 [debug] loadLocalResource - found resource to load. requestUri=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-math/notebook-out/katex.min.css, resourceToLoad=file:///var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/extensions/markdown-math/notebook-out/katex.min.css
2024-05-14 12:02:56.070 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":3,"index":1,"metadata":{"interactiveWindowCellMarker":"# %%","interactive":{"uristring":"file:///home/stanley/Documents/project/code/stuff/mwe/vscode_interactive.py","lineIndex":0,"originalSource":"# %%\nimport sys\n"},"id":"a687621a-87f2-421b-b482-9a8202af99a1","generatedCode":{"line":2,"endLine":3,"firstNonBlankLineIndex":1,"debuggerStartLine":1,"executionCount":1,"startOffset":0,"endOffset":17,"deleted":false,"code":"# %%\nimport sys\n","trimmedRightCode":"# %%\nimport sys\n","realCode":"# %%\nimport sys\n\n","runtimeLine":1,"runtimeFile":"<ipython-input-1-792c8b1b29ec>","id":"a687621a-87f2-421b-b482-9a8202af99a1","timestamp":1715680976068,"lineOffsetRelativeToIndexOfFirstLineInCell":0,"hasCellMarker":true}}}}]
2024-05-14 12:02:56.074 [debug] NotebookExecution#ctor untitled:/Interactive-1.interactive
2024-05-14 12:02:56.074 [debug] CellExecution#ctor untitled:/Interactive-1.interactive, 1
2024-05-14 12:02:56.075 [debug] CellExecution#confirm untitled:/Interactive-1.interactive, 1
2024-05-14 12:02:56.078 [debug] _performTextEdits [{"resource":{"$mid":1,"external":"vscode-notebook-cell:/Interactive-1.interactive#W0sdW50aXRsZWQ%3D","path":"/Interactive-1.interactive","scheme":"vscode-notebook-cell","fragment":"W0sdW50aXRsZWQ="},"textEdit":{"text":"Connected to phd_model_py310_tf213 (Python 3.10.14)","range":{"startLineNumber":1,"startColumn":1,"endLineNumber":2,"endColumn":1}},"versionId":2}]
2024-05-14 12:02:56.079 [error] Error: vscode-notebook-cell:/Interactive-1.interactive#W0sdW50aXRsZWQ%3D has changed in the meantime
    at o.apply (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:808:4118)
    at async g.o (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2200:24775)
    at async g.perform (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2200:24351)
    at async m.apply (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1630/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2200:26103)
2024-05-14 12:02:56.079 [warning] IGNORING workspace edit: Error: vscode-notebook-cell:/Interactive-1.interactive#W0sdW50aXRsZWQ%3D has changed in the meantime
2024-05-14 12:02:56.080 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:02:56.081 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:02:56.082 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:02:56.083 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:02:56.083 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [Output]
2024-05-14 12:03:05.817 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":1,"index":2,"count":0,"cells":[{"cellKind":2,"language":"python","source":"print(\"Hello, World!\")","metadata":{"interactiveWindowCellMarker":"# %%","interactive":{"uristring":"file:///home/stanley/Documents/project/code/stuff/mwe/vscode_interactive.py","lineIndex":3,"originalSource":"# %%\nprint(\"Hello, World!\")\n"},"id":"87ff3831-0e3f-432e-b640-1e56565a7063"},"internalMetadata":{},"outputs":[]}]}}]
2024-05-14 12:03:05.820 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":3,"index":1,"metadata":{"interactiveWindowCellMarker":"# %%","interactive":{"uristring":"file:///home/stanley/Documents/project/code/stuff/mwe/vscode_interactive.py","lineIndex":0,"originalSource":"# %%\nimport sys\n"},"id":"a687621a-87f2-421b-b482-9a8202af99a1","generatedCode":{"line":2,"endLine":3,"firstNonBlankLineIndex":1,"debuggerStartLine":1,"executionCount":2,"startOffset":0,"endOffset":17,"deleted":false,"code":"# %%\nimport sys\n","trimmedRightCode":"# %%\nimport sys\n","realCode":"# %%\nimport sys\n\n","runtimeLine":1,"runtimeFile":"<ipython-input-2-792c8b1b29ec>","id":"a687621a-87f2-421b-b482-9a8202af99a1","timestamp":1715680985818,"lineOffsetRelativeToIndexOfFirstLineInCell":0,"hasCellMarker":true}}}}]
2024-05-14 12:03:05.823 [debug] NotebookExecution#ctor untitled:/Interactive-1.interactive
2024-05-14 12:03:05.824 [debug] CellExecution#ctor untitled:/Interactive-1.interactive, 1
2024-05-14 12:03:05.827 [debug] CellExecution#confirm untitled:/Interactive-1.interactive, 1
2024-05-14 12:03:05.840 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:05.843 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:05.844 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:05.846 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:05.847 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [Output]
2024-05-14 12:03:10.889 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":1,"index":2,"count":0,"cells":[{"cellKind":2,"language":"python","source":"print(\"Hello, World!\")","metadata":{"interactiveWindowCellMarker":"# %%","interactive":{"uristring":"file:///home/stanley/Documents/project/code/stuff/mwe/vscode_interactive.py","lineIndex":3,"originalSource":"# %%\nprint(\"Hello, World!\")\n"},"id":"f17b33f7-37ec-4927-bb21-a5496b779eb1"},"internalMetadata":{},"outputs":[]}]}}]
2024-05-14 12:03:10.890 [debug] _performCellEdits [{"resource":{"$mid":1,"fsPath":"/Interactive-1.interactive","external":"untitled:/Interactive-1.interactive","path":"/Interactive-1.interactive","scheme":"untitled"},"cellEdit":{"editType":3,"index":1,"metadata":{"interactiveWindowCellMarker":"# %%","interactive":{"uristring":"file:///home/stanley/Documents/project/code/stuff/mwe/vscode_interactive.py","lineIndex":0,"originalSource":"# %%\nimport sys\n"},"id":"a687621a-87f2-421b-b482-9a8202af99a1","generatedCode":{"line":2,"endLine":3,"firstNonBlankLineIndex":1,"debuggerStartLine":1,"executionCount":3,"startOffset":0,"endOffset":17,"deleted":false,"code":"# %%\nimport sys\n","trimmedRightCode":"# %%\nimport sys\n","realCode":"# %%\nimport sys\n\n","runtimeLine":1,"runtimeFile":"<ipython-input-3-792c8b1b29ec>","id":"a687621a-87f2-421b-b482-9a8202af99a1","timestamp":1715680990890,"lineOffsetRelativeToIndexOfFirstLineInCell":0,"hasCellMarker":true}}}}]
2024-05-14 12:03:10.892 [debug] NotebookExecution#ctor untitled:/Interactive-1.interactive
2024-05-14 12:03:10.892 [debug] CellExecution#ctor untitled:/Interactive-1.interactive, 1
2024-05-14 12:03:10.894 [debug] CellExecution#confirm untitled:/Interactive-1.interactive, 1
2024-05-14 12:03:10.896 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:10.897 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:10.898 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:10.899 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [ExecutionState]
2024-05-14 12:03:10.900 [debug] CellExecution#updateExecution untitled:/Interactive-1.interactive, 1, [Output]

Coding Language and Runtime Version
Python 3.10.14
Language Extension Version (if applicable)
Python v2024.7.11341012 (pre-release)
Anaconda Version (if applicable)
mamba 1.5.1 / conda 23.5.2
Running Jupyter locally or remotely?
Local

this should be fixed in the latest insiders. Can you try updating and check if it still an issue?

It is working again, as of version
Version: 1.90.0-insider
Commit: bbc4ba1eff648ee542972589216f211b7a6a08f2
Date: 2024-05-14T05:47:50.971Z
Electron: 29.3.1
ElectronBuildId: 9464424
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.8.9-200.fc39.x86_64 snap


Where does most of the codebase come from?

Hi Patoke,
My name's Aaron and I've been fiddling with this decomp for a bit (getting it to build with the extra x64 registers and from clang+cmake instead of visualstudio, stretch goal making the thing work on native Linux for giggles) and I'm wondering how this decompilation came together. I have a few questions and I can't work out how to contact you outside of a GitHub issue so here I am:

How much of the work is your own and how much was done by Kopie?
Is it a fork of https://github.com/rspforhp/PVZdotnet-ready-to-mod (which appears to be the mobile version) or is it something else? I couldn't make sense of Kopie's public repos.
Is there a community I can talk to about the reversing effort and is it all in Chinese?
Since I don't have a windows machine to test the build in a sane environment, I don't know how much of this decomp is working but I still have already found a few bugs (mostly related to uninitiated values) which I might submit a pull request for soon. I expect they're not a problem in VS because it clobbers the exact right value for things to be coincidentally clobbered but I don't know. Anyway I'm wondering where the build is at, does it run? I expect since you're talking about achievements and stuff it probably does. I've gotten a good way through resources unpacking before it kills itself (I think Wine is having a hard time with the widechars. Or I've just messed something up..)

Thanks very much for your time and your hard work on this project I think it's very cool,
Aaron.

Hello Aaron, I hope you're having a great day.
It's great actually seeing people interested and actively working on this project and expanding onto PopCap's old game engine and the work that has been put into reversing this game
You can contact me in discord with the username "gsds" for more comfortable and casual talk about this project
To answer your questions:

Most work was done by Kopie, she had an old game build up and running almost completely flawlessly outside of some tiny mistakes, most of my work was re-reversing the game and checking for code differences between Kopie's decomp and mine (from the latest GOTY version of the game), you can check for stuff I've reversed myself by searching for comments that go @Patoke and stuff that Kopie reversed by searching for // 0x as most of my comments have the latter mentioned prefix
No, it is not a fork of that repository though it was used to aid reversing as there's not public PvZ binaries with symbols or atleast that I could find
I'm not really sure as I'm not chinese myself nor did join a community to discuss development, I just found Kopie's project very interesting and decided to expand on it as to implement the latest game functionality into it
The build for what I know is fully playable and everything seems to work fine from the playing I've done, there's still some really small problems like text in the almanac not properly formatting and a softlock when you finish a level which is supposed to show you a screen with the new stuff you got from that level like achievements and plants that I didn't finish implementing (or probably just failed to, lol) so as u mentioned, it might be a problem with Wine (though the public version of PopCap's resource system is quite unoptimized)

I have completely forgot to publish some of the scripts and tools I've used to make this project which I'll do very soon as I see some people are still interested in this project!
Best regards, Patoke.

Thanks for the excellent answer it's much appreciated :1st_place_medal:


Brigadier API

I simply linked to the Fabric wiki. We can add info on arguments, requirements and such ourselves later if we want, but this should be good enough to get the initial target audience going.


read fhi files

fhi files can be read in the GCEED part by this PR. I checked optical response with C.fhi and H.fhi files in a website
https://www.abinit.org/sites/default/files/PrevAtomicData/psp-links/psp-links/lda_fhi
with dt=1d-3 and nt=6250 (number of electrons diverged when dt=1.25d-3), and the result is similar to the one with pseudopotentials of YB type.
I asked @uemoto1 san to check this PR in a previous meeting. Could you check, @uemoto1 san?

Thank you @mn2007 san. I saw the modification is very clear and straightforward!
I will check how it works in the case of using FHI. Please wait a moment.

Thank you for checking, @uemoto1 san. Following is a picture that shows the difference.

Thank you for merging, @uemoto1 san.


Make all subdomains available for wenzao university

The students often want to use the school google or Microsoft account, the teachers mail was also previously not included.

@ludovitkramar Thank you for the update. Pull request merged.


Add logic to determine if the sender is OG

This logic will help us filter out NDP messages that do not originate from OG

So backing up, why are we filtering NDP messages like this? Happy to take this question offline too.
Also, if we are filtering, I think a CIDR-based match is the most reasonable thing to do. If we have a specific IPv6 Subnet that's ours to handle, we can just configure that. If necessary, we can split it at a high level between our routers and other addresses we assign within that space.

@clinedome the thought was to just not have to deal with other ndp messages we don't care about, as we many get many from many instances.

@zeeshanlakhani  and i discussed moving this into og and not putting the code into netbricks. i first thought the code would live in netbricks. since we might push back our fork into the upstream repo, i believe we should move this into og. we can store the filtered value in our configuration. we should be able to get the SUBNET_ID(OG_ID) at runtime from OccamConfiguration, correct?

@scrollins @clinedome yep, cool either way. Will close for now.


Expose as a bower module

Add bower.json
Discuss git submodule vs manual vs automated
Expose doc.md within bower package?

Since bower is deprecated, this should probably be moved to will not implement.

Agreed @kellcomnet2.  This was a legacy ticket around for quite awhile.  The package is available via npm and cdn in umd and es6 modules for consumption in maximum environments.  Closing this 👍


Merge changes from 'staging' to 'main' (PR #216)

Summary
Description

This PR includes changes from staging PR: https://github.com/ujala-singh/github-repository-dispatch-receiver/pull/216

Jira Ticket Links
PR Links
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactoring (restructing existing code without changing any functionality)
[ ] This change requires a documentation update

Testing Checklist
Changes tested on

[ ] staging (pre-prod)
[ ] MABL Tests Link (if any)
[ ] Successful Workflow Links (if any)

Hey @ujala-singh, your main branch PR has been automatically created. In order to merge the PR, Please test your changes on staging (pre-prod) and update the change summary and checks accordingly.

Error: The following fields are empty: Description, Jira Ticket Links, PR Links
Hint: Pull Request description is too short. Please add relevant information about the changes.


Enable per-request cancellation

supersedes #11580

We're trying to support TSServer cancelation tokens in VSCode. Any updates on this? Per request cancelation seems like a better fit for our model rather than reusing the same pipe to cancel requests

I'm working on reviving this PR, it should be ready tomorrow.

@mhegazy can you please check the latest version?


Routine(automation) issue

In the routine, there is no separate selection menu to turn on/off the main switch and other switches, and there is a problem that the main switch is unconditionally turned on. Each switch needs a separate menu to turn it on and off.

Hi,
There is a ploblem with ios app last versión.
It was repoted.
In Android app works fine


Define Homepage/Default view

So I have a lovelace view with multiple tabs for the multiple rooms.
It would be great to be able to set a homepage, so that it opens the office view by default. (The room my pc is located in)
Sadly a lovelace specific URL is not accepted by the program.

Hello,
There is a new version that now allows entering URLs for different dashboards.
For now, you can only add new URLs and an option to edit existing instances will be added in a future update

@iprodanovbg - This is great, but what if I want a URL that doesn't start with /lovelace or /energy? I want a custom dashboard to be the starting URL


Homebrew support with versioning

I think it would be great to release this on Homebrew. It would be a good idea to start releasing versions as well (even if it's in an alpha stage).

I'm open to helping you work on this project. I've been wanting to learn golang and this seems like a great introduction.

I'm open to helping you work on this project. I've been wanting to learn golang and this seems like a great introduction.

For sure @joshmedeski. Just give me a a few days to get a stable version out and I'll reach out! I'll have a better idea of what needs to be done once I finish this current round of refactors.

yes released page is waiting for corss-platfrom builds :)

wow ur the same guy who made ERDTREE and this thing
wow  UR changing the TERMINAL way 🤝  THX man
for amazing things


zoom/pan choppy on touch device

While zooming/panning works flawlessly with d3.behavior.zoom itself (e.g. in http://bl.ocks.org/mbostock/3892928) [at least on my Android 4.3 Chrome browser], it works very choppy in c3 (e.g. in http://c3js.org/samples/interaction_zoom.html).
The chart responds badly to touches, often it will not pan at all if the chart is dragged, or only a small bit, using pinch zoom often triggers the browser resize/shrink of the complete website instead of zooming the chart.
I don't know if this is at least partly a result of #1299 not calling $$.redrawEventRect(); and
$$.updateZoom();.
But debugging showed that the behaviors "zoomend" (https://github.com/masayuki0812/c3/blob/master/src/zoom.js#L13) is often not triggered when dragging the chart via touch, only "zoom" on https://github.com/masayuki0812/c3/blob/master/src/zoom.js#L10 is called, thus updating the chart correctly with redrawForZoom(), so the cause is probably something else.

+1
Android 5.0.2 + Chrome choppy too.

+1
Android 4.4.2, running on Samsung Galaxy Note 10.1 2014, using Chrome.

+1
Facing same issue in Safari and Chrome on IPad.
Please update is anyone found any solution.

Closed Issue #1331  , but seeking from response from c3 team.

+1 also experienced it on android.

Hi,
As we know that each plot point is surrounded by "c3-event-rect" class for listening to its events.
The issue can be replicated every-time when we try to zoom/pinch with two fingers across different "c3-event-rect" classes, whereas if we try to zoom with with two fingers in same "c3-event-rect" the zoom functionality works fine.
There is also a "c3-zoom-rect" class which is in the background and listens to events when points are far apart and there is gap between "c3-zoom-rect" classes. Bringing this "c3-zoom-rect" class to the foreground resolves this issue almost in 100% of the cases, BUT then normal events (like hover, click etc.) are no longer listened by "c3-event-rect" class as it goes to the background. So this is not the right solution.
Overriding "updateZoom" method by adding one extra listener on "c3-event-rects" seems to resolve the issue in most of the cases.
c3_chart_internal_fn.updateZoom = function () {
var $$ = this, z = $$.config.zoom_enabled ? $$.zoom : function () {};
$$.main.select('.' + CLASS.zoomRect).call(z).on("dblclick.zoom", null);
$$.main.selectAll('.' + CLASS.eventRect).call(z).on("dblclick.zoom", null);
$$.main.select('.' + CLASS.eventRects).call(z).on("dblclick.zoom", null);
};
This is what i could as best solution as of now, please update if someone has anything better to share.

Hello,
I just added the line of code ankitarora1990 recommended. Works like a charm!
On the iPad pan and zoom works now without any problem (so far).

@ankitarora1990  , @cool-runnings  Can you guys please tell me where did you add those lines? I opened the c3.js file with notepad++,but there is no function called c3_chart_internal_fn.updateZoom


Getting 401 Unauth. response while requesting access_token from custom OAuth provider

Hi everyone
I was trying to integrate a custom OAuth provider in superset with the following config
AUTH_TYPE = AUTH_OAUTH
AUTH_ROLES_SYNC_AT_LOGIN = True
AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = "Public"
OAUTH_PROVIDERS = [
    {
        "name": "olympus",
        "icon": "fa-icon",
        "token_key": "access_token",
        "remote_app": {
            "client_id": "<client_id>",
            "client_secret": "<client_secret>",
            "access_token_params": {
                "client_id": "client_id",
                "client_secret": "<client_secret>",
                "grant_type": "authorization_code"
            },
            "access_token_method": "POST",
            "api_base_url": "https://olympus-im-stage.phonepe.com/",
            "client_kwargs": {"scope": "email groups read write"},
            "request_token_url": None,
            "access_token_url": "https://olympus-im-stage.phonepe.com/olympus/im/v1/oauth/token",
            "authorize_url": "https://olympus-im-stage.phonepe.com/olympus/im/v1/oauth/authorize"
        }
    }
]

While following the authentication flow, I am getting 401 response while requesting for access_token
Checked with my OAuth provider but nothing has changed from their end
Below is the error
2023-06-28 09:07:14,705:DEBUG:flask_appbuilder.security.views:Provider: olympus
2023-06-28T09:07:14.708315628Z 2023-06-28 09:07:14,707:DEBUG:flask_appbuilder.security.views:Going to call authorize for: olympus
2023-06-28T09:07:14.723122503Z <IP_ADDRESS> - - [28/Jun/2023:09:07:14 +0000] "GET /login/olympus?next= HTTP/1.1" 302 851 "http://localhost:8088/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
2023-06-28T09:07:20.933369506Z 2023-06-28 09:07:20,932:DEBUG:flask_appbuilder.security.views:Authorized init
2023-06-28T09:07:20.951534214Z 2023-06-28 09:07:20,950:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): olympus-im-stage.phonepe.com:443
2023-06-28T09:07:21.904032465Z 2023-06-28 09:07:21,903:DEBUG:urllib3.connectionpool:https://olympus-im-stage.phonepe.com:443 "POST /olympus/im/v1/oauth/token HTTP/1.1" 401 255
2023-06-28T09:07:21.915088923Z 2023-06-28 09:07:21,913:DEBUG:flask_appbuilder.security.views:OAUTH Authorized resp: {'code': 'INVALID_TOKEN', 'message': 'Token data is either not available or empty', 'context': {'message': 'JWT processing failed. Additional details: [[17] Unexpected exception encountered while processing JOSE object (java.lang.NullPointerException): null]'}}
2023-06-28T09:07:21.915850840Z 2023-06-28 09:07:21,915:ERROR:flask_appbuilder.security.views:Error returning OAuth user info: 'access_token'
2023-06-28T09:07:21.925776173Z

Can you please help in resolving this as we are blocked on this for some quiet long time to complete the OAuth integration

That error's come from your OAuth provider, not from superset; you'll have to try to debug against the OAuth component you're trying to integrate and/or raise an issue with that project.

@giftig sure we are checking with them as well, but as per the config is concerned, do you see any miss in that config from our side or its all good ?

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


Fix cargo run --example mnist

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Fixes https://github.com/burn-rs/burn/issues/89

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Only changes the example

I was surprised I figured it out myself. Cool project, thanks for sharing it!


Publish package to PyPI

Hey @buanzo. Nice work on the follow-up changes to the Injector plugin. Following are some things I noticed upon returning to my desk and reviewing the recent developments:

#1 was merged before it was fully ready. When you see commits prefixed by fixup! […], those are intended to be squashed into their parent commits before the PR is merged. So what I was looking for in that case was a PR review and approval, after which I would have squashed the commits and merged the PR. Not a big deal, of course. Just something to keep in mind for the future in order to keep commit history somewhat organized and tidy.
There is (another) copy+paste fail in the badge links in the README.
The contents of #1 were manually tagged with 1.0.0 and a GitHub release was added manually, whereas these steps are usually handled automatically in CI via AutoPub and GitHub Actions.

Regarding fixing the latter two issues, I'd like to do the following:

Fix the README badge links.
Remove the 1.0.0 tag and GitHub release.
Use AutoPub to publish the contents of current main as 1.0.0 on GitHub and PyPI.

Any objections if I go ahead and take these remedial actions?

I appreciate your explanation and kindness. No objections. Thank you again.
On Mon, Jul 3, 2023, 06:38 Justin Mayer @.***> wrote:

Hey @buanzo https://github.com/buanzo. Nice work on the follow-up
changes to the Injector plugin. Following are some things I noticed upon
returning to my desk and reviewing the recent developments:

#1 https://github.com/pelican-plugins/injector/pull/1 was merged
before it was fully ready. When you see commits prefixed by fixup! […],
those are intended to be squashed into their parent commits before the PR
is merged. So what I was looking for in that case was a PR review and
approval, after which I would have squashed the commits and merged the PR.
Not a big deal, of course. Just something to keep in mind for the future in
order to keep commit history somewhat organized and tidy.
There is (another) copy+paste fail in the badge links in the README.
The contents of #1
https://github.com/pelican-plugins/injector/pull/1 were manually
tagged with 1.0.0 and a GitHub release was added manually, whereas
these steps are usually handled automatically in CI via AutoPub
https://justinmayer.com/projects/autopub/ and GitHub Actions.

Regarding fixing the latter two issues, I'd like to do the following:

Fix the README badge links.
Remove the 1.0.0 tag and GitHub release.
Use AutoPub to publish the contents of current main as 1.0.0 on
GitHub and PyPI.

Any objections if I go ahead and take these remedial actions?
—
Reply to this email directly, view it on GitHub
https://github.com/pelican-plugins/injector/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEHBTY7HFHBEKVURH22TNDXOKHJHANCNFSM6AAAAAAZ4GHL44
.
You are receiving this because you were mentioned.Message ID:
@.***>

My pleasure, Arturo. I made the above-mentioned changes and utilized the existing auto-publish infrastructure to re-tag and release 1.0.0 to GitHub and PyPI. 🎊
It's been a pleasure to collaborate with you. I look forward to further enhancements to the plugin as well as to your continued participation in the greater Pelican community. 🌟

I am already working on some ideas  learning a lot! I like publishing
packages manually, but your auto pub looks amazing. Will use it! Thank you
and the community for this amazing Pelican ;)
Gracias!
On Thu, Jul 13, 2023, 09:48 Justin Mayer @.***> wrote:

My pleasure, Arturo. I made the above-mentioned changes and utilized the
existing auto-publish infrastructure to re-tag and release 1.0.0 to GitHub
https://github.com/pelican-plugins/injector/releases/tag/1.0.0 and
PyPI. 🎊
It's been a pleasure to collaborate with you. I look forward to further
enhancements to the plugin as well as to your continued participation in
the greater Pelican community. 🌟
—
Reply to this email directly, view it on GitHub
https://github.com/pelican-plugins/injector/issues/4#issuecomment-1634184905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEHBT6HKGTDY5WDHDT5OCTXP7VATANCNFSM6AAAAAAZ4GHL44
.
You are receiving this because you were mentioned.Message ID:
@.***>


ansible: restore selinux to enforcing

Rather than setting selinux to permissive on all nodes, leave selinux enforcing and specify the unconfined spc_t container type for the kube-addons containers. For more on spc_t, see: http://danwalsh.livejournal.com/74754.html. See also https://github.com/kubernetes/kubernetes/pull/37327.
I tested this with centos atomic host.

This change is

@redhat-k8s-bot test please

It looks like this failed for fedora on an error syncing the updates-testing repo on one of the nodes -- I don't think this is related to the change. Also, is updates-testing what we want for fedora?


md5 throw

on Node, when saving a Image3DAlt with PixBinEncoder,  md5() crashes

Updated with new version of js-md5 that has a better Node support.


Remove useless config Level in logger;

Support remote logger, which support sealer to continuosly post logs to a remote URL.

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

I will use logrus hook to implement this feature.


Gene list clear button (Feature request)

Currently you have to scroll through and select to clear (or close the tab).  A similar feature might be useful for the trait and keyword box also

Implemented by @manlikleo - See PR: https://github.com/Rothamsted/knetminer/pull/613


updated dispatch workflow

setting recent version for the Dispatching Workflows
https://github.com/marketplace/actions/workflow-dispatch

closes #1723

helpful https://github.com/orgs/community/discussions/26705

secrets doesn't work by forks


Create readme with contribution guide

Create a readme with the main guide to new contributors.

Language
Establish folder hierarchy
Name convention
Rules for third party assets
License

Doc for reference:

It would be nice to create this in a CONTRIBUTING.md

So we can keep in the README just an overview of the project

When your contribution is accepted just add the reference in the readme.

It would be nice to create this in a CONTRIBUTING.md

I will be merging this doc into the project, but before doing that I need to see some of the content you want to add in there. Give some example! 👍

Guidelines revamped. Thank your for your contribution.


the editor using autocomplete not well

I tried to add autocomplete to editor like in examples on ace page
ace homepage (when i press ctrl+space i see variants from snippets)
by following instructions on ace wiki page
but it would't work well: jsfiddle
(i can`t see autocomplete box, but can select one of the variants by using arrow keys)

The specified plunker is not working


How to add a class to the editable-text generated form?

I have an editable-text element

. My styling centers the

 at the bottom of it's parent

.
When

 is selected and becomes editable the generated form pulls the

 out of it's original position, out of view in my case. All that I can see is the cursor icon.
setting e-class adds a class to the generated input which lets me set styles on it. But I'm restricted by the generated form.
Adding margin: 138px auto 0; to the generated form in chrome inspector puts it back to the desired position.
Is there a way to add a class to the form generated when using  editable-text?

No, there currently is not a way to do this.


rdf: Include @context in JSON-LD context

The context file is not valid without the @context entry

Ah, I didn't know which is the correct form of context files, that's why I left both lines in (one as a comment).
Let me repeat, just to make sure.
I know that, when the @context is inline, the format is:
{
  "@context" : {
    "foo": "https://example.com/rdf/foo"
  },
  "foo": "bar"
}

When the @context is provided externally, the data format is:
{
  "@context" : "http://example.com/rdf/examplecontext.jsonld"
  "foo": "bar"
}

Are you saying that the examplecontext.jsonld file should not simply contain
{
  "foo": "https://example.com/rdf/foo"
}

but rather
"@context" : {
  "foo": "https://example.com/rdf/foo"
}

Or should this be
{
  "@context" : {
    "foo": "https://example.com/rdf/foo"
  }
}

?

Ah, I didn't know which is the correct form of context files, that's why I left both lines in (one as a comment).
Let me repeat, just to make sure.
I know that, when the @context is inline, the format is:
{
  "@context" : {
    "foo": "https://example.com/rdf/foo"
  },
  "foo": "bar"
}

When the @context is provided externally, the data format is:
{
  "@context" : "http://example.com/rdf/examplecontext.jsonld"
  "foo": "bar"
}

Are you saying that the examplecontext.jsonld file should not simply contain
{
  "foo": "https://example.com/rdf/foo"
}

but rather
"@context" : {
  "foo": "https://example.com/rdf/foo"
}

Or should this be
{
  "@context" : {
    "foo": "https://example.com/rdf/foo"
  }
}

^^ This one

?


Scrollbar rightclick menus alternate between the scrollbar one and the editor one

To Reproduce
Rightclick a scrollbar, then rightclick the same scrollbar.
Expected behavior
You always get the scrollbar rightclick menu.

Please don't delete the issue template - what OS is this?

Version

OS: win11 22631.4169
Build (or commit ID if built from source): <IP_ADDRESS> from msstore


Cannot connect to Casambi in HA

Hi,
I'm logging an issue with my CASAMBI config (0.69) in HA (core-2022.5.5). I raised the topic in the "casambi ble light support" thread, but was request to log it here. Many thanks already for the support.
I’ve done the following:

Installed CASAMBI via HACS
Created a site within my Network via my Casambi iphone app. Both Site & Network with same email address and ADMIN rights
added the credentials into YAML (email, network password & site password)
enabled the gateway function on my iphone
… yet it doesn’t work. Or perhaps it works - but I don’t know it does :slight_smile: I should see the lights as an entity within HA, right?

These are the references to CASAMBI in the debug log:

2022-05-30 21:13:17 ERROR (MainThread) [custom_components.casambi.light] Connected to casambi but couldn't log in
2022-05-30 21:13:04 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration casambi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

thanks in advance!
Mischa

Hi,
Please set the log level to debug, you can do that by adding following to your configuration.yaml:
logger:
  default: info
  logs:
    homeassistant.components.casambi: debug
    custom_components.casambi: debug
    aiocasambi: debug

Also please try Casambis login example https://developer.casambi.com/#rest-api:
curl -X POST "https://door.casambi.com/v1/users/session"
-H "Content-Type: application/json"
-H "X-Casambi-Key:API-KEY-HERE"
-d "{\"email\":\"EMAIL-HERE\",\"password\":\"PASSWORD-HERE\"}"

If that doesn't work you need to contact Casambi support, so they can see the reason why you can't login.
You can also try the casambi/aiocasambi api:
  import casambi

  api_key = 'REPLACEME'
  email =<EMAIL_ADDRESS>  network_password = 'REPLACEME'
  user_password = 'REPLACEME'

  worker = casambi.Casambi(api_key=api_key, email=email, user_password=user_password, network_password=network_password)
  worker.create_user_session()
  worker.create_network_session()

Hi,
I've added the debug part. Please see below from log:
2022-05-31 19:42:18 DEBUG (MainThread) [aiocasambi.controller] Create session called!
2022-05-31 19:42:18 DEBUG (MainThread) [aiocasambi.controller] Creating user session
2022-05-31 19:42:18 DEBUG (MainThread) [aiocasambi.controller]  headers: {'Content-type': 'application/json','X-Casambi-Key': 'XYZ'} auth: {'email'<EMAIL_ADDRESS>'password': 'XYZ'}
2022-05-31 19:42:18 DEBUG (MainThread) [aiocasambi.controller] Not sending websocket ping, current_time:<PHONE_NUMBER>.6418753, last websocket ping:<PHONE_NUMBER>.6411803
2022-05-31 19:42:18 DEBUG (MainThread) [aiocasambi.controller] request url: https://door.casambi.com/v1/users/session

2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] request: 200 application/json <ClientResponse(https://door.casambi.com/v1/users/session) [200 OK]>
<CIMultiDictProxy('Date': 'Tue, 31 May 2022 17:42:20 GMT', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'POST,GET,OPTIONS,PUT,DELETE,HEAD', 'Access-Control-Allow-Headers': '*', 'Access-Control-Max-Age': '728000', 'Access-Control-Allow-Credentials': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Content-Length': '606', 'Server': 'Jetty(9.2.11.v20150529)')>

2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] create_user_session data from request {'sessionId': 'DFxrYdctUM311wh8YQz0peBoDBF2MkLx7NCfThz6J8sl3MGIkrxsbLQzRybDy-.7F6TgHKOu4XfMHCOrEIQwvg__', 'sites': {'FoBFc2OZkjgxa2l2R9imeQFHUU8QFSzF': {'name': 'Casambi _Site', 'address': '', 'role': 'ADMIN', 'networks': {'PzxWqzPUxc2tqJFgnU8HXmZzIRmQKoYr': {'id': 'PzxWqzPUxc2tqJFgnU8HXmZzIRmQKoYr', 'mac': 'ABC', 'address': 'ABC', 'name': 'Casambi', 'type': 'OPEN', 'grade': 'EVOLUTION', 'role': 'ADMIN'}}}}, 'networks': {'PzxWqzPUxc2tqJFgnU8HXmZzIRmQKoYr': {'id': 'PzxWqzPUxc2tqJFgnU8HXmZzIRmQKoYr', 'mac': 'ABC', 'address': 'ABC', 'name': 'Casambi', 'type': 'OPEN', 'grade': 'EVOLUTION', 'role': 'ADMIN'}}}
2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] user_session_id: DFxrYdctUM311wh8YQz0peBoDBF2MkLx7NCfThz6J8sl3MGIkrxsbLQzRybDy-.7F6TgHKOu4XfMHCOrEIQwvg__
2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] Creating network session
2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] headers: {'Content-type': 'application/json', 'X-Casambi-Key': 'XYZ'} auth: {'email'<EMAIL_ADDRESS>'password': 'XYZ'}
2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] Not sending websocket ping, current_time:<PHONE_NUMBER>.5940104, last websocket ping:<PHONE_NUMBER>.6411803
2022-05-31 19:42:20 DEBUG (MainThread) [aiocasambi.controller] request url: https://door.casambi.com/v1/networks/session

You get a 401 HTTP response from the api, that's whats failing. So something is wrong with your credentials, I cannot see what the server side is saying.
Can you try out the console https://developer.casambi.com/#rest-api or the python api(s) directly, like:
 import casambi

  api_key = 'REPLACEME'
  email =<EMAIL_ADDRESS>  network_password = 'REPLACEME'
  user_password = 'REPLACEME'

  worker = casambi.Casambi(api_key=api_key, email=email, user_password=user_password, network_password=network_password)
  worker.create_user_session()
  worker.create_network_session()
  units = worker.get_unit_list()

Please try to comment out either create_user_session or create_network_session if they don't work

I released a new version with better logging so it will be easier to see on which request the 401 is generated on.

I think you have to double check the credentials, its using the same POST request, so if the console fails the casambi integration will fail as well.
Also please set the configuration for the credentials in configuration.yaml:
light:
  - platform: casambi
    email: !secret casambi_email
    api_key: !secret casambi_api_key
    network_password: !secret casambi_network_password
    user_password: !secret casambi_user_password # The site password for your user

You can also use CURL to test the credentials:
curl -X POST "https://door.casambi.com/v1/users/session"
-H "Content-Type: application/json"
-H "X-Casambi-Key:API-KEY-HERE"
-d "{\"email\":\"EMAIL-HERE\",\"password\":\"PASSWORD-HERE\"}"

curl -X POST "https://door.casambi.com/v1/networks/session"
-H "Content-Type: application/json"
-H "X-Casambi-Key:API-KEY-HERE"
-d "{\"email\":\"EMAIL-HERE\",\"password\":\"PASSWORD-HERE\"}"

You can find more curl examples in Casambis documentation: https://developer.casambi.com/#rest-api

Thanks - indeed the credentials were incorrect. I think I must have overwritten my network password with that of the CASAMBI website password. I logged off and did a reset and that has been the missing link.... :-) In the meantime I can see the series of CASAMBI lights in HA and I've configured them onto a dashboard. Many thanks for helping out!!!!


material navigationBar's default back arrow

GitHub Issue (If applicable): closes #1227

PR Type
What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Tested the changes where applicable:

[ ] UWP
[ ] WinUI
[ ] iOS
[ ] Android
[ ] WASM
[ ] MacOS

[ ] Updated the documentation as needed:

[ ] General Doc Update
[ ] Controls Doc Update
[ ] Extensions Doc Update
[ ] controls-styles.md
[ ] lightweight-styling.md (LightWeight Styling Resource Keys)

[ ] Runtime Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Contains NO breaking changes
[ ] Associated with an issue (GitHub or internal)
[ ] Commits must be following the Conventional Commits specification.

Other information

Internal Issue (If applicable):

/azp run

@Kunal22shah it looks like some runtime tests for mobile platforms are failing. We may have caused an unwanted change for the mobile NavigationBar somehow.
Also, the docs validation task is failing with some lifting rules

This needs to merge first: https://github.com/unoplatform/Uno.Themes/pull/1473

@Kunal22shah can you now bump uno.material to 5.3.0-dev.4 and validate it looks ok?

@kazo0 Done, looks good!

@Mergifyio backport release/stable/6.2


Cosmos: Unstake Input

d. Unstake - Input (Mockup)
As a user, I want to be able to input the amount of Cosmos or Osmos that I want to unstake.

Unstake [Asset]

Copy: It will take x days to unlock your [Asset] after you unstake. Staking rewards will need to withdrawn separately.

x = the number of days for the respective Cosmos SDK chain’s unbonding period

[Asset] Staking Balance: Amount in crypto of asset staked
Amount to Unstake:

Users can click the [Asset]/[Fiat] toggle to toggle input mode between crypto and fiat
if user inputs in fiat, the crypto amount is populated
if user inputs in crypto, the fiat amount is populated

25%/50%/75%/Max Toggle

If a user selects a %, that % of their staked balance is input
Default selection is Max

Continue

If no amount is input, the Continue button is disabled
If the user has a valid amount input, the “Continue" button is active
If the amount a user has input is greater than a user’s staked balance, the Continue button disables, turns red, and displays “Insufficient Funds”
If the amount the user has input is less than their balance and the estimated fee & buffer, the Continue button is active
If a user clicks “Continue,” they are routed to the Unstake - Confirm step

Closed by #1070


[proposal] Service affinity constraints

Hi All,
Would be extremely useful to have more flexibility with constraints.
sort of:
--constraints "service.name != myservice"
What are the current limitations in achieving this?
Cheers.

@pcittadini Can you tell some real life use case for this one?
Current solution looks to be on https://github.com/docker/swarmkit/blob/6553bbe191a21d4100e5d76ace27e3d5c59ef16d/manager/scheduler/filter.go#L240-L243
so this would need new code which also supports constraints with service details.

I require to run some containers on the same host (pod-like behavior). Use cases are local volume-sharing, socket sharing, or for example simply ensuring that the database sits on the same host as the application. The latter reduces chances of downtime - eg if host1 which runs the app goes down, the app is down, but if host2 goes down which runs the dB, the app also goes down/becomes unavailable. Also performance, when they would run on the same node; all traffic stays on that node rather than going over the network.
Plenty of more cases I can come up with, these are the ones I run into a lot as my swarm scales further.


To avoid incorrect usage that leads to duplicate elements.

If the user needs to update an element, but the error enables replace_deleted when calling the addPoint interface, it may result in multiple elements with the same label. By adding additional restrictions within the interface, we can effectively help users use it correctly at a small cost.

Hi @LIBA-S,
Thanks for the pull request! I wonder, maybe instead of throwing an error, use the default update the element (replace_deleted=false)?
I thought that replace_deleted is used to save RAM, which is also the case of updating the element. If the RAM logic applies, I guess there should not be a need to throw an exception.

replace_deleted is a good option as it can reuse the memory space that has been marked as deleted when inserting new elements. However, if the user's intention is to update an existing element, but the replace_deleted is enabled at the same time, it may result in two nodes in the graph having the same user label. If the user relies on the label to retrieve documents, this could lead to returning duplicate data.
Consider the following sequence of operations:

addPoint(vec_a_1, label_a, true)
addPoint(vec_b_1, label_b, true)
makeDelete(label_b)
addPoint(vec_a_2, label_a, true)    // In fact, the replace_deleted should not be enabled.

In this example, what the user actually intended to do was to update vec_a_1 with vec_a_2. However, due to incorrect use of replace_deleted, there are now two nodes in the graph with the same label_a. If the user searches for the top 3, two label_a nodes will be returned. If the user does not deduplicate label_a, this could lead to duplicate results. The purpose of this submission is to ensure a unique correspondence between user labels and valid nodes in the graph, making it easier for users to troubleshoot issues.

Yeah, I see your point about the current incorrect behavior.
I wonder, if we should alter the code, so it would ignore replace_deleted in case the label exists (similar to the situation when we don't have any deleted element), instead of throwing an exception?

Sorry, I didn't get the point at first. Ignoring the user's mistake may be a good option from a user experience perspective. However, I believe that if the user makes a mistake, it should be corrected. At the same time, this approach may be more controllable and cost-effective.

Can you explain in more details why it should be considered a user mistake and user should be alerted about it?

In fact, when we used this interface in the project, we encountered the execution sequence in the above example, which caused the search to return two data with the same label. Choosing to help users ignore this option is a good choice and can avoid the above problems. Our starting point for choosing to report an error is to consider code stability and performance. The current change only affects the path of adding new nodes, and the impact is small and the execution is fast. Once the user corrects the usage by throwing an exception, the performance loss brought by this change can be almost negligible. If we choose to ignore it, there will inevitably be more pre-judgment logic, which will lead to a larger code change.
From the perspective of code design, I think your choice is more correct, and this should not be considered an exception. I plan to revoke this MR, thank you for your patient response.

Hi @LIBA-S,

If we choose to ignore it, there will inevitably be more pre-judgment logic, which will lead to a larger code change.
Can you please elaborate on that?

Note that I do not argue that there is bug that needs to be fixed. I want to understand what is the best bug solution in terms of long-term API (which will be set in stone after this change).
I see at least two solutions:

treat replace_deleted=false for the elements that are updated as a user mishandling the API as proposed in the PR.
ignore   replace_deleted=false for the elements that are updated. Basically calling addPoint(data_point, label, -1);  in the condition https://github.com/nmslib/hnswlib/pull/487/files#diff-ab27cbb27975c68cb0c6da824871058623f7f76a761c3c8365ef2e1395cf7cd9R898-R903 similar to the case when there is no vacancy.

I thought that 2 is the better option which also (I think) fixes the stability, but I might be not understanding side effects of that decision (so asking for clarifications).


Init timeout rethinkdb conn

resolves #1337
Adds a unit test and some cosmetic changes over #1434

Codecov Report

Merging #1512 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1512   +/-   ##
=======================================
  Coverage   98.41%   98.41%
=======================================
  Files          58       58
  Lines        2779     2779
=======================================
  Hits         2735     2735
  Misses         44       44


TransFi

TransFi is building a decentralized transport network to increase functionality in the transport sector. We mapped out three important solutions:

Payment Protocol: Crypto Payment API
Proof of location: Referencing nodes on the GPS as decentralized nodes, and validators can confirm each nodes and earn TFI in return
Proof of verification: verifying each user and transport provider on blockchain.
You can check out the project on TransFi.net

TransFi is building a decentralized transport network to increase functionality in the transport sector. We mapped out three important solutions:

Payment Protocol: Crypto Payment API
Proof of location: Referencing nodes on the GPS as decentralized nodes, and validators can confirm each nodes and earn TFI in return
Proof of verification: verifying each user and transport provider on blockchain.
You can check out the project on TransFi.net

Thanks for the application. I am going to close this one as the new proposals should be at https://community.iotex.io/c/halo-grants/61/


Circle ci

@bgauduch this one should be ready for review. Some more tests with tags might be useful though before shutting down dockerhub automated builds. WDYT ?

Yes we can do a tag test once it's merged in master 😉

And "PAF" as they say in France


fixed a bug in batch algorithm

Current coverage is 89.79% (diff: 100%)

Merging #22 into master will not change coverage

@@             master        #22   diff @@
==========================================
  Files            12         12
  Lines           764        764
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            686        686
  Misses           50         50
  Partials         28         28

Powered by Codecov. Last update 4014f37...384131e


Fix blame row height alignment (#15863)

Backport of #15863

fix blame row alignment on firefox
fix blame row alignment in chrome
fix blame row alignment in safari

:rocket:


Why is sandbox = false?

This project is great! I'm just curious as to why the default nix.conf has sandbox = false set?

Probably because nix-in-docker does not work with an extra layer of sandboxing?


chore: 🤖 Fix getPermissions tests for 100% coverage

:tada: This PR is included in version 14.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 14.0.0-alpha.15 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CLOUD-444 check user resources instead of user deletion

@doktoric

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1419/


Cached query results returned

(So far as I can tell), there's no way to prevent getting cached query results from SFDC using conn.query().  I'm initializing some UI components with the results of a query.  If I navigate away from that page, then return to the page using the "back" button, the browser uses the cached query results on page load rather than querying SFDC a second time.

It seems out of JSforce's scope. You can cache the queried result within your app code.

I think you're misunderstanding.  I'm using JSForce from a browser, and I don't want the browser to cache the query results.  Unfortunately, there's no way to prevent the browser from caching the query the second time it's issued.
An easy fix is to append a timestamp to the query string when making the query call to SFDC.  However, there isn't really in easy way to introduce that as an option into the API.

OK, understand - browser cache invalidation.

I have noticed that if I use the 15 character Id I get a cached result but when I use an 18 character Id it seems to re-query the data.  Usually in the context of a visualforce page, you have access to the 15 character Id via a Url parameter. I would convert this to the 18 character version before you start running the query() method.

That doesn't really make sense to me, unless somehow the 18-char ID is different from request to request.
Also, this wasn't just a query() issue.  This was happening in many different API calls (metadata, etc.).


WindowsDriver Fixes

Here's part of the code in question:
In WindowsDriver.cs
#if HACK_CHECK_WINCHANGED
	readonly ManualResetEventSlim _winChange = new ManualResetEventSlim (false);
	bool _winChanged;
	Size _windowSize;
	void CheckWinChange ()
	{
		while (_mainLoop != null) {
			_winChange.Wait ();
			_winChange.Reset ();

			// Check if the window size changed every half second.
			// We do this to minimize the weird tearing seen on Windows when resizing the console
			// TODO: Do this in a timer or some other alternative, rather than hot-looping with a sync pause
			while (_mainLoop != null) {
				// ReSharper disable once AsyncApostle.AsyncWait
				Task.Delay (500).Wait ();
				_windowSize = _winConsole.GetConsoleBufferWindow (out _);
				if (_windowSize != Size.Empty && (_windowSize.Width != _consoleDriver.Cols
								|| _windowSize.Height != _consoleDriver.Rows)) {
					break;
				}
			}

			_winChanged = true;
			_eventReady.Set ();
		}
	}
#endif

This one has a couple of problems.

It ties up a whole thread pool thread and does not yield it, which is really expensive.
If it ever deadlocks or throws an exception, for any reason, it'll never get executed again until the application is restarted. And, with the Wait method, deadlocks are a common, non-deterministic, and unpredictable risk, because some of the decision of how, when, and where to execute isn't made until later stages of JIT tiered compilation during run-time or, in some cases, purely in logic in final JIT-compiled code at run-time.

This is probably best to be handled via any of the various timers provided by the framework, which very easily enables solving both problems.

It automatically eliminates the need for the Wait call
It removes the need for the hot loop(s)
It can be stopped implicitly at Disposal time of MainLoop, so the null checks go away too
Timing of execution/dispatch is more consistent
If any individual run of the event fails, it doesn't stop the timer from raising it at the next interval, so it's no longer fragile
It doesn't ever block
Unless some other dependency is added later, it also won't deadlock
The interval can still be adjusted, the timer can be stopped and started at will, etc, if any of those operations are ever needed
That timer can be used for other periodic housekeeping, too, conferring any of the above relevant benefits on that code as well as eliminating additional synchronization primitives currently in use and simplifying things.

There's literally no downside to it.

There's an opportunity, here, to do some massive cleanup and improvements with very very low effort, around all the PInvokes.
There's a source generator nuget package Microsoft has that takes the names of methods, libraries, or whatever else you want in a simple text file and then generates the PInvoke methods and all associated types, along with intellisense/xmldoc!
I am playing with it in a test branch off of this branch at the moment and am thinking I'll go ahead and fire up an issue for it and just DO it. It works really well.
It also comes with implicit benefits for compilation on non-windows platforms without us having to end up writing conditionals for the preprocessor and such (well...not as many, anyway), to slim down the output on those platforms.
They used to also have a nuget package that simply had a bunch of precompiled pinvokes, but they stopped that a year or two ago and this is its much better successor.
It currently doesn't generate code using the latest and greatest features of the language, but that's really no big deal. And, if we want to tweak anything it generates, we can always grab the generated output and put it in a regular .cs file. They're all generated as partial, so they're all extensible even without doing that.


Add 00-intro.md

More comment can be typed here for more lines.
Such as line1
Line2
@winsonliwh

It is good work!

@winsonliwh
May I request your approval?


Tasks in chain lost task name

First, Thank you for your excellent work!
I have a chain task which has two tasks, the first task shows right in Tasks page, but the second shows "Task name not yet received" in task name column and no route and queue info. But the second task shows right in Flower. The two are in different queues.

Found that it is a bug when api validate the payload. In chain tasks, the child task except will not generate the task-sent event. In that situation, in my environment, the workers will generate 3 events in one payload, it is task-received, task-started and succeed. But in leek/api/schemas/serializer.py' validate_payload() function, this will generate 3 Task with same id, so when validated_payload.update(validate_event(event, app_env)), Task will be updated with last succeed status which has no name.

@junnikokuki Leek performs upserts to update tasks, task name is sent only by clients' task-sent event and workers task-started event. if you didn't configure your clients to send task-sent events and you didn't configure your workers to send task-started events, leek will not be able to show the task names. follow celery docs to instruct celery clients to send task-sent events https://docs.celeryproject.org/en/stable/userguide/configuration.html#task-send-sent-event and instruct celery workers to send task-started events https://docs.celeryproject.org/en/stable/userguide/configuration.html#task-track-started
Leek is showing Task name not yet received because events are sent unordered and if task-succeeded event is received before task-sent event, then leek will show Task name not yet received. if your celery clients(eg: api) did not send task-sent event at all. leek will keep showing Task name not yet received.
task-succeeded event does not remove task name from task document because task name is not sent by task-succeeded event and Leek is upserting not overwriting task document, you can check celery docs https://docs.celeryproject.org/en/stable/userguide/monitoring.html#task-succeeded
Please follow Leek requirements guide to make sure you have the best monitoring experience https://tryleek.com/docs/introduction/requirements

Yes, I have configured the client to send task-sent event, but the chain task which has child tasks will not generate the task-sent event of the non-first-child-task. Maybe this is a celery bug.

Glad to see you have fix the bug in the recent commit. Thank you.

@junnikokuki  did your issue got resolved after upgrading to version 0.5.5? because I'm not sure if the recent refactoring in 0.5.5 somehow fixed the issue.

Yes, the bug is fixed on my usage.

Awesome 🎉, closing!


✅ ☑  Add Option to remove border for embedded charts

Is your enhancement related to a problem? Please describe.
At the moment, the border can be removed from the embedded charts by manually adjusting the iframe code and enhancing it with ?disableBorder=true.
Describe the solution you'd like
The option to remove the border of an iframe should be made available to all users directly in the UI, so that they can choose to directly copy the iframe code with our without a border.
Per default the iframe snippet should include the border (this decision was made in the weekly call on 22.10.2024 so that existing published charts are not suddenly different). When the user selects "Remove border" (UI Copy tbd) and copy the code snippet  the border is removed.

Describe alternatives you've considered
Leave as is.
Usecases and impact
This is becoming increasingly relevant for users who want to embed charts into their website and have more customization options. The initial request came from zazuko as it was needed for a BLW project https://blv-dashboard.zazukoians.org/food_and_nutrition/meat-inspection-statistics/meat-inspection-statistics-ch
Not in Scope
This issue only covers adding an option to the existing iframe / share menu. A preview of the different iframes or similar is not in scope and will need to be discussed prior to any implementation.
Additional context
Gitlab Issue: https://gitlab.ldbar.ch/bafu/visualize/-/issues/701

Decision: We will only have the "remove border" option for single charts
@noahonyejese

Thanks for the refinement @noahonyejese LGTM! 👏

@noahonyejese when testing on INT the border option is still available for tabs and dashboards
Tab example: https://int.visualize.admin.ch/en/v/CjRciHD7YP7S?dataSource=Prod
Dashboard example: https://int.visualize.admin.ch/en/v/F6FU0bjgBEg0?dataSource=Prod
not sure if the wrong PR got merged, please check


add Chinese doc in ops(sum, zeros, zeros_like, ones, ones_like, mm, elemenwise_equal, elememtwise_sum, sort, argmax), test=develop

sum

zeros

zeros_like

ones

ones_like

mm

elementwise_equal

elementwise_sum

sort

argmax

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

补一个ones_like的预览图


Rename PR_TEMPLATE.md to PULL_REQUEST_TEMPLATE.md

wrong name meant it wasn't actually being used.
Some github docs about the correct name:
https://blog.github.com/2016-02-17-issue-and-pull-request-templates/
https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/

/lgtm

/assign @duglin @jberkhahn

/approve


RFC-0030 - Add support to Diego for file based service bindings

[x] Read the Contributing document.

Summary
This PR is continuation for the RFC-0030
Backward Compatibility
Breaking Change? No
This feature is the first PoC for RFC-0030.
Since the CAPI implementation for RFC-0030 is not done yet, the PR doesn't need to be applied immediately.

Hello @ameowlia, all comments were addressed.


my app crashes after kill from history when I try to rerun it on an iPhone (Android runs fine) .

I'm trying to build a simple app using Flutter for iOS and Android, but the app crashes on startup when I try to run it on an iPhone (Android runs fine).
I've been digging around some more and it looks like the crash is related to the Firebase dependencies. If I create the Flutter demo project (flutter create ), it runs fine on iOS. However if I then add Firebase packages to pubspec.yaml, and manually add GoogleServices-info.plist, the app crashes on rerun without android studio or xcode(from my iphone).
No error
flutter doctor:
[✓] Flutter (Channel master, 1.24.0-6.0.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-JO)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Android Studio (version 4.1)
[✓] Connected device (1 available)
! Error: iPhone is busy: Copying cache files from device. Xcode will continue when iPhone is finished. (code -10)
• No issues found!

Hi @mohammad-alshelleh
From what I can see, the issue is related to a FlutterFire plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


Review shifted CRS parameters

Some of the CRS have additional type parameters to shift the origin (e.g., x0, y0, lon0). We also have the ShiftedCRS type to make this shift work with any CRS type. We need to review this machinery to simplify dispatch and avoid code duplication with ShiftedCRS.

Closed by #157


How to hide the controls and show only video view?

Hi,
@abbasfreestyle first of all I would like to thank you for this awesome library. I am using it for past many days. You have handled almost everything. My question is how to hide the time seek, play button. I only want to show the video.
Thanks

Hey @abbasfreestyle , this library was built specifically for the controls, UI, fullscreen mod and so on. If you need a play/pause sample without additional UI elements, head to react-native-video and use the basic example.
Another option would be to set theme color to transparent on the item you don't want to see (  title: "transparent", more: "transparent", center: "transparent" )  - this will make the Play/Pause icon, More and Title transparent. (highly unrecommended for the bottom icons though).
Good luck!

I would mention though if you want to use both modules, react-native throws an error Tried to register two views with the same name RTCVideo
so an option would be great for when you need videos both with and without controls.
Or alternatively fix the conflict.

Yes, it would be great, if both the options are provided as mentioned by @prevuelta . For the time being I am using the approach mentioned by @vforvasile . But still seekbar is not getting transparent.


feat(DatePicker): Migrate to react-day-picker v8

Related issue
#2871
#2872
Overview
Work in progress PR to migrate DatePicker to react-day-picker v8.
Link to preview
todo
Reason
To resolve various accessibility and keyboard navigation problems.
Work carried out

[x] Migrate DatePicker to react-day-picker v8
[x] Fix bug with shading of keyboard range selection when second date is blurred
[x] Focus selected date or current date on open

Demo
todo
Developer notes
todo

@c9qsm62x It was added for coverage IIRC as those code paths still exist in the useInput hook.
I think the test has stopped doing what it was meant to since user-event was updated to v14 – fireEvent.keyDown(input, { key: 'Enter' }) probably makes more sense.

Test
DatePicker › when a single date picker is rendered and the picker is opened › when Shift-Tab is pressed once › traps the focus within the picker
it looks like this behaviour has changed in V8
https://react-day-picker.js.org/basics/keyboard#example
Having a look at this example it looks like when a date is in focus and you press shift+tab it will focus on the next month button.

Yep that test looks wrong now as the initial focus is now set to the selected date.
Should be something like this I think:
    describe('when Tab is pressed once', () => {
      beforeEach(async () => {
        await user.tab()
      })

      it('traps the focus within the picker', () => {
        expect(
          wrapper.getByLabelText(PREVIOUS_MONTH_BUTTON_LABEL)
        ).toHaveFocus()
      })

      describe('and Shift-Tab is then pressed once', () => {
        beforeEach(() => {
          return user.tab({ shift: true })
        })

        it('still traps the focus within the picker', () => {
          expect(
            wrapper.getByRole('button', { name: '5th December (Thursday)' })
          ).toHaveFocus()
        })
      })
    })


Fix table.getActionType for MergeOnRead table types

At the moment, table.getActionType resorts to COMMIT_ACTION for COW and DELTA_COMMIT_ACTION for MOR table type. But when a compaction is run for MOR table type, the actionType has to be COMMIT_ACTION. Implement an abstraction over table.getActionType to correctly return action based on operation delta or commit..

Moved to https://issues.apache.org/jira/browse/HUDI-42


OTA: add function for resuming component download

Add golioth_ota_download_component_resumable() that takes a block_idx to start the download and returns the next expected block_idx which may be used to resume when a block download fails before the final block.
Resolves https://github.com/golioth/firmware-issue-tracker/issues/684
Resolves https://github.com/golioth/firmware-issue-tracker/issues/686

What do you think about combining the two functions (in both the OTA service and in coap_blockwise.c), making the block_idx argument optional?


Unknown error while adding a device.

Hi,
While trying to add a device, I get an unknown error, and the device is not created.
This is what I find in the logs:
This error originated from a custom integration.

Logger: aiohttp.server
Source: custom_components/icloud3/config_flow.py:3141
Integration: iCloud3 v3 (documentation, issues)
First occurred: 19:32:36 (2 occurrences)
Last logged: 19:36:55

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 227, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 242, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 296, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 392, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/icloud3/config_flow.py", line 2560, in async_step_update_device
    self._create_device_tracker_and_sensor_entities(ui_devicename, self.conf_device_selected)
  File "/config/custom_components/icloud3/config_flow.py", line 3141, in _create_device_tracker_and_sensor_entities
    Gb.async_add_entities_device_tracker(NewDeviceTrackers, True)
TypeError: 'NoneType' object is not callable

The Gb.async_add_entities_device_tracker field the error refers to is passed into iCloud3 by HA when it first starts.

Turn on Debug logging - Configuration Settings > Page 2 > Format Parameters - Log Level = Debug Auto Restart or Debug
Restart HA
Add the device again and see if you still get the error.

If you do, send the config/icloud3-0.log and home-assistant.log files to<EMAIL_ADDRESS>so I can see how iCloud3 started.

Is this a new install? Did you convert from v2.4.7?
What version are you running? Version of HA?
was this the first device? Or do you already have some configured?
Did you go to the Configurate Settings screen from the gear on the Event Log screen or from Devices z& Services?

Hi @gcobb321, thanks for the fast reply and the awesome work on iCloud3!
Today, after I got in, changed to debug, and restarted, the two devices that had errored out yesterday just appeared and were working fine! I tried adding a third device, and it went through without any issues... seems like it was just a random fluke...
Would it still be beneficial if I dig deeper and send through something?

Glad a restart cleared up the problem. Since it appears to be working, the logs won’t be necessary

Hello,
I have exactly the same problem.
And I followed everything according to this youtube video.
https://www.youtube.com/watch?v=Gm8NRMy0YHw
At minute 14:10 I got stuck because it always brings this error "Unknown error".
I tried to clear my browser cache.
I switched to Debug Log Internal Tracking Monitors on page 2.
All unfortunately no success...
Please help me urgently as I would love to track my Iphone....
Best regards from Bavaria!

@gcobb321

home-assistant_icloud3_2023-09-04T15-55-14.743Z.log

Edit the 2 files below and add the following code:
Gb.hass = hass
icloud3/device_tracker.py — line 65
Icloud3/sensor.py —- line 75
restart HA

@maiki97
Edit the file /icloud3/config_flow.py . Change line 2289 to read:
self.errors = {'base': 'no_add_entities_device_tracker_fct'}

Hello, thank you for the quick reply! I really hope that you can help me further.
I have followed everything as described in your steps. Unfortunately no success... the GB.hass=hass was already in it and also the prerelease vers. 1.3 is already installed.
In config_flow.py I have replaced the self errors line with yours.
Now I get but one more error message when I press add devices....

home-assistant_icloud3_2023-09-05T05-44-03.882Z.log

although I have already restarted Home Assistant 4 times...

@gcobb321

I think I have fixed the problem. Download config_flow_pr1.4.py here.
Save it to the /icloud3 directory as config_flow.py and restart HA

Thanks for everything already! I was able to add my Iphone, my Airpods and my Applewatch and it all shows up. Awesome!
Now I just do not know how I can integrate the Iphone from my girlfriend, because it does not appear in Family Sharing list. Do I have to log in to Data sources with the icloud email of my girlfriend ? Best regards! @gcobb321

@maiki97
Unfortunately, Apple discontinued tracking devices that are not on the Family Sharing list last May. Up until  then, thr Find-my-Friends would provide that information. All IHG code is still in iCloud3 so I hope to find a method to do that after v3 goes live and Steelers down.
So right now, the only way is to add her to your list.

Okay no problem I tried it with the email address of my girlfriend and was able to track her IPhone there and add it to Home assistant.
So far everything should work. Thanks again for everything!