App Config Remove Telemetry

Description
Removing beta code from main to unblock releases till 2.0.0 GA.
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

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


Truth table

This is my first pull request so I am not sure how to stop this from replacing the current master main.cpp although I am sure we can figure something out for that.

I implemented some refactoring into the branch for w/r/t tests and main.cpp conflicts, build errors

looks good


Updated ESP8266 Technical Reference is missing appendices

In version 1.5 of the ESP8266 Technical Reference, uploaded on 2020/07/17, all four chapters of the Appendix are missing. This means tabula.jar fails to parse the tables within those chapters (because they don't exist) and we cannot build the SVD.
I have sent an email to Espressif to let them know. In the meantime version 1.4 is still available at archive.org.

1.6 has been released and contains the needed parts.
That said, it might be worth to just checking the appendices into the repo

Great, thanks for the update! And yeah, I'm generally against putting PDFs in repos but in this case I think it might make sense.


[Bug]: Wrong download link

Version
0.1.6
Unexpected behavior here
For some reason, cargo dist uses the repository name as URL with the same name as the binary name, and the resulting URL causes a not found.
Now the URL is  dar2oar which is the same as the binary name.
Wrong
https://github.com/SARDONYX-sard/dar2oar/releases/download/0.2.2/dar2oar_cli-aarch64-apple-darwin.tar.xz
Expected behavior
Currect
https://github.com/SARDONYX-sard/dar-to-oar/releases/download/0.2.2/dar2oar_cli-aarch64-apple-darwin.tar.xz
The correct repository name is dar-to-oar.
If you can specify the URL yourself, this problem will be solved.
See: https://github.com/axodotdev/cargo-dist/issues/236
Relevant log output
No response

For the time being, it may need to be corrected manually.

fixed
https://github.com/SARDONYX-sard/dar-to-oar/releases/tag/0.2.3


feat: Campus Expenditure and Sustainability team add

@all-contributors
please add @vikku911 for content, example.
please add @subra4112 for content, example.
please add @aadithya for content.


[📚] setCurrentScreen method should be annotated as Deprecated

Hey Team!
Thanks for the great package! As per https://firebase.google.com/docs/analytics/screenviews and since https://github.com/firebase/flutterfire/pull/9397:

setCurrentScreen method in the FirebaseAnalytics class should be annotated as @Deprecated to not confuse the developers.
existing examples in firebase_analytics/example/lib should be updated with logEvent() method instead.
FirebaseAnalyticsObserver should use logEvent() under the hood of the private _sendScreenView method.
FirebaseAnalytics's unit tests should be updated accordingly.

@abhishek09827 you can always create a PR if you want, it's open-source :)
@darshankawar Actually documentation is also wrong:
await FirebaseAnalytics.instance.logEvent(
  name: 'screen_view',
  parameters: {
    'firebase_screen': screenName, // <- Error 14
    'firebase_screen_class': screenClass, // <- Error 14
  },
);

Because it's forbidden to use parameter names with _firebase prefix, events logged this way will show firebase_error with value 14 and reference to firebase_screen/firebase_screen_class. Proper parameter keys (at least for GA4) are screen_name and screen_class for use directly in the logEvent method. But in that case, it makes sense to use the logScreenView method instead...

await FirebaseAnalytics.instance.logEvent(
name: 'screen_view',
parameters: {
'screen_name': screenName,
'screen_class': screenClass,
},
);

await FirebaseAnalytics.instance.logEvent( name: 'screen_view', parameters: { 'screen_name': screenName, 'screen_class': screenClass, }, );

logScreenView should be more relevant in this case.

yes ,
Using logScreenView simplifies the process by automatically setting the appropriate parameter keys for screen view events, saving you from manually specifying the parameters.


OOP school library: preserve data

This pull request has been created against the below mentioned new implementations into the project:

[x] Created serialize_to_json and deserialize_from_json methods to handle JSON serialization.
[x] Created PersonFactory module to handle person-related operations.
[x] Created BookFactory and RentalFactory modules to handle book and rental operations.

Hi @aamirkhan2478, the app is working perfectly with all functionalities after recent amendments. Screenshots are attached for clear understanding


Unable to detect NVIDIA CUDA or AMD ROCm installation.

Got some errors during install, but the installation in the end said it installed successfully, so not sure what that really means?
A restart didn't so any issues in the restart process, just the install. So not sure how critical this is? (I am able to install other custome nodes with not isse - see below!
Install custom node 'ComfyUI Frame Interpolation'
install: ['https://github.com/Fannovel16/ComfyUI-Frame-Interpolation']
Download: git clone 'https://github.com/Fannovel16/ComfyUI-Frame-Interpolation'
100%|██████████| 534.0/534.0 [00:06<00:00, 85.51it/s]
Install: install script
ComfyUI-Manager: EXECUTE => ['/var/home/david/Documents/AITools/ComfyUI/.venv/bin/python', 'install.py']
                     Collecting opencv-contrib-python

Downloading opencv_contrib_python-<IP_ADDRESS>-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (68.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.3/68.3 MB 19.4 MB/s eta 0:00:00
Installing collected packages: opencv-contrib-python
Successfully installed opencv-contrib-python-<IP_ADDRESS>
[!] WARNING: Skipping cupy-wheel as it is not installed.
[!] WARNING: Skipping cupy-cuda102 as it is not installed.
[!] WARNING: Skipping cupy-cuda110 as it is not installed.
[!] WARNING: Skipping cupy-cuda111 as it is not installed.
[!] WARNING: Skipping cupy-cuda11x as it is not installed.
[!] WARNING: Skipping cupy-cuda12x as it is not installed.
Collecting cupy-wheel
Downloading cupy-wheel-12.3.0.tar.gz (2.9 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
[!]   error: subprocess-exited-with-error
[!]
[!]   × python setup.py egg_info did not run successfully.
[!]   │ exit code: 1
[!]   ╰─> [30 lines of output]
[!]       [cupy-wheel] Trying to detect CUDA version from libraries: ['libnvrtc.so.12', 'libnvrtc.so.11.2', 'libnvrtc.so.11.1', 'libnvrtc.so.11.0', 'libnvrtc.so.10.2']
[!]       [cupy-wheel] Looking for library: libnvrtc.so.12
[!]       [cupy-wheel] Failed to open libnvrtc.so.12: libnvrtc.so.12: cannot open shared object file: No such file or directory
[!]       [cupy-wheel] Looking for library: libnvrtc.so.11.2
[!]       [cupy-wheel] Failed to open libnvrtc.so.11.2: libnvrtc.so.11.2: cannot open shared object file: No such file or directory
[!]       [cupy-wheel] Looking for library: libnvrtc.so.11.1
[!]       [cupy-wheel] Failed to open libnvrtc.so.11.1: libnvrtc.so.11.1: cannot open shared object file: No such file or directory
[!]       [cupy-wheel] Looking for library: libnvrtc.so.11.0
[!]       [cupy-wheel] Failed to open libnvrtc.so.11.0: libnvrtc.so.11.0: cannot open shared object file: No such file or directory
[!]       [cupy-wheel] Looking for library: libnvrtc.so.10.2
[!]       [cupy-wheel] Failed to open libnvrtc.so.10.2: libnvrtc.so.10.2: cannot open shared object file: No such file or directory
[!]       [cupy-wheel] No more candidate library to find
[!]       [cupy-wheel] Looking for library: libamdhip64.so
[!]       [cupy-wheel] Failed to open libamdhip64.so: libamdhip64.so: cannot open shared object file: No such file or directory
[!]       [cupy-wheel] No more candidate library to find
[!]       Traceback (most recent call last):
[!]         File "", line 2, in
[!]         File "", line 34, in
[!]         File "/tmp/pip-install-yq5cnx0z/cupy-wheel_7ab29a1e67f14da0adc5114ee40ed9c2/setup.py", line 285, in
[!]           main()
[!]         File "/tmp/pip-install-yq5cnx0z/cupy-wheel_7ab29a1e67f14da0adc5114ee40ed9c2/setup.py", line 269, in main
[!]           package = infer_best_package()
[!]                     ^^^^^^^^^^^^^^^^^^^^
[!]         File "/tmp/pip-install-yq5cnx0z/cupy-wheel_7ab29a1e67f14da0adc5114ee40ed9c2/setup.py", line 259, in infer_best_package
[!]           raise AutoDetectionFailed(
[!]       AutoDetectionFailed:
[!]       ============================================================
[!]       Unable to detect NVIDIA CUDA or AMD ROCm installation.
[!]       ============================================================
[!]
[!]       [end of output]
[!]
[!]   note: This error originates from a subprocess, and is likely not a problem with pip.
[!] error: metadata-generation-failed
[!]
[!] × Encountered error while generating package metadata.
[!] ╰─> See above for output.
[!]
[!] note: This is an issue with the package mentioned above, not pip.
[!] hint: See above for details.
Installing torch...
Installing numpy...
Installing einops...
Installing opencv-contrib-python...
Installing kornia...
Installing scipy...
Installing Pillow...
Installing torchvision...
Installing tqdm...
Checking cupy...
Uninstall cupy if existed...
Installing cupy...
Installation was successful.
After restarting ComfyUI, please refresh the browser.
FETCH DATA from: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1514988643_custom-node-list.json
FETCH DATA from: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1742899825_extension-node-map.json
** ComfyUI startup time: 2024-04-10 19:45:09.229422
** Platform: Linux
** Python version: 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0]
** Python executable: /var/home/david/Documents/AITools/ComfyUI/.venv/bin/python
** Log path: /var/home/david/Documents/AITools/ComfyUI/comfyui.log
Prestartup times for custom nodes:
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Manager
Total VRAM 16072 MB, total RAM 63969 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync
VAE dtype: torch.bfloat16
Using pytorch cross attention
Loading: ComfyUI-Manager (V2.16.1)
ComfyUI Revision: 2120 [4201181b] | Released on '2024-04-09'
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Comfyroll Studio v1.76 :  175 Nodes Loaded
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
[Crystools INFO] Crystools version: 1.12.0
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[Crystools INFO] CPU: 13th Gen Intel(R) Core(TM) i9-13900K - Arch: x86_64 - OS: Linux 6.8.4-200.fc39.x86_64
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce RTX 4070 Ti SUPER
[Crystools INFO] NVIDIA Driver: 550.67
Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
NumExpr defaulting to 8 threads.
FizzleDorf Custom Nodes: Loaded
Import times for custom nodes:
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/websocket_image_save.py
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Crystools-save
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI_essentials
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/aegisflow_utility_nodes
0.0 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation
0.1 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Manager
0.1 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI_FizzNodes
0.1 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/comfy_PoP
0.2 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2.1 seconds: /var/home/david/Documents/AITools/ComfyUI/custom_nodes/ComfyUI-Crystools
Starting server
To see the GUI go to: http://<IP_ADDRESS>:8188
I was doing a fresh install and installing old custom_nodes one at a time and monitoring:
This is where I was when I ran into the error:
[x ]  [[aegisflow_utility_nodes]]
[x ]  [[comfy_PoP]]
[x ]  [[ComfyUI-Advanced-ControlNet]]
[x ]  [[ComfyUI-AnimateDiff-Evolved]]
[x ]  [[ComfyUI_Comfyroll_CustomNodes]]
[x ]  [[comfyui_controlnet_aux]]  ** Didn't install yet ... too many conflicts with ComfyUI-Advanced-ControlNet
[x ]  [[ComfyUI-Crystools]]
[x ] [[ComfyUI-Crystools-save]]
[x ]  [[ComfyUI-Custom-Scripts]]
[* ]  [[ComfyUI-Eagle-PNGInfo]] ** not going to use. Will use SDXL_Prompt_Styler instead
[x ]  [[ComfyUI_essentials]]
[x ]  [[ComfyUI_FizzNodes]]
[ ]  [[ComfyUI-Frame-Interpolation]]

Something is wrong with cupy-wheel. A workaround is to manually install your CUDA version of cupy.
I think you have are on CUDA 12.5 w/ 4070 Ti SU, use:
pip install cupy-cuda12x
See https://docs.cupy.dev/en/stable/install.html


Appstudio update test-component-pac-qowe

Pipelines as Code configuration proposal

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

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
18 seconds
sanity-inspect-image

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
48 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
10 seconds
sanity-optional-label-check

✅ Succeeded
10 seconds
sanity-label-check

✅ Succeeded
10 seconds
show-summary

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

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
sanity-inspect-image

✅ Succeeded
48 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
10 seconds
sanity-optional-label-check

✅ Succeeded
10 seconds
sanity-label-check

✅ Succeeded
10 seconds
show-summary

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

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
18 seconds
sanity-inspect-image

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
48 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
10 seconds
sanity-optional-label-check

✅ Succeeded
10 seconds
sanity-label-check

✅ Succeeded
10 seconds
show-summary

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

StatusDurationName

✅ Succeeded
16 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
14 seconds
sanity-inspect-image

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
6 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary


tikinter issue: RuntimeError: main thread is not in main loop

Describe the bug
I got a tkinter runtime error related with threads when locally running the spleen_segmentation_3d.ipynb in the epoch cell.
epoch 12/600
1/16, train_loss: 0.5761
2/16, train_loss: 0.5969
3/16, train_loss: 0.4487
4/16, train_loss: 0.5615
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
5/16, train_loss: 0.5464
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.__del__ at 0x7f1d2ec583a0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 351, in __del__
    if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Exception ignored in: <function Image.__del__ at 0x7f1d2ec71ca0>
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 4014, in __del__
    self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Traceback (most recent call last):
  File "/home/phc/.virtualenvs/monai/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 872, in _try_get_data
    data = self._data_queue.get(timeout=timeout)
  File "/usr/lib/python3.8/multiprocessing/queues.py", line 107, in get
    if not self._poll(timeout):
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 257, in poll
    return self._poll(timeout)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 424, in _poll
    r = wait([self], timeout)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 931, in wait
    ready = selector.select(timeout)
  File "/usr/lib/python3.8/selectors.py", line 415, in select
    fd_event_list = self._selector.poll(timeout)
  File "/home/phc/.virtualenvs/monai/lib/python3.8/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
    _error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 355179) is killed by signal: Aborted.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "spleen_segmentation_3d.py", line 268, in <module>
    for batch_data in train_loader:
  File "/home/phc/.virtualenvs/monai/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 435, in __next__
    data = self._next_data()
  File "/home/phc/.virtualenvs/monai/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1068, in _next_data
    idx, data = self._get_data()
  File "/home/phc/.virtualenvs/monai/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1034, in _get_data
    success, data = self._try_get_data()
  File "/home/phc/.virtualenvs/monai/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 885, in _try_get_data
    raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e
RuntimeError: DataLoader worker (pid(s) 355179) exited unexpectedly

Environment (please complete the following information):

OS: Linux (arch)
Python version: 3.8.6
MONAI version [e.g. git commit hash] 0.4.0
CUDA/cuDNN version: 11.1
GPU models and configuration: 3090

Additional context
Sorry for the brevitiy of the report. The notebook is run as a python script using jupytext (converts ipynb to py).

Hi @phcerdan ,
Thanks for your interest here and experiments.
It seems like something unstable in your environment? Did you always get this error?
Thanks.

My error is related with this SO question: https://stackoverflow.com/questions/27147300/matplotlib-tcl-asyncdelete-async-handler-deleted-by-the-wrong-thread
I am using the console, not the web UI, nor an IDE. I was closing the matplotlib pop-up window pressing the "x". If I close it using the key q, the error is gone.
Nothing to do with monai, closing.


Substitute for --scripts-dir during configuration

Hello,
I'd like to configure the install directory of scripts and the rocks directory. It appears that this ability was removed prior to 2.2.1.
Is there a substitute facility for specifying the destination of executable scripts?

I can't remember ever having that flag (in configure -- install.bat still has /SCRIPTS), and I checked all releases since 2.0.13. However, you can change that directory after installation using the rocks_trees variable in config.lua. See the example in the wiki.


Fix dataset downloads

Following up on this issue, the PR fixes the downloads for the following datasets:

dnli
dialoglue
dialogre
OTTers
topical_chat
doc2dial

Confirmed that is working doing the following:
 bash download_datasets.sh
./create_task_files.sh # the dataset `wow` remains broken, so for any config json file `wow` needs to be removed

Please let me know if you have any questions, will be happy to fix wow as well. I am not sure where the wizard_generator.py script should come from in the bash script.
Deniz

Merged the commit, thanks for the contribution. It seems gdown download wont work for dnli dataset and needs be done manually.

Fixed the error related to WoW dataset in the commit a429b361dd58964a7ccb1c3a9ceedcf304d60e36.


effectiveConfig.yaml: Service restart dumps values

Describe the bug
greengrass-cli and communication with aws greengrass console fail giving:
software.amazon.awssdk.eventstreamrpc.ServiceOperationMappingContinuationHandler: class java.lang.RuntimeException occurred while attempting to authN/authZ connect: Unrecognized client connecting to GGC over IPC. {}
java.lang.RuntimeException: Unrecognized client connecting to GGC over IPC

Values inside effectiveConfig.yaml have been erased e.g.
system:
  certificateFilePath: ""
  privateKeyPath: ""
  rootCaPath: ""
  rootpath: "/greengrass/v2"
  thingName: ""

All of the valid certificates and keys are still present on the device in the expected locations.
To Reproduce
Deployment was locked in a state of Deployment is in a stage where it cannot be cancelled, need to wait for it to finish and so the device was power cycled a couple of times with no observable change. The greengrass service was restarted manually as sudo systemctl restart greengrass.service after which the failure to connect to greengrass services began to appear.
Attached logs show that the service restart triggered a dump of the effective config.
Expected behavior
Some way to restore default behaviour to a device when deployments fail without having to trigger service restart
Actual behavior
device was stuck in cycle of attempting to cancel a deployment. greengrass service was restarted and triggered a config dump which rendered the edge device unable to issue greengrass-cli commands or communicate with aws greengrass console
Environment

OS: Ubuntu 18.04
JDK version: openjdk version "<IP_ADDRESS>" 2022-02-08 LTS
Nucleus version: 2.5.3

Additional context
We currently use a bastion server to ssh into our remote devices but would prefer to use aws secure tunnelling component. If this event happens again on a device without alternative ssh access then it would be rendered unreachable.
gg_config_dump.log

Hello @mjkmoynihan,
Can you please provide all of the files in the config directory and deployments directories?
The deployment which you were running, was that a local or a cloud deployment? If it was a cloud deployment, was rollback enabled?

Hi @MikeDombo thanks for your reply.
I have since reinstalled greengrass as we urgently needed the device to be working again so unfortunately I can't provide the contents of the config directory.
The deployment was a cloud deployment and rollback was not enabled ( I wasn't aware of it at the time but will be using it in future!) Does this need to be enabled to generate the rollback_snapshot.tlog file?
At the time the log was displaying the "cannot be cancelled" message I had been attempting to send new deployments from the cloud.

For cloud deployments rollback is enabled by default, so I do believe that you had rollbacks enabled.

Yes you are correct, I can see that rollback was likely enabled (I had thought otherwise based on the settings for another device but the deployment for the device in question had rollback enabled).
I have logs from one of the custom components which showed it had entered the shutdown phase of it's lifecycle multiple hours before the deployment status was stuck:
2022-03-03T08:51:15.258Z [WARN] (Copier) com.edge.TestbenchContainer: stderr. Error: No such container: cv_app_testbench. {scriptName=services.com.edge.TestbenchContainer.lifecycle.Shutdown, serviceName=com.edge.TestbenchContainer, currentState=BROKEN}
2022-03-03T08:51:15.266Z [WARN] (pool-2-thread-16) com.edge.TestbenchContainer: shell-runner-error. {scriptName=services.com.edge.TestbenchContainer.lifecycle.Shutdown, serviceName=com.edge.TestbenchContainer, currentState=BROKEN, command=["bash /greengrass/v2/packages/artifacts/com.edge.TestbenchContainer/0.1.56/shut..."]}

The output here refers to a shutdown script which attempted to kill a docker container which never started due to an error. A deployment was created at this time to remove this component and leave only aws.greengrass.Nucleus and aws.greengrass.cli deployed.
I had assumed this deployment had executed with no issue until I created another one 6 hours later to find that the deployment cycle was stuck.
gg_log_3pm.log
The above file is an extended version of the file I shared previously. Unfortunately I have no logs from the time issuing the deployment which removed the custom component that the deployment that could not be started.

@mjkmoynihan what lifecycle phase caused com.edge.TestbenchContainer to become broken? Did it break during "install" or "startup"? What does the recipe for this component look like?

We have identified several issues which we will work to address.
Please do provide answers to my questions from the previous rely though if you're able.
Thank you

Hi @MikeDombo
The TestbenchContainter component status became BROKEN during the shutdown phase of it's lifecycle.
It's lifecycle looks like this
"Lifecycle": {
          "Install": "bash {artifacts:path}/install.sh && python3 -u {artifacts:path}/download_assets.py",
          "Run": "bash {artifacts:path}/run.sh",
          "Shutdown": "bash {artifacts:path}/shutdown.sh"
        },

Install.sh runs pip3 install --user boto3 and pip3 install --user awsiotsdk then proceeds to create some directories.
run.sh contains the docker run command string
finally, shutdown.sh contains only two lines
docker kill cv_app_testbench
docker container rm cv_app_testbench

The deployment which became stuck contained only this component, the greengrass-cli component and greengrass.nucleus
I unfortunately do not have any log for the deployment which became stuck.
I'm on GMT timezone so apologies for any delays in reply.
Thanks

Fix has been merged. You can build Nucleus from the main branch to verify that your issues have been solved. The fixes will also be in an upcoming release, though I do not have an ETA.


cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

with  go get github.com/galeone/tfgo I am getting:
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

TensorFlow + Go + Windows it's not officially supported by Google.
We were talking about it here: https://github.com/galeone/tfgo/issues/46#issuecomment-774724977
Maybe you can find some info, but I can't help you in any way because I don't even have a Windows machine.


[iOS] Issue with displayed value in TextField using korean 10 Key keyboard

This issue appears only on iOS devices, android seems to be working just fine.
When using a korean qwerty keyboard there is no problem either.
Steps to Reproduce

Execute flutter run on the code sample on an iOS device
Use a korean keyboard of 10 Key type (/Settings/General/Keyboards/Keyboards/Korean/10 Key)
Enter in the input those keys, in the order
a) ㅂ ㅍ -> . -> ㅡ -> ㅣ -> ., repeat this 2 or 3 times
b) ㅇ -> ㅣ -> ㄴ ㄹ -> ㄴ ㄹ -> . -> ㅣ -> ㅅ ㅎ -> ㄱ -> . -> ㅣ -> ㅣ

Expected results:
a) the input should displayed 봐봐
b) the input should displayed 이렇게
Actual results:
a) the input display 봐ㅂ봐 (repeating a) pattern continuously won't change the input value, 봐ㅂ봐 will always be displayed)
b) the input display 이ㄹ게

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Padding(
            padding: EdgeInsets.all(8),
            child: TextField(),
          ),
        ),
      ),
    );
  }
}

Logs

There is no logs after the line:
[ +338 ms] The Flutter DevTools debugger and profiler on Iphone 13 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:61608/K5tJ83yLHi8=/

legoffmael@Maels-Mac-mini example_korean_10_key % flutter analyze
Analyzing example_korean_10_key...
No issues found! (ran in 1.4s)

legoffmael@Maels-Mac-mini example_korean_10_key % flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6 21G115 darwin-arm, locale en-KR)
    • Flutter version 3.3.8 on channel stable at /Users/legoffmael/fvm/versions/3.3.8
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (12 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/legoffmael/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (4 available)
    • SM A716S (mobile)  • R3CN606Q31R               • android-arm64  • Android 12 (API 31)
    • Iphone 13 (mobile) • 00008030-000A19913650802E • ios            • iOS 16.1.1 20B101
    • macOS (desktop)    • macos                     • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)       • chrome                    • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

issue on iOS
working fine on Android 12

issue on iOS
working fine on Android 12

Hi @LeGoffMael, I believe this is a duplicate of https://github.com/flutter/flutter/issues/112369.
Kindly follow up in the issue linked above for updates.
If you disagree, kindly leave a comment below and I will reopen this issue.
Thank you


Support different client/server locations

I'll look into fixing this myself and submitting a PR, but it seems like message_bus isn't built for housing the client and server on different machines (I have a client front end that gets JSON api data from my api server and subscribes to an updates channel on the same server to get notified of changes).
While changing the relevant bit in line 112 from baseUrl to me.baseUrl allows me to say MessageBus.baseUrl = "http://api.example.com" in my app setup block, the message_bus middleware doesn't set CORS headers, so my client refuses to listen to message_bus.

:+1: to this... Having to fork to add CORS headers!

This is supported per:
https://github.com/SamSaffron/message_bus/commit/1797337abb0fc27948adbfbfd7a0fbd11bc576a4

Thanks @SamSaffron.
For others with this issue, it's probably worth mentioning/documenting the usage:
MessageBus.extra_response_headers_lookup do |env|
  # Headers can be site-specific based on env
  [
      ['Access-Control-Allow-Origin', '*'],
      ['Access-Control-Allow-Headers', '*, x-silence-logger, authorization']
  ]
end


[history] Two issues

In-Site History 1.1.0 / Firefox 59.0.2 (64-BIT) / Windows 7 (64-BIT)
Two issues,
1- Spinning wheel in toolbar button's drop-down menu (???)
2- Delete all histories in this site doesn't delete. When trash button is clicked I do read No histories on this site, but when reloading the menu, history still appears...

I don't understand the spinning wheel, what is the extension waiting for, expecting?
As for the site history delete, I'm wondering if the issue is not related to Firefox's First Party Isolation, which I've set to true: privacy.firstparty.isolate = true

Thank you for your reporting.
I also confirmed these issues.
I think that there was a problem with how to use the WebExtensions API.
I do not know if it related to Firefox's First Party Isolation.
I will investigate and fix it.

@tkrkt , looking forwards for the updated In-Site History, the perfect companion to In-Site Bookmark.
I don't think privacy.firstparty.isolate--true has anything to do with either of the issues.
I think that there was a problem with how to use the WebExtensions API.
It'll get resolved! Thanks for those two neat extensions, both are really handy.


High security doors cause pressure damage when walking through.

Description

we had a similar bug with airlocks previously, this seems like the prototypes for the high security doors were not updated accordingly.

someone fixed this, no longer happens


Add flutter_view sample

@abarth can you give this a quick review to see if we are on the right track?

@collinjackson may be a faster reviewer this week.

Thank you so much for the comments. Could you have another look?


[WIP]add install controlplane command

https://github.com/open-cluster-management-io/clusteradm/issues/323

@ycyaoxdu since we already be able to install the controlplane using helm chart, I am thinking maybe we just need to ensure we can use clusteradm to join. WDYT?

for the users who are using clusteradm to build their cluster, maybe keep the same experience is better. That means the users can use clusteradm init a controlplane and then use clusteradm join to this controlplane.

I do not expect to maintain the duplicated manifests in different places. The manifests should be maintained in multicluster-controlplane repo. the clusteradm command depends on the chart to init the controlplane. Is it doable or does it make sense?

/unhold

/approve
/lgtm
/hold
I seems ok in general, but I cannot go through it in detail since it is really large.
will merge it at first and resolve the following issue

I am fine with the changes. Let us merge it as an initial version. we can have the following PRs to address the issues.

/unhold


KAFKA-13785: [6/N][Emit final] emit final for TimeWindowedKStreamImpl

Description
Initial implementation to emit final for TimeWindowedKStreamImpl. This PR is on top of https://github.com/apache/kafka/pull/12030
Testing
Unit test and integration test

Sorry about that @lihaosky , I just created a copy PR from the branch in order to merge sooner: https://github.com/apache/kafka/pull/12100
@mjsax could you take a look at that PR.


Can't add package after changes to Illuminate/Support

Currently I can't add a package to a fresh copy of L5. I tried to add @JeffreyWay 's Generators but get the following error. I think it had to do with the latest changes to Illuminate/Support in which Taylor changed the package handling.
Below the result when I run: php artisan after adding the package using composer and adding the service provider.
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:111
Stack trace:
#0 /home/vagrant/Code/Acme/vendor/way/generators/src/Way/Generators/GeneratorsServiceProvider.php(28): Illuminate\Support\ServiceProvider->__call('package', Array)
#1 /home/vagrant/Code/Acme/vendor/way/generators/src/Way/Generators/GeneratorsServiceProvider.php(28): Way\Generators\GeneratorsServiceProvider->package('way/generators')
#2 [internal function]: Way\Generators\GeneratorsServiceProvider->boot()
#3 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php(535): call_user_func_array(Array, Array)
#4 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(587): Illuminate\Container\Container->call(Array)
#5 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(569): Illuminate\Foundation\Application->bootProvider(Object(Way\Generators\GeneratorsServiceProvider))
#6 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Way\Generators\GeneratorsServiceProvider), 34)
#7 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(570): array_walk(Array, Object(Closure))
#8 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(15): Illuminate\Foundation\Application->boot()
#9 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(141): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#10 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(174): Illuminate\Foundation\Application->bootstrapWith(Array)
#11 /home/vagrant/Code/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(88): Illuminate\Foundation\Console\Kernel->bootstrap()
#12 /home/vagrant/Code/Acme/artisan(34): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 {main}

And keep up the good work @taylorotwell! Looking forward to the official release!

@taylorotwell any update on when we can expect this?

When you can expect what?

The 'heavy development' of package handling to be complete enough that there's a clear path to installing/using packages like the one mentioned in the original post in this issue...or just some clarity from somewhere about how to include and use packages. I've tried all day to get way/generators working in my L5 app with no luck.

@jcorry L5 is still in development. It's isn't suitable for application development. Why don't you use L4 then migrate when L5 is stable?

Most likely the packages will have to be updated for L5.
On Thu, Jan 15, 2015 at 2:37 PM, Jonny Verhees<EMAIL_ADDRESS>wrote:

@jcorry https://github.com/jcorry L5 is still in development. It's
isn't suitable for application development. Why don't you use L4 then
migrate when L5 is stable?
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/issues/6583#issuecomment-70156988.

See this issue: https://github.com/laravel/framework/issues/6895
No big changes are coming. It's mostly the way config is loaded, so shouldn't be too hard to change. I already have some packages working or at least l5 branches..

@taylorotwell sorry, I missed the "way/generators" bit

Check my laravel-cors or laravel-debugbar for example L5 branches, shouldn't be too hard to make a PR for way
/generators :)

I've developed a method to bridge packages across without modifying their source code, all you need to do is point to a bridging service provider which handles all the differences. Blog article at https://medium.com/@morrislaptop/bridging-laravel-4-packages-to-laravel-5-2081f19643c6 and the source code is at https://github.com/morrislaptop/LaravelFivePackageBridges

I'd reccomend using orchestra's config component instead actually.

Why do you keep recommending that, instead of the default L5 config? Is that also Laravels recommendation, to use 3rd party packages for package development?

There is no official opionion on how / what you use to develop packages
that integrate with Laravel 5.
On Mon, Jan 19, 2015 at 12:27 PM, Barry vd. Heuvel<EMAIL_ADDRESS>
wrote:

Why do you keep recommending that, instead of the default L5 config? Is
that also Laravels recommendation, to use 3rd party packages for package
development?
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/issues/6583#issuecomment-70538899.

Exactly. There is no official "right" way. People are free to do what they want.

But would be nice to have some best practices or something to have some consistency in package config.

Configuration can just be registered with Config::set... I'm not sure why
any other structure is needed beyond that.
On Mon, Jan 19, 2015 at 1:26 PM, Barry vd. Heuvel<EMAIL_ADDRESS>wrote:

But would be nice to have some best practices or something to have some
consistency in package config.
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/issues/6583#issuecomment-70546837.

@barryvdh My personal opinion is that we should have kept the L4 config system and just ditched everything else, instead of ditching everything.

I still am really having trouble grasping what is so hard about Config::set.
On Mon, Jan 19, 2015 at 1:28 PM, Graham Campbell<EMAIL_ADDRESS>wrote:

@barryvdh https://github.com/barryvdh My personal opinion is that we
should have kept the L4 config system and just ditched everything else,
instead of ditching everything.
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/issues/6583#issuecomment-70547113.

It's not that it's hard to do. The issue is that it sucks. I don't want to put all of this config in a service provider https://github.com/GrahamCampbell/Laravel-Flysystem/blob/master/config/config.php, 20 times over for all the packages I use.

A simple Config::set with an include to me is fine as is, makes things explicit and easily adjustable to whatever needs.

It still sucks that there's not automated way to publish config from packages anymore. That's why I'm recommending using the orchestra packages that can do this for you.

When searching about the best way of registering package configs I've noticed that what is really confusing now is about overriding these configs.
My solution was to publish the package configs into the default config path and register them there, in this way user can change the options without worrying about load order and overriding.
That's simple, but i was a little bothered with the absense of a default publisher with this behavior.
I'm currently working on a set of helpers, that can be easily extended in any other package, so we don't need to rewrite these publishers every time. For my personal use cases until now it's working fine, maybe it can help some other people: https://github.com/mvalim/package-utils

https://github.com/orchestral/publisher

A simple Config::set with an include to me is fine as is, makes things explicit and easily adjustable to whatever needs.

If include happen in a package service provider and the service is loaded eagerly, you have additional file include per request per every package service provider that have that (php artisan config:cache only caches app config inside config/*).
But we can create package config inside config/ and have it cache, right? If you have the include, it still requested on every request regardless.

Why do you keep recommending that, instead of the default L5 config?

Why peoples have been recommending Sentry, instead of Laravel Auth.

I still am really having trouble grasping what is so hard about Config::set.

It just a matter of opinion which approach is best suitable for the developer "There is no official opinion on how / what you use to develop packages that integrate with Laravel 5.".

OK, so wtf do you do if you are trying to follow a package installation instructions that says to run artisan and the artisan code is trying to call this now-non-existent 'package' method and breaking?
I just want to try to figure out how in the heck to get doctrine working under laravel/symfony but the main examples I see out there seem to rely on this artisan stuff and call this method as part of the initial configuration.

Which package are you trying to use? If it's @mitchellvanw's, see the develop branch, as that's the Laravel 5 implemetation - https://github.com/mitchellvanw/laravel-doctrine/tree/develop
The L5 implementation of that package is still in beta, so just follow the instructions from the develop readme to get up and running with Doctrine.

the one I cloned as https://github.com/mitchellvanw/laravel-doctrine.git which is the same link that's coming up when I click the 'copy' on that url. Is there something special I have to do to get the devel version cloned?

Further questions belong on the forums/irc please.


error C2039: "Close": is not a member of  "Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession" ?

[Enter feedback here]
I want to close session from BLE Peripheral, and get that error when build? But in Docs, close() is a member function of GattSession for sure.
Then how to close connection with BLE Central as a BLE Peripheral?
demo code:
// the session is from notifyChangedHandler of SubscribedClients
notifyChangedHandler(Bluetooth::GenericAttributeProfile::GattLocalCharacteristic^ characteristic, Platform::Object^ args) {
...
auto session = characteristic->SubscribedClients->GetAt(0)->Session;
Session->Close(); // build error with below log
....
}
error log:
C:\Users\Admin\proj\WinBLEClientDemo\WinBLEDemo\BLEServer.cpp(221,43): error C2039: 'Close': is not a member of 'Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession'

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

ID: d9210ffe-7129-8c51-a138-c299d3e2abfd
Version Independent ID: 40f99c49-7a65-de67-6467-e88162c07159
Content: GattServiceProvider.AdvertisementStatusChanged Event (Windows.Devices.Bluetooth.GenericAttributeProfile) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.Devices.Bluetooth.GenericAttributeProfile/GattServiceProvider.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @13xiaobang,
The code example you give is C++/CX, and the IClosable interface appears in C++/CX as Platform::IDisposable.
We recommend that you use C++/WinRT instead of C++/CX. Here's some info about using IClosable::Close with C++/WinRT: https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/faq#do-i-need-to-call-iclosable--close-on-runtime-classes-that-i-consume-.
-Steve


FreeBSD: fs_event_watch_dir test fails

not ok 62 - fs_event_watch_dir
# exit code 134
# Output from process `fs_event_watch_dir`:
# Assertion failed in test/test-fs-event.c on line 201: `filename == ((void *)0) || strncmp(filename, file_prefix, sizeof(file_prefix) - 1) == 0 != 0` (0 != 0)

Fails on 1.47 but succeeds on 1.46. printf debugging indicates that the value of filepath is watch_dir and the value of file_prefix is fsevent-.
Tested on FreeBSD 14.0.

Likely because of 004dfd2d4b2bc3c3f2ddda7ac72c9dd579ca4194, cc @devnexen.


Adding custom options to jest execution

This PR aims to allow passing options to jest execution.
You can define these options in custom.jest in serverless.yml.
Options are defined here: https://facebook.github.io/jest/docs/configuration.html
Let me know if you have some remarks

With this changes, we can finally update the snapshot correctly.
custom:
  jest:
    updateSnapshot: ${opt:updateSnapshot}

@ChristopheBougere Sorry, I didn't notice this PR earlier. Thanks 👍


fix: issuer id in rev reg def must be the same as the credential def

Signed-off-by: blu3beri<EMAIL_ADDRESS>

@TimoGlastra it is ready for a re-review again


DOC: Clean up documentation

There were many doc strings that didn't actually reflect the function parameters, and some function parameters that were completely unused. This cleans that up a bit.
Closes #533

Thanks!

Yes, because of the SPY issue.


How to implement a web login form like Google, Facebook,...?

How to implement a web login form like Google, Facebook for SSO?

Hi @biapar, unfortunately that's not what this library is about. This just provides an OAuth endpoint for to allow you to create your own OAuth protected API endpoints.


Uncaught Error: ENOENT, open '/home/stramel/Projects/Test/src/common/services/userService.js'

[Enter steps to reproduce below:]

Open a git project in Atom
Open a file that will be modified when switching branches
Open a terminal and checkout the branch with the modified file

Atom Version: 0.188.0-f57abc9
System: linux 3.13.0-46-generic
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT, open '/home/stramel/Projects/Test/src/common/services/userService.js'
At events.js:94

Error: ENOENT, open '/home/stramel/Projects/Test/src/common/services/userService.js'
  at Error (native)

Commands
     -7:09.7 fuzzy-finder:toggle-file-finder (atom-text-editor.editor)
     -7:03.9 core:confirm (atom-text-editor.editor.mini)
     -7:03.2 find-and-replace:show (atom-text-editor.editor)
  2x -6:59.9 core:backspace (atom-text-editor.editor)
     -6:58.0 core:save (atom-text-editor.editor)
     -6:00.3 fuzzy-finder:toggle-file-finder (atom-text-editor.editor)
     -5:57.5 core:confirm (atom-text-editor.editor.mini)
     -5:52.8 go-to-line:toggle (atom-text-editor.editor)
     -5:51.4 core:confirm (atom-text-editor.editor.mini)
  2x -4:14.1 core:backspace (atom-text-editor.editor)
     -2:27.9 core:undo (atom-text-editor.editor)
     -0:33.0 core:save (atom-text-editor.editor)

Config
{
  "core": {
    "projectHome": "/home/stramel/Projects",
    "autoHideMenuBar": true,
    "disabledPackages": [
      "linter-gjslint",
      "autocomplete-paths"
    ],
    "themes": [
      "one-dark-ui",
      "monokai"
    ]
  },
  "editor": {
    "invisibles": {},
    "preferredLineLength": 120,
    "showIndentGuide": true,
    "showInvisibles": true,
    "scrollPastEnd": true,
    "fontSize": 13,
    "zoomFontWhenCtrlScrolling": false
  }
}

Installed Packages
# User
angularjs, v0.1.0
atom-beautify, v0.22.3
atom-color-highlight, v3.0.8
atom-jasmine, v0.5.0
autoclose-html, v0.15.0
autocomplete-plus, v2.5.0
autocomplete-snippets, v1.2.0
editorconfig, v0.3.3
file-icons, v1.5.1
highlight-line, v0.10.1
highlight-selected, v0.9.1
linter, v0.12.0
linter-jscs, v1.9.0
linter-jshint, v0.1.0
linter-less, v0.3.1
monokai, v0.12.0
pain-split, v1.3.1
project-manager, v1.15.5
project-palette-finder, v2.4.16

# Dev
No dev packages

Thanks for the report, @stramel. I wasn't able to reproduce this, though -- the file updates just fine for me in the editor after I switch branches. Have you been able to reproduce this in safe mode (noticed you have quite a few packages installed)? And just to make sure -- this happens every time for any file?
Atom Version: 0.188.0-609a661
System: OSX 10.10.2

@izuzak Sorry, I'm really not sure how to reproduce this every time. I just ran into the issue again, this time I did a $ git checkout -- .  I will have to try safe mode sometime when I have time.

@izuzak It is now happening every time for the open and selected file that changes when doing a git command that changes the contents of the file.
Atom Version: 0.188.0-6c38562
System: Ubuntu 14.04

@stramel Strange, I still can't reproduce. Here's what might help: a GIF which clearly demonstrates what exactly you're doing (with Atom running in safe mode). Could you record such a GIF and post it here together with a set of instructions which explain what's going on in the GIF?

Closing in favor of #6210.


Make Helm Chart support Harbor 1.5.0

Update the helm chart of Harbor to use 1.5 image.  Specifically
1.5.0-chart-patch to include the fix to #4496 (for integration reason
this fix will not be merge to release branch).
Verified against kubenetes v1.10.0

Coverage increased (+0.02%) to 64.56% when pulling ee76a308e644fd86d8989ac01b149d0ca85abb7a on reasonerjt:helm-chart-1.5 into 6a7ba4609faa46380387bb12583a24829789a397 on vmware:master.

Updated the version of chart and the commit message according to review comment.


APB's are unable to perform actions that require cluster scoped privileges

Feature:
Currently the broker does not allow an apb to have access to anything outside it's own namespace (defined as cluster resources).  The goal of this feature is to provide developers the ability to give their apbs full access to the cluster without restrictions for testing purposes.
When we turn on auto_escalate, we no longer audit whether a user has permission to launch an apb with the sandbox_role.  This allows the user full control over a namespace.  I'm proposing that when  auto_escalate is on, that we give a user full control over the cluster.  Auto_escalate is not a production setting, so it won't affect security for anything other than developer environments where security is not a priority.
Another option would be to add an additional flag like cluster_access, which would require we turn on both cluster_access and auto_escalate to give a apbs full access to the cluster.
non-goal:
This feature is not meant to address the problem for production environments.  I think production environments require the admin to have more oversight on what cluster level apbs are allowed to run.  This will be addressed in the future.

To follow up on this, I think we're going to use Karim's workaround which is to sign into cluster from the apb.
https://github.com/karmab/kubevirt-apb/blob/master/roles/kubevirt-apb/tasks/provision.yml#L3-L9
Closing this issue. A proposal will follow at a later date to address this problem for production deployments.

To follow up on this, I think we're going to use Karim's workaround which is to sign into cluster from the apb.
https://github.com/karmab/kubevirt-apb/blob/master/roles/kubevirt-apb/tasks/provision.yml#L3-L9
Closing this issue. A proposal will follow at a later date to address this problem for production deployments.

@rthallisey the link is broken. any tips how to create  project in an apb?

@tj13 here's an updated link: https://github.com/kubevirt/kubevirt-ansible/blob/master/roles/kubevirt/tasks/provision.yml#L2-L6

@rthallisey tks

@tj13 When running an APB, the broker applies a RoleBinding of edit or admin (this can be configured in the broker's configmap), inside of the target namespace (the namespace that the APB is operating on). Notably, it's a RoleBinding, and not a ClusterRoleBinding, which means the SA is not able to create namespaces or projects in the cluster. This is by design, as you can imagine, there are security concerns with granting APB's cluster scoped privileges.
In the past, folks have worked around this by passing credentials through to the APB similar to any other parameter, and logging in as that user as an initial task in the APB. I'd recommend some caution around this for a production case though, it's deliberately subverting the security model.

yes, it's by design.  the workaround can solve the problem now

/close


refactor: reduce install warnings and delete unnecessary msgs

I also deleted test_depend for caret_lint_common at this moment.

Do you know how to fix the pre-commit.ci error?

Do you know how to fix the pre-commit.ci error?

Please let me check ament_lint_common instead of caret_lint_common.
If it doesn't work, I will consider about reverting the changes at this moment.

@xygyo77 The test results ditd not change before and after these commit, so perhaps this error is not caused by the commit.
after: https://github.com/tier4/tilde_lite/actions/runs/4049362901/jobs/6965638889#step:37:719
before: https://github.com/tier4/tilde_lite/actions/runs/4029136028/jobs/6926717350


ValueError: Input X contains NaN.

Hello, I encountered the following error when running this function:
matching_list, zip_res = run_SLAT_multi([adata1,adata2,adata3,adata4],k_cutoff=10,feature = "PCA")
ValueError: Input X contains NaN.
But there are no NAN or NA in my data.How do I fix this?
Detailed information:
Traceback (most recent call last):
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/externals/loky/process_executor.py", line 463, in _process_worker
r = call_item()
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/externals/loky/process_executor.py", line 291, in call
return self.fn(*self.args, **self.kwargs)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 589, in call
return [func(*args, **kwargs)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 589, in
return [func(*args, **kwargs)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/scSLAT/model/utils.py", line 304, in parall_SLAT
edges, features = load_anndatas([a1, a2], feature=feature, check_order=False)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/scSLAT/model/loaddata.py", line 234, in load_anndatas
sc.tl.pca(adata_all)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/scanpy/preprocessing/pca.py", line 188, in pca
X_pca = pca.fit_transform(X)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/utils/_set_output.py", line 157, in wrapped
data_to_wrap = f(self, X, *args, **kwargs)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/base.py", line 1152, in wrapper
return fit_method(estimator, *args, **kwargs)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform
U, S, Vt = self._fit(X)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 483, in _fit
X = self._validate_data(
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/base.py", line 605, in _validate_data
out = check_array(X, input_name="X", **check_params)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/utils/validation.py", line 957, in check_array
_assert_all_finite(
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/utils/validation.py", line 122, in _assert_all_finite
_assert_all_finite_element_wise(
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/sklearn/utils/validation.py", line 171, in _assert_all_finite_element_wise
raise ValueError(msg_err)
ValueError: Input X contains NaN.
PCA does not accept missing values encoded as NaN natively. For supervised learning, you might want to consider sklearn.ensemble.HistGradientBoostingClassifier and Regressor which accept missing values encoded as NaNs natively. Alternatively, it is possible to preprocess the data, for instance by using an imputer transformer in a pipeline or drop samples with missing values. See https://scikit-learn.org/stable/modules/impute.html You can find a list of all estimators that handle NaN values at the following page: https://scikit-learn.org/stable/modules/impute.html#estimators-that-handle-nan-values
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "test_v1.py", line 179, in
matching_list, zip_res = run_SLAT_multi([adata1,adata2,adata3,adata4],k_cutoff=10,feature = "PCA")
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/scSLAT/model/utils.py", line 309, in run_SLAT_multi
unfiltered_zip_res = Parallel(n_jobs=n_jobs)(delayed(parall_SLAT)(a1,a2,i)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 1952, in call
return output if self.return_generator else list(output)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 1595, in _get_outputs
yield from self._retrieve()
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 1699, in _retrieve
self._raise_error_fast()
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 1734, in _raise_error_fast
error_job.get_result(self.timeout)
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 736, in get_result
return self._return_or_raise()
File "/share/home/luxj/software/miniconda3/envs/scSLAT/lib/python3.8/site-packages/joblib/parallel.py", line 754, in _return_or_raise
raise self._result
ValueError: Input X contains NaN.
PCA does not accept missing values encoded as NaN natively. For supervised learning, you might want to consider sklearn.ensemble.HistGradientBoostingClassifier and Regressor which accept missing values encoded as NaNs natively. Alternatively, it is possible to preprocess the data, for instance by using an imputer transformer in a pipeline or drop samples with missing values. See https://scikit-learn.org/stable/modules/impute.html You can find a list of all estimators that handle NaN values at the following page: https://scikit-learn.org/stable/modules/impute.html#estimators-that-handle-nan-values
Sessioninfo:
Package                   Version

anndata                   0.9.2
asttokens                 2.4.1
attrs                     23.1.0
backcall                  0.2.0
Brotli                    1.1.0
certifi                   2023.7.22
charset-normalizer        3.3.2
colorama                  0.4.6
comm                      0.2.0
contourpy                 1.1.1
cycler                    0.12.1
debugpy                   1.8.0
decorator                 5.1.1
executing                 2.0.1
faiss-cpu                 1.7.4
fastjsonschema            2.19.0
filelock                  3.13.1
fonttools                 4.44.1
fsspec                    2023.10.0
get-annotations           0.1.2
h5py                      3.10.0
harmony-pytorch           0.1.7
idna                      3.4
igraph                    0.10.8
importlib-metadata        6.8.0
importlib-resources       6.1.1
ipykernel                 6.26.0
ipython                   8.12.3
jedi                      0.19.1
Jinja2                    3.1.2
joblib                    1.3.2
jsonschema                4.19.2
jsonschema-specifications 2023.11.1
jupyter_client            8.6.0
jupyter_core              5.5.0
kiwisolver                1.4.5
leidenalg                 0.10.1
llvmlite                  0.41.1
MarkupSafe                2.1.3
matplotlib                3.6.3
matplotlib-inline         0.1.6
mkl-fft                   1.3.8
mkl-random                1.2.4
mkl-service               2.4.0
mpmath                    1.3.0
natsort                   8.4.0
nbformat                  5.9.2
nest-asyncio              1.5.8
networkx                  3.1
numba                     0.58.1
numpy                     1.24.4
nvidia-cublas-cu12        <IP_ADDRESS>
nvidia-cuda-cupti-cu12    12.1.105
nvidia-cuda-nvrtc-cu12    12.1.105
nvidia-cuda-runtime-cu12  12.1.105
nvidia-cudnn-cu12         <IP_ADDRESS>
nvidia-cufft-cu12         <IP_ADDRESS>
nvidia-curand-cu12        <IP_ADDRESS>
nvidia-cusolver-cu12      <IP_ADDRESS>
nvidia-cusparse-cu12      <IP_ADDRESS>
nvidia-nccl-cu12          2.18.1
nvidia-nvjitlink-cu12     12.3.52
nvidia-nvtx-cu12          12.1.105
opencv-python             <IP_ADDRESS>
packaging                 23.2
pandas                    2.0.3
parso                     0.8.3
patsy                     0.5.3
pexpect                   4.8.0
pickleshare               0.7.5
Pillow                    10.1.0
pip                       23.3.1
pkgutil_resolve_name      1.3.10
platformdirs              4.0.0
plotly                    5.18.0
pooch                     1.8.0
prompt-toolkit            3.0.41
psutil                    5.9.5
ptyprocess                0.7.0
pure-eval                 0.2.2
pyg-lib                   0.3.1+pt21cpu
Pygments                  2.16.1
pynndescent               0.5.10
pynvml                    11.5.0
pyparsing                 3.1.1
PySocks                   1.7.1
python-dateutil           2.8.2
pytz                      2023.3.post1
PyYAML                    6.0.1
pyzmq                     25.1.1
referencing               0.31.0
requests                  2.31.0
rpds-py                   0.12.0
scanpy                    1.9.6
scikit-learn              1.3.2
scikit-misc               0.2.0
scipy                     1.10.1
scslat                    0.2.1
seaborn                   0.12.2
session-info              1.0.0
setuptools                68.2.2
six                       1.16.0
stack-data                0.6.3
statsmodels               0.14.0
stdlib-list               0.9.0
sympy                     1.12
tbb                       2021.11.0
tenacity                  8.2.3
texttable                 1.7.0
threadpoolctl             3.2.0
torch                     2.1.0
torch-cluster             1.6.3+pt21cpu
torch_geometric           2.4.0
torch-scatter             2.1.2+pt21cpu
torch-sparse              0.6.18+pt21cpu
torch-spline-conv         1.2.2+pt21cpu
torchaudio                2.1.0
torchvision               0.16.0
tornado                   6.3.3
tqdm                      4.66.1
traitlets                 5.13.0
triton                    2.1.0
typing_extensions         4.8.0
tzdata                    2023.3
umap-learn                0.5.4
urllib3                   2.1.0
wcwidth                   0.2.10
wheel                     0.41.3
zipp                      3.17.0

Hi @waniwal
Which datasets are you using. Could you provide some detailed infomation about the data and your codes for debugging?
Best

This issue was closed because it has been stalled for long time with no activity. Feel free to reopen it.


MotionControllerVisualizer doesn't support default models

MotionControllerVisualizer allows you to specify an override model for the left and right controller, but it doesn't allow you to specify a default model if the controller model can't be loaded, for example in a non-networked scenario.
One possible solution would be to add a Boolean to specify if the alternate controllers are overrides or defaults. If defaults, it would try to use the OS's model first and if that fails it would fall back to the default.

Is the default model currently dependent on the network?  I was under the impression it was pulling the controller model from the driver installed on the machine.

The controller model is pulled down while the computer is on the network with the controllers turned on. If for some reason you don't have network when you turn the controllers on, they will still work, but you won't have the models.


testing fails because of absent include

Hi,
The tests fail:
$ python main_test_script.py
Traceback (most recent call last):
  File "main_test_script.py", line 15, in <module>
    from handleconnector_writeaccess_patched_test import EUDATHandleConnectorWriteaccessPatchedTestCase
ImportError: No module named handleconnector_writeaccess_patched_test

$ grep -i handleconnector_writeaccess_patched_test *
main_test_script.py:from handleconnector_writeaccess_patched_test import EUDATHandleConnectorWriteaccessPatchedTestCase
grep: resources: Is a directory
grep: testcredentials: Is a directory

$ git branch -va
* devel                     a18edd9 Merge pull request #35 from merretbuurman/searchout
  master                    17aacb2 Merge pull request #26 from EUDAT-B2SAFE/devel
  remotes/origin/HEAD       -> origin/master
  remotes/origin/devel      a18edd9 Merge pull request #35 from merretbuurman/searchout
  remotes/origin/gh-pages   ef64412 Add first version of Sphinx docs
  remotes/origin/master     17aacb2 Merge pull request #26 from EUDAT-B2SAFE/devel
  remotes/upstream/devel    a18edd9 Merge pull request #35 from merretbuurman/searchout
  remotes/upstream/gh-pages 6955841 Update docs
  remotes/upstream/master   17aacb2 Merge pull request #26 from EUDAT-B2SAFE/devel

Greetings,
Robert

Fails for me too. The build server does not complain because handleconnector_writeaccess_patched_test.pyc is still available from previous build.

Fixed via PR #39

Hi,
It fails differently now on python 2.6.
$ python main_test_script.py
Specified test types: ['unit']

Collecting tests:
Number of tests for client (no access required):                                24
Number of tests for handle system connector (no access required):                               11
Number of tests for PIDClientCredentials:                                       16
Number of tests for searching (without server access):                          9
Number of tests for client (faked read access):                                 15
Number of tests for client's 10320/LOC (faked read access):                     7
Number of tests for patched read access:                                        17
Number of tests for patched write access:                                       42
Traceback (most recent call last):
  File "main_test_script.py", line 137, in <module>
    patched_write_conn = unittest.TestLoader().loadTestsFromTestCase(EUDATHandleConnectorWriteaccessPatchedTestCase)
NameError: name 'EUDATHandleConnectorWriteaccessPatchedTestCase' is not defined

Robert

Really fixed via PR #40


opensci, sciencecore: startup jupyterlab instead of classic UI by default

Is JupyterLab preferred over the classic UI view for the "Pangeo notebook image" and "Jupyter SciPy Notebook" image choices? This PR makes it so if approved.
Ping @kyttmacmanus and @jmunroe

With https://github.com/2i2c-org/infrastructure/pull/3972, this can be self merged

Its not on request from the community though, its my own initiative thinking its desired on sciencecore

I agree that /lab is a better default for those images.

Thank you @kyttmacmanus and @jmunroe!!


Add supported currency table

Codecov Report

Merging #175 into master will decrease coverage by 4.27%.
The diff coverage is 3.90%.

@@             Coverage Diff              @@
##             master     #175      +/-   ##
============================================
- Coverage     42.26%   37.98%   -4.28%
- Complexity      344      357      +13
============================================
  Files           103      106       +3
  Lines          1822     2051     +229
  Branches        155      157       +2
============================================
+ Hits            770      779       +9
- Misses          997     1213     +216
- Partials         55       59       +4

Impacted Files
Coverage Δ
Complexity Δ

.../address/logic/commands/AddDescriptionCommand.java
54.16% <ø> (ø)
6.00 <0.00> (ø)

...eedu/address/logic/commands/AddExpenseCommand.java
70.00% <ø> (ø)
6.00 <0.00> (ø)

...ava/seedu/address/logic/commands/ClearCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...va/seedu/address/logic/commands/CommandResult.java
84.00% <ø> (ø)
10.00 <0.00> (ø)

...dress/logic/commands/DeleteDescriptionCommand.java
54.16% <ø> (ø)
6.00 <0.00> (ø)

...u/address/logic/commands/DeleteExpenseCommand.java
66.66% <ø> (ø)
6.00 <0.00> (ø)

.../seedu/address/logic/commands/ExchangeCommand.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...java/seedu/address/logic/commands/ExitCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...java/seedu/address/logic/commands/HelpCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...s/logic/commands/ListExpenseByCategoryCommand.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

... and 49 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 417b197...527a6ed. Read the comment docs.


Unable to serialize property with name 'Type' in Extension data

I am adding a class for extension data for AWSIntegration. The class has a property with name 'Type'

I am using NSwag.MSBuild 'AfterBuild' target to generate swagger json
The generated json doesn't have the property with name 'Type'. Here is the snippet from generated json

Here is the link to my project:
https://github.com/prakash-gudipati/NSwagAwsIntegration

Did anyone face this issue?


chore: migrate to independent release

Proposed changes
Modify the release process to be able to do independent releases.
This also means that package version will not be 'synchronized' anymore: So in the future, the default version of create-atomic for the cli might not be the version of the cli.
Breaking changes
How we do merge for changes that impact multiple projects:
If your changes impact multiple packages, you have to organize your commits so that one commit affects a single workspace every time.
For example, if I do a breaking change in @coveo/cli-commons, I will need to change how @coveo/cli use the latter.
I will need to organize my branch in two commits:

The first one will contain only the change relative to @coveo/cli-commons. Its message will contain the breaking change identifier.
The second one will contain only the change relative to @coveo/cli. Its message will not contain the breaking change container, it will be a chore or feat depending on the impact on the user. (e.g. if the change is not impacting the end user of the CLI, then it's a chore. If the change adds new behavior for the end user, it's a feat)

For this reason, I enabled the rebase merge option on the repository. It will be the one to use for the scenario described above.
Tags format

A tag for each release process, named release-n. release-0 has been placed manually on the latest release.
A tag for each released package, named @coveo/package-name@version.

GitHub release

Will occur only when the CLI is released.

Testing

[x] Manual Tests: I created a test branch locally where I disabled git push and npm publish and tested the process.

How we do merge for changes that impact multiple projects:

This will be necessary for minor changes as well or only breaking changes?

How we do merge for changes that impact multiple projects:

This will be necessary for minor changes as well or only breaking changes?

It will be necessary when 2+ public projects are impacted and than the change level in those is different


Automatically pull the swe-agent image when using run.py via the swe-agent-run container

Currently, the quickstart instructions still need
docker pull sweagent/swe-agent:latest

because if you run the containerized run.py, it will not attempt to docker pull this image.

This could lead to version discrepancies. Perhaps better to just go with #114


Update gene characterization history

we need to update the gene chracterization history page
Kim could you add the current totals as the end of 2022
https://www.pombase.org/status/gene-characterisation-statistics-history
it's supposed to be a year end snapshot of
https://www.pombase.org/status/gene-characterisation
but sometimes  the dates are a bit random.
Even though the data types are a bit orthogonal, I'm quite attached to this data. Its what I used for
https://royalsocietypublishing.org/doi/10.1098/rsob.180241 figure 1
It's a useful snapshot
@manulera  these classes come from the
/colour labels in the contig files, so maybe you could pull out the numbers for each year end?
/colour=2 =published
/colour=7 =inferred role
/colour=10 = conserved unknown role
/colour=8 = unchracterized S. pombe specific
/colour= 10 = unchracterized  Schizosaccharomyces specific
(until Aug 2014 colour 10 was not used and colour 8 covered 8&10)

Kim could you add the current totals as the end of 2022

Done for tonight's load.

This is only for CDSs, right?

yes, this is CDS only.

Is this something we wanted to include in the things that are ran overnight? Or since it is a once a year thing we just do it like we have so far? If so we can close I think

@ValWood Provide table

Related to https://github.com/pombase/website/issues/2048#event-9594666043


Fix Rust 1.59 warnings

Description
Review Checklist

[ ] Code contains useful comments
[ ] (Integration-)Test cases added (or not applicable)
[ ] Documentation added (or not applicable)
[ ] Changelog updated (or not applicable)

bors r+


Package Request: Spectacle (a Haskell DSL for formal specifications)

Project description
Spectacle is an open source, domain-specific language for writing and checking formal specifications in Haskell, by Awake Security.  It is designed to replace TLA+ for formally specifying Haskell software, to achieve feature parity with TLA+ while improving on several aspects of TLA+ and TLC.
Metadata

homepage URL:  https://awakesecurity.com/blog/spectacle-a-language-for-writing-and-checking-formal-specifications-in-haskell/
source URL:  https://github.com/awakesecurity/spectacle
license:  Apache 2.0
platforms:  linux, darwin

Can you ask upstream to upload their releases to Hackage? While it's not a requirement, it makes packaging a haskell package a lot less effort for us in general.

Spectacle now appears to be available on Hackage: https://hackage.haskell.org/package/spectacle

Working with GHC 8.10.7 in haskell-updates, issue for 9.0 support here: https://github.com/awakesecurity/spectacle/issues/49


Custom Fonts Height is too Higher then FontSize

Describe the bug
I add two TextBlock in window, and use custom fonts. The Digiface FontFamily shows normally but the "思源黑体 CN Regular" shows not as what i want.

Is there any way to make "思源黑体 CN Regular" shows Alignment center？
The code is:
`

`
To Reproduce
Fonts.zip

Copy the two ttf  files to application resources under /Assets/Fonts/
Add  <TextBlock      Background="Blue"      Text="00:00"      FontSize="20"      FontFamily="avares://CommandCenter/Assets/Fonts/DIGITAL-REGULAR.TTF#Digiface"      VerticalAlignment="Center"      HorizontalAlignment="Center"      TextAlignment="Center"/>    <TextBlock      Background="Blue"      FontSize="20"      FontFamily="avares://CommandCenter/Assets/Fonts/SourceHanSansCN-Regular.ttf#思源黑体 CN Regular"      VerticalAlignment="Center"      >Hello</TextBlock>  in any view.axaml files.
3. Build and abserve the UI about “Hello”.

Expected behavior
No response
Avalonia version
11.2.1
OS
Windows
Additional context
No response

Please try always latest version available, best nightly. Also worth to test Font on Word or similar, could also be a font issue.

Please try always latest version available, best nightly. Also worth to test Font on Word or similar, could also be a font issue.

OK，I'll try this.

I first test four Chinese fonts in WPS Word，Only “宋体” seems good，other three all seems Higher then font size. I'm not sure if this is a common problem with Chinese fonts.
The following are the videos and pictures I tested.
https://github.com/user-attachments/assets/c237e5ca-c768-488c-8181-9c68e0f3c95c

@timunie Thanks，This may be the reason for the Chinese font.

If it's typical for the font, this is not an Avalonia bug imo, so I marked it as by design. Maybe someone has an idea how to configure it.


Added Order for Webpart provisioning

Although the template contained the order for the webparts it was not coming through when provisioning this was because it was not being set, so it has now been added

Thx for this update Matt :-)


nopan doesn't work when used with panOnScroll

Describe the Bug
"nopan" class name doesn't work when used with panOnScroll
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

add "nopan" to element x
try to pan over element x
it pans

Expected behavior
nopan should work as expected
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

fixed in 11.9.0


iOS installation error

Hello!
I am trying to install the plugin in capacitor 3, but when compiling, it gives me a problem with iOS. attached error
`
✖ Updating iOS native dependencies with pod install - failed!
✖ update ios - failed!
[error] Analyzing dependencies
[!] No podspec found for CapgoNativeMarket in
`../../node_modules/@capgo/native-market``
Edit: When adding it from this repository in the node_modules folder, it works correctly
As always, thanks for your contributions!

Thanks for the report ! i changed the package name and forgot to add the new file to file list in package.json, new version will fix this


How to improve training?

I commented in the language request discussion that Brazilian Portuguese is missing so I'm trying to train a en→pt_BR model. I will also train a es→pt_BR model to avoid pivoting around English. I'm having some issues:
My hardware is quite limited: I got 4 GB of GPU RAM, so, following the documentation I reduced both batch_size and valid_batch_size and I could train a model, but this model was quite bad (example: "Roses are red" was translated to "The queen is red"). I tried increasing train_steps but it's still not great (example: "Roses are red" was translated to "Roses é vermelho", i.e. "Roses (given name) is red"). Seems the issue was with the dataset I was using (subtitles), so I added more data... then the script crashed every time: my system only have 8 GB of RAM.
Is it possible to improve training under those hardware constraints? Or the only way is buying more RAM?

I tried reducing the corpus by randomly dropping lines from those (of course, the same line indexes are dropped in the source and target files) then I trained it three times, those are the results of each one:

I reduced the corpus by dropping 90% of all sources. For some reason it returns "I don't know." for everything.
I changed the drop rate to be lower for small sources, larger for large sources, so large sources don't mess too much with the training (IIRC 90% drop rate for WikiMatrix, 80% drop rate for OpenSubtitles, 20% for TED, 80% for CAPES). It returned some results, but this poem was not translated well (it cannot handle names, like "Baba", changed "Violets" to "Christmas", etc). In this line I randomly got from Nagatoro anime it translated "sheep" as "snake", weird. In this line from Komi-san it translated almost perfectly well, but ignored the "class" (which seems understandable as I'm using OpenSubtitles and repeating "class princess" in every line is not likely to be common in subtitles). In this other line, also from Komi-san, it messed up weirdly: the translation makes no sense ("Imgata's abilities is one of social skills.").
I changed the WikiMatrix drop rate to 85%, OpenSubtitles to 70%, TED to 10% and increased train_steps to 80000 and early_stopping to 6. The Baba is You poem improved, now it better translates "red" as "vermelho" (but should be "vermelha" as roses are a feminine noun in Portuguese, also it should be "Rosas", not "Rose"), it ignored "Baba" and "Violets". It translated Nagaroto's line pretty well. The first and second are pretty much the same thing: the first is ok, the second is non-sense.

I don't know what I'm doing wrong. I hope you can help me.

Nice experiments!
These are good questions, and it can be more art than science trying to figure out which tweaks will improve performance. The OpenNMT Forum is a good resource to discuss what works and doesn't for translation models too.
The most straightforward and inexpensive way to train a model is probably vast.ai but if you already have access to specific hardware you may need to do some tweaks to get good performance.

In general the best strategy for increasing quality is going to be increasing the quality and quantity of data.
It sounds like you're only using OpenSubtitles? You could try adding more datasets from Opus.

I understand. I has using more datasets (like WikiMatrix and TED). I even added some non-open datasets to match the content I want to translate in addition to those from OPUS. I think would be better spending money in better hardware resources instead of spending on GPU rentals, even if it's cheaper, because it will be more cost-efficient in the long run (8 GB RAM is just the minimal requirement for one of the programs I use at work).
Well, thanks for the help. I hope an official Brazilian Portuguese model gets released in the future.


How to make custom function to validate data?

I'm using this validation script of 1000hz
I have textbox to input data of Citizen ID which having algorithm to check accuracy of that data
Basically, there are 13 digits of integer
I have general JavaScript to check it, but I want to put it into 1000hz
This is that script
function checkID(id) {
if (id.length != 13) { return false; }
for (i=0, sum=0; i < 12; i++) { sum += parseFloat(id.charAt(i))*(13-i); }
if ((11-sum%11)%10!=parseFloat(id.charAt(12))) { return false; }
return true;
}
How can I do?

You can add custom validator by providing a function that receives a jQuery element as an argument and returns an error message if the field is invalid. Thus you should activate the validation via JavaScript:
$('#myForm').validator({
    custom: {
        'citizen': function ($el) {
            console.log('here');
            if (!checkID($el.val)) {
                return "Invalid Citizen Id."
            }
        }
    }
});

Adding the validator to an input is done just like the others, by referencing its name as a data attribute:
 <input data-citizen="" required>

Please refer to the documentation: http://1000hz.github.io/bootstrap-validator/