Make Run throws error

Hi guys.
I'm trying to get PrivateGPT to run on my local Macbook Pro (intel based), but I'm stuck on the Make Run step, after following the installation instructions (which btw seems to be missing a few pieces, like you need CMAKE).
This is the log from Make Run:
make run
poetry run python -m private_gpt
10:10:29.185 [INFO    ] private_gpt.settings.settings_loader - Starting application with profiles=['default']
Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 798, in get
   return self._context[key]
          ~~~~~~~~~~~~~^^^^^
KeyError: <class 'private_gpt.ui.ui.PrivateGptUi'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 798, in get
   return self._context[key]
          ~~~~~~~~~~~~~^^^^^
KeyError: <class 'private_gpt.server.ingest.ingest_service.IngestService'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 798, in get
   return self._context[key]
          ~~~~~~~~~~~~~^^^^^
KeyError: <class 'private_gpt.components.llm.llm_component.LLMComponent'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/llama_index/llms/llama_cpp.py", line 102, in __init__
   from llama_cpp import Llama
ModuleNotFoundError: No module named 'llama_cpp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "<frozen runpy>", line 198, in _run_module_as_main
 File "<frozen runpy>", line 88, in _run_code
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/__main__.py", line 5, in <module>
   from private_gpt.main import app
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/main.py", line 11, in <module>
   app = create_app(global_injector)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/launcher.py", line 125, in create_app
   ui = root_injector.get(PrivateGptUi)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 974, in get
   provider_instance = scope_instance.get(interface, binding.provider)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 800, in get
   instance = self._get_instance(key, provider, self.injector)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 811, in _get_instance
   return provider.get(injector)
          ^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 264, in get
   return injector.create_object(self._cls)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 998, in create_object
   self.call_with_injection(init, self_=instance, kwargs=additional_kwargs)
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1031, in call_with_injection
   dependencies = self.args_to_inject(
                  ^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1079, in args_to_inject
   instance: Any = self.get(interface)
                   ^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 974, in get
   provider_instance = scope_instance.get(interface, binding.provider)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 800, in get
   instance = self._get_instance(key, provider, self.injector)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 811, in _get_instance
   return provider.get(injector)
          ^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 264, in get
   return injector.create_object(self._cls)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 998, in create_object
   self.call_with_injection(init, self_=instance, kwargs=additional_kwargs)
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1031, in call_with_injection
   dependencies = self.args_to_inject(
                  ^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1079, in args_to_inject
   instance: Any = self.get(interface)
                   ^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 974, in get
   provider_instance = scope_instance.get(interface, binding.provider)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 800, in get
   instance = self._get_instance(key, provider, self.injector)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 811, in _get_instance
   return provider.get(injector)
          ^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 264, in get
   return injector.create_object(self._cls)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 998, in create_object
   self.call_with_injection(init, self_=instance, kwargs=additional_kwargs)
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1040, in call_with_injection
   return callable(*full_args, **dependencies)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/components/llm/llm_component.py", line 20, in __init__
   self.llm = LlamaCPP(
              ^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/llama_index/llms/llama_cpp.py", line 104, in __init__
   raise ImportError(
ImportError: Could not import llama_cpp library.Please install llama_cpp with `pip install llama-cpp-python`.See the full installation guide for GPU support at `https://github.com/abetlen/llama-cpp-python`
make: *** [run] Error 1

It recommends running pip install llama-cpp-python which I tried. That gives the following output:
Requirement already satisfied: llama-cpp-python in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (0.2.19)
Requirement already satisfied: typing-extensions>=4.5.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from llama-cpp-python) (4.8.0)
Requirement already satisfied: numpy>=1.20.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from llama-cpp-python) (1.26.2)
Requirement already satisfied: diskcache>=5.6.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from llama-cpp-python) (5.6.3)

I tried building the official llama.cpp package, which builds just fine.

Try using the
ARCHFLAGS="-arch x86_64"
when installing requirements.
In the previous version of privategpt most people got that problem solved by running
ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt
There is no requirements.txt usage anymore, but you can try to follow the same idea with poetry

use: $env:PGPT_PROFILES="local" poetry run python -m private_gpt

still got error..

Hi guys.
I'm trying to get PrivateGPT to run on my local Macbook Pro (intel based), but I'm stuck on the Make Run step, after following the installation instructions (which btw seems to be missing a few pieces, like you need CMAKE).
This is the log from Make Run:
make run
poetry run python -m private_gpt
10:10:29.185 [INFO    ] private_gpt.settings.settings_loader - Starting application with profiles=['default']
Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 798, in get
   return self._context[key]
          ~~~~~~~~~~~~~^^^^^
KeyError: <class 'private_gpt.ui.ui.PrivateGptUi'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 798, in get
   return self._context[key]
          ~~~~~~~~~~~~~^^^^^
KeyError: <class 'private_gpt.server.ingest.ingest_service.IngestService'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 798, in get
   return self._context[key]
          ~~~~~~~~~~~~~^^^^^
KeyError: <class 'private_gpt.components.llm.llm_component.LLMComponent'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/llama_index/llms/llama_cpp.py", line 102, in __init__
   from llama_cpp import Llama
ModuleNotFoundError: No module named 'llama_cpp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "<frozen runpy>", line 198, in _run_module_as_main
 File "<frozen runpy>", line 88, in _run_code
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/__main__.py", line 5, in <module>
   from private_gpt.main import app
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/main.py", line 11, in <module>
   app = create_app(global_injector)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/launcher.py", line 125, in create_app
   ui = root_injector.get(PrivateGptUi)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 974, in get
   provider_instance = scope_instance.get(interface, binding.provider)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 800, in get
   instance = self._get_instance(key, provider, self.injector)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 811, in _get_instance
   return provider.get(injector)
          ^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 264, in get
   return injector.create_object(self._cls)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 998, in create_object
   self.call_with_injection(init, self_=instance, kwargs=additional_kwargs)
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1031, in call_with_injection
   dependencies = self.args_to_inject(
                  ^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1079, in args_to_inject
   instance: Any = self.get(interface)
                   ^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 974, in get
   provider_instance = scope_instance.get(interface, binding.provider)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 800, in get
   instance = self._get_instance(key, provider, self.injector)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 811, in _get_instance
   return provider.get(injector)
          ^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 264, in get
   return injector.create_object(self._cls)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 998, in create_object
   self.call_with_injection(init, self_=instance, kwargs=additional_kwargs)
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1031, in call_with_injection
   dependencies = self.args_to_inject(
                  ^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1079, in args_to_inject
   instance: Any = self.get(interface)
                   ^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 974, in get
   provider_instance = scope_instance.get(interface, binding.provider)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 91, in wrapper
   return function(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 800, in get
   instance = self._get_instance(key, provider, self.injector)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 811, in _get_instance
   return provider.get(injector)
          ^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 264, in get
   return injector.create_object(self._cls)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 998, in create_object
   self.call_with_injection(init, self_=instance, kwargs=additional_kwargs)
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/injector/__init__.py", line 1040, in call_with_injection
   return callable(*full_args, **dependencies)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/jesperplantener/Documents/git/privateGPT/private_gpt/components/llm/llm_component.py", line 20, in __init__
   self.llm = LlamaCPP(
              ^^^^^^^^^
 File "/Users/jesperplantener/Library/Caches/pypoetry/virtualenvs/private-gpt-4sFmnZIl-py3.11/lib/python3.11/site-packages/llama_index/llms/llama_cpp.py", line 104, in __init__
   raise ImportError(
ImportError: Could not import llama_cpp library.Please install llama_cpp with `pip install llama-cpp-python`.See the full installation guide for GPU support at `https://github.com/abetlen/llama-cpp-python`
make: *** [run] Error 1

It recommends running pip install llama-cpp-python which I tried. That gives the following output:
Requirement already satisfied: llama-cpp-python in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (0.2.19)
Requirement already satisfied: typing-extensions>=4.5.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from llama-cpp-python) (4.8.0)
Requirement already satisfied: numpy>=1.20.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from llama-cpp-python) (1.26.2)
Requirement already satisfied: diskcache>=5.6.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from llama-cpp-python) (5.6.3)

I tried building the official llama.cpp package, which builds just fine.

I'm having this same issue and was wondering what the solution was for this?

Have you found any solution ? I get the same issue


Feature/rockets booking and cancellation

In this milestone of the project, I've

[x] Created  reserveRocket() and cancelReserve() reducers in rocketSlice.
[x] Dispached the actions using useDispatch().
[x] Called the dispatch action in the Rocket component.
[x] Implemented functionality for reserveRocket() and cancelRocket() reducers by calling and passing the id of the rocket.
[x] Implemented functionality to Cancel the Reserved rocket.
[x] Created styles for the Rocket component.
[x] Created badges for Reserve in the Rocket component.

Hi @iamsjunaid
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
STATUS: APPROVED 🟢
Congratulations! 🎉
Highlight
🔆 Created reserveRocket() and cancelReserve() reducers in rocketSlice.
🔆 Dispached the actions using <useDispatch()>.
🔆 Called the dispatch action in the Rocket component.
🔆 Implemented functionality for< reserveRocket() and cancelRocket() >reducers by calling and passing the id of the rocket.
🔆 Implemented functionality to< Cancel the Reserved rocket>.
🔆 Created styles for the Rocket component.
🔆 Created badges for Reserve in the Rocket component.
Cheers and Happy coding!👏👏👏


Copy-DbaDatabase ReuseFolderStructure fails on 0.9.7 build

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[ x] bug:

System Details

Operating system name and version:
Output from $PSVersionTable:

Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.17400
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

Evaluate $PSVersionTable in PowerShell and paste the output here

Name                           Value

PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.17400
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

- Output of dbatools version:

Evaluate (Get-Module dbatools -ListAvailable).Version and paste output here

Major  Minor  Build  Revision

0      9      7      -1
- SQL Server version for source/target

**Source** - Microsoft SQL Server 2008 (SP4) - 10.0.6000.29 (X64)
	Sep  3 2014 04:11:34
	Copyright (c) 1988-2008 Microsoft Corporation
	Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)

**Destination** - Microsoft SQL Server 2014 (SP2) (KB3171021) - 12.0.5000.0 (X64)
	Jun 17 2016 19:14:09
	Copyright (c) Microsoft Corporation
	Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: )

## Steps to Reproduce

#### Example:
1. Created database/object/files/etc
2. Run Command:
```powershell
Get-DbaFunction -SqlInstance MyServer | Get-DbaSomeOtherFunction -FilterSwitch -StelleEyedMissileMan

Received following error

Also

7/20/2017 5:02:51 PM

At line:582 char:38
+                     $FilteredFiles | Restore-DBFromFilteredArray -SqlInstance $S ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is an empty string.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
   at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
   at System.Management.Automation.CommandProcessorBase.Complete()
7/20/2017 5:02:52 PM

@theRockStarDBA the issue doesn't seem to list the command that you actually ran but i believe it's
Copy-DbaDatabase -Source sql2016a -Destination sql2016c -Force -ReuseSourceFolderStructure -BackupRestore -NetworkShare \\dc\sql -Database Test
I tracked it down to an issue with the Restore command and ReuseSourceFolderStructure and have asked @Stuart-Moore to take a look.

I revisited this command on the most recent version and it seems there were issues - not with Restore but with Copy. I'm about to submit a PR

Sorry, should be both with restore and copy

try now plz


Router can't handle callables correctly

Laravel Version: 5.7
PHP Version: 7.2
Database Driver & Version: irrelevant

Description:
Laravel's router should take callables not just closures
Route::get("/workstation",Read::class);

instead of
Route::get("/workstation", function(){
    return (new \HR\Education\Action\Workstation\Read())();
});

Steps To Reproduce:
...

Is this what you're looking for? https://laravel.com/docs/5.7/controllers#single-action-controllers

Does it have to be in the Controllers namespace? I want it to be elsewhere.
In RouteAction.php line 89:

  Invalid route action: [App\Http\Controllers\HR\Education\Action\Workstation\Read].

Thanks. For further reference I'll paste how I achieved FQCNs to work:
RouteServiceProvider.php
    protected function mapEducationRoutes()
    {
        Route::middleware("web")
            ->namespace(null)
            ->group(base_path("routes/education.php"));
    }


[FLINK-21164][rest] Delete temporary jars

Modifies the Jar(Run|Plan)Handler to call PackagedProgram#deleteExtractedLibraries once we are done with the job submission / plan generation.
This is not covered by tests; I don't see a good way to do that since from the outside it is neither obvious which files are supposed to (not) exist nor where the temporary files would be located (by virtue of PackagedProgram not respecting the io.tmp.dirs option).

@tillrohrmann I updated the PR. PackagedProgram now implements AutoClosable, and all usages of PackagedProgram#deleteExtractedLibraries have been migrated to use close() instead.
In FLINK-9844 we can then extend this method to also close the ClassLoader.
I will also file a follow-up ticket to explicitly call close() in the entry points.

@tillrohrmann I updated the PR. PackagedProgram now implements AutoClosable, and all usages of PackagedProgram#deleteExtractedLibraries have been migrated to use close() instead.
In FLINK-9844 we can then extend this method to also close the ClassLoader.
I will also file a follow-up ticket to explicitly call close() in the entry points.


Add more logic to install target

So this commit aims to tweak the install make target so that it can be
invoked whenever we need to tweak things like git branch or git repo via
CLI but the VP pattern has been installed via the OperatorHub.
Currently if you just run make install from the repo after the
operator has been installed via the Web UI, there will be an error like:
Error: rendered manifests contain a resource that already exists. Unable
to continue with install: Pattern "multicloud-gitops" in namespace
"openshift-operators" exists and cannot be imported into the current
release: invalid ownership metadata; label validation error: missing key
"app.kubernetes.io/managed-by": must be set to "Helm"; annotation
validation error: missing key "meta.helm.sh/release-name": must be set
to "multicloud-gitops"; annotation validation error: missing key
"meta.helm.sh/release-namespace": must be set to "default"

The problem is that the pattern object and the patterns operator
subscription are missing some annotations and labels and that confuses
helm install later on as it sees the object it needs to create but craps
itself as it has no knowledge of it.
A few approaches were investigated to solve this:

Tweak the operator to add annotations. This, besides being a bit
fragile and convoluted, is not a viable path, because the operator
would also have to tweak the subscription that was used to install
itself, which seems grossly out of bounds.
Tweak make install to always use helm template and pipe it
through oc apply. This quickly would become rather complex and
fragile because of the way CRDs are managed in helm: we would have to
first install the CRD, wait for its successful creation and only then
do another helm template ... | oc apply -f-. This quickly becomes
rather involved and fragile. Also it is really reimplementing all of
the helm install logic.
Add a post-renderer script to strip the standard helm annotations
(https://helm.sh/docs/chart_best_practices/labels/#standard-labels).
Seemingly helm does not pass those annotations to the post renderer
but adds them afterwards, because a --post-renderer pointing to a
script that does yq e 'del(.metadata.annotations)' did not work

Given the above limits, I decided to tweak make install so that if the
CRD for the pattern is missing, it would just run the usual helm
install. If the CRD is present then either it has been installed via the
operator's UI or via make install. Either way, we just just run helm
template and pipe it to oc apply, so that we won't force the helm
standard annotations.
We have two invocations of helm template (one piped to oc apply
set-last-applied) so we avoid the following warning during the first
reapply call:
Warning: resource patterns/multicloud-gitops is missing the
kubectl.kubernetes.io/last-applied-configuration annotation which is
required by oc apply. oc apply should only b e used on resources created
declaratively by either oc create --save-config or oc apply. The missing
annotation will be patched automatically.
pattern.gitops.hybrid-cloud-patterns.io/multicloud-gitops configured
Warning: resource subscriptions/patterns-operator is missing the
kubectl.kubernetes.io/last-applied-configuration annotation which is
required by oc apply. oc apply should o nly be used on resources created
declaratively by either oc create --save-config or oc apply. The missing
annotation will be patched automatically.
subscription.operators.coreos.com/patterns-operator configured

Tested by installing a pattern via UI of the VP Operator, then locally ran
make install and observed the new git branch being applied in the
operator.

/LGTM. This is the way. :)


I need to listen expired events in my application. As I know, keyspace notifications are node-specific unlike regular pub/sub. So, to catch expired events for all keys I need to attach all nodes in cluster mode. How can I achieve this with radix? I couldn't find any solution.

Hey @kayalardanmehmet, I answered your issue in the newer radix package, and this one is no longer maintained, so I'm going to go ahead and close this.


unable to download a file as expected in Chrome

I'm using Chrome Version 57.0.2987.110
No matter how I try to download a file from Hyrax/Hyku (eg, any button labeled "Download"), the file loads in a separate tab instead of initiating the download process (whether by prompt for confirmation or auto-download)

I'll try to replicate this bug using Chrome Version 58.0.3029.110 (64-bit) (on my Ubuntu 16.04 development VM).

After using developer tools to remove the target="_blank", then Chrome downloads the image as binary data into the current window/tab - it's not pretty.

There are some forum comments requesting additional download features for Chrome, e.g.
https://productforums.google.com/forum/#!topic/chrome/np85LhaFIT0

@jcoyne comments in slack:
I suspect you have to fix it here: https://github.com/projecthydra/hydra-head/blob/master/hydra-core/app/controllers/concerns/hydra/controller/download_behavior.rb
Specifically: https://github.com/projecthydra/hydra-head/blob/master/hydra-core/app/controllers/concerns/hydra/controller/download_behavior.rb#L77

switch inline to attachment conditionally
here’s one project that did this: https://github.com/projecthydra-labs/hydradam/blob/master/app/controllers/downloads_controller.rb#L50

Thanks, @darrenleeweber!


FAQ structure

Estimated time: ?h

what:
Update the FAQs of the docs website.
We want to structure it this way:
General
  - ...
  - FAQ
Product (TomoScan, TomoMaster, TomoChain, Masternode, TomoX, ...)
  - ...
  - FAQ

how:
This will be a collaborative work in a few steps:

Assigned writer and collaborators write and collect questions (shared google docs, link given via pm)
Questions selections
Assigned writer organize the documents and write the answers

Assigned to: @DuqueKarl
Reviewed by: @etienne-napoleone

Hey @DuqueKarl any new on the advancement of the FAQ? Just pm me if you need any help

Hi guys,
Please check it out here:  https://docs.google.com/spreadsheets/d/1DJ9VzimKXG2r67POMOdmTXrDLonx2-H-yLw38sZyzGg/edit#gid=0

https://github.com/tomochain/docs/pull/111


Code Gen Panics When there is monotonic is defined but no task defined

If an app is defined with monotonic
#[rtic::app(... , monotonic = rtic::cyccnt::CYCCNT,...)]

and no task is defined, the procedural macro fails with
help: message: called `Option::unwrap()` on a `None` value

on this line:
https://github.com/rtic-rs/cortex-m-rtic/blob/e65a86f6962218b66a14b7ccc40eec7976880eba/macros/src/codegen/pre_init.rs#L79
This is a niche issue but could be encountered when creating new projects. There should be a proper error message for this.

Hi, this will disappear with the require of monotonic and will be fixed in 0.6.0-alpha.1.
Thanks for bringing it to our attention!

Just ran into this myself. Looking forward to the next release


consistent subgroups

download new episodes based off of the subgroup that previous episodes have (and settings for that, maybe)

going to need to update the episode table to hold more information


Rethink permissions

I am suggesting 2 changes for the permission system:
1. Allow explicit permission inheritance
Use case: A plugin has 100+ permissions. Some of them are typically for admins, some for moderators, some for trusted and some for new players. The plugin dev wants to add some "super permissions" for these user types. Server admins can then decide if they want full control or use the predefined perm sets.
2. Use node.* notation for implicit inheritance
This gives plugin devs a lot more flexibility how to define their permissions. It makes implicit inheritance optional, which is better than forcing it.
More about this issue:
https://forums.spongepowered.org/t/permission-inheritance-and-command-flags/6255

This is probably something for @zml2008

Allowing explicit permissions inheritance allows setting up nodes that may assign nodes to a user that would be unexpected.

If you want a specific node to default to false no matter what any parent nodes say, you can do that in your plugin using the default SubjectData (PermissionService#getDefaultData)

Why have the .* -- In like >95% of cases this is what users want, and in the other <5%, manually force a permission to false using the default SubjectData -- users can override that on their own.

Allowing explicit permissions inheritance allows setting up nodes that may assign nodes to a user that would be unexpected.

Why do you want to limit the system?

Why have the .* -- In like >95% of cases this is what users want

As a server admin, I want to limit the permissions of a player to the basics. When there is no .* notation, the system forces me to always use implicit inheritance. This will cause a lot of problems, when a server admin assigns example.cmd.tp, which includes example.cmd.tp.self (What the admin actually wanted), example.cmd.tp.other (Teleport other player to target player)  and example.cmd.tp.here (Teleport other player to you).
It also makes the permission strings for basic command access longer: example.cmd.tp.self instead of example.cmd.tp.

It's not an artificial limit on the system -- It's a larger API, more complexity for permissions plugins, and if explicit inheritance were to be supported potential confusion for users.
There is nothing inherently more problematic about implicit inheritance -- you're just choosing example permissions that are bad. You could argue that explicit inheritance prevents plugin developers from using an explicit * in their permissions with your vision just as easily

@zml2008 While I get your point, the example permissions @boformer choose resemble a standard case that is present in various plugins. For example, see my question like above or the following example taken from CommandBook:

Command
Permission

/more [-a] [-i] [target]
commandbook.more commandbook.more.infinite

With commandbook.more a user also gets access to the [i] flag witch is not intended. What is the best practice in such a case, should we use a permission such as commandbook.more.more instead?

For commandbook.more.infinite, in your plugin initialization do:
permissionService.getDefaultData().setPermission(SubjectData.GLOBAL_CONTEXT, "commandbook.more.infinite", Tristate.FALSE);

@zml2008 , would registering the default permission that way interfere with permissions plugins persistence of permissions, or would it somehow be transient or overridden since it was called in the plugin initialization? And if so, at what lifecycle event should they be declared in?

The default data exposed in the API is entirely transient, so won't persist. You can really register default perms at any time, so just do them with the rest of your plugin init.


Fix Ruff and typing errors

Current dependencies on/for this PR:

main

PR #217   👈

This comment was auto-generated by Graphite.

Totally open to explicitly which rules we want.
Using ALL is discouraged.

For me, it is ok to have a PR that does not pass Ruff and the maintainer can help fix the different errors.

In the repos that I fully control, I favor to enable all the rules per default and then disable specific rules on a case-by-case basis. I'm the -Wpedantic guy on the C++ team. sweat_smile

Me too :smile:

I'm not so familiar with ruff so I can't tell if the current select list is "near to ALL but with few exceptions" atm. @JonathanPlasse, is it?

Yes, the select is ALL with few exceptions.

I like @JonathanPlasse's idea to enable the strict rules and then help contributors fix them (even do it ourselves). That's a compromise between "strict code quality requirements" an "encourage contribution".

I think we should update CONTRIBUTING.md to explain this.

I added flake8-todos with Ruff.
Now it will force you to add the name of the author of the todo.
Like this, no need to do a git blame and it is more robust and faster.
The author of the todo is not necessarily the one that has to solve it.


fix: fixed systemjs register function _export not return

New Pull Request
For more information, see the CONTRIBUTING guide.
Prerequisites
Please make sure you can check the following boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project
[x] All new and existing tests passed

Type(s) of Changes
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes

Description
vite to compile pilet, systemjs register function _export not return
fix: #570
Remarks

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


[Bug fixes] Update labelstudio2doccano.py

PR types
Bug fixes
PR changes
Others. Helper function for convering the format of label-studio to doccano.
Description
Fix json file reading error.

Only json line format was accpted, which is not the default export option in labelstudio, making error for directly output json or formatted json file. The reading procedure was fixed to adapt both the json line format and detended format.

Add support for setting default value for missing relation type, which is allowed in label-studio but not the case in doccano.

Some relation type could be emply list imported from label-studio. Add default relation type.

可以再提供一下doccano导出数据转换为Label Studio格式的代码吗？

可以再提供一下doccano导出数据转换为Label Studio格式的代码吗？

可以在PaddleNLP下面提一个新的Issue

@wawltor @sijunhe 请问能查看、通过一下吗？

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


feat: added Go Back and Up Next Buttons in docs

Description
This PR involves deletion of Chapter Suggestions Section from docs and addition of Go Back and Up Next Button, on the bottom of each page of docs.
Related issue(s)
Fixes #411

@alequetzalli @mcturco Kindly review this PR and do tell me if certain changes are needed in the design of Buttons or something else.

Next feedback. If I add new element to the DocsButton component like:

@magicmatatjahu But, Why a page in docs section will have more than 1 Up Next Buttons. Particularly, there will be only 1 Go Back and 1 Up Next Button for each page. If we want to make something like Chapter Suggestions, we have to go with a different approach. This DocsButton takes only 2 types of buttons - one Go Back and one Up Next, so as to connect pages sequentially.

@akshatnema

But, Why a page in docs section will have more than 1 Up Next Buttons. Particularly, there will be only 1 Go Back and 1 Up Next Button for each page. If we want to make something like Chapter Suggestions, we have to go with a different approach. This DocsButton takes only 2 types of buttons - one Go Back and one Up Next, so as to connect pages sequentially.

Thanks for response! But if we add possibility to define that buttons as array people (like me) can try to define more that one next and back buttons, so better will be have next and back prop in component rather than suggestions.

@mcturco @magicmatatjahu All the changes requested have been done. You can now preview the updated ones.

Thanks, @magicmatatjahu for providing the sample code for buttons. It helped me a lot to debug the error easily :+1:

@magicmatatjahu Yepp, it's working fine for only one button and for an array of buttons as well. You can refer to this page.
https://deploy-preview-571--asyncapi-website.netlify.app/docs/getting-started

@akshatnema Ok, but you wrote this:

But, Why a page in docs section will have more than 1 Up Next Buttons. Particularly, there will be only 1 Go Back and 1 Up Next Button for each page. If we want to make something like Chapter Suggestions, we have to go with a different approach. This DocsButton takes only 2 types of buttons - one Go Back and one Up Next, so as to connect pages sequentially.

https://github.com/asyncapi/website/pull/571#issuecomment-1022180106 so I thought that you wanna have only one button of each type.

Nope @magicmatatjahu, I had made changes on this PR as described by you. Even your edited code helped me a lot while making the DocsButton more flexible. Thanks for the suggestion and guidance.

@magicmatatjahu looks good from my end! So we merged #568 into this PR? If we are going to do that, just need to make sure that an issue is created for the sidebar nav in the docs that is getting cut off when you scroll to the bottom of any docs page.

LGTM! @mcturco @alequetzalli Do you wanna add something more? :)

LGTM too! ship it 🚢 🚢 🚢

/rtm


Resolve CLIMATE-561 : wraping up the error in install-ubuntu.sh

We haven't removed the code discrepancy in the install-ubuntu.sh. This pull request solves it. @lewismc please have a look at this.

Can one of the admins verify this patch?

I have updated the pull request which solves the issue CLIMATE-560. Please verify it.


[Request] Return IdentityState instead of IdentitySnapshot in Account methods

Description
Two public methods in the Account currently return an IdentitySnapshot, such as find_identity or create_identity. This snapshot wraps the IdentityState, the actual state of an identity, and the sequence, which is the index of the commit at which the state was generated. As an example, sequence 5 would mean that commits 1 through 5 were applied to create the given state. Developers most likely have no use for this sequence, so returning the state directly makes more sense. The snapshot is also not used as an argument in any public method, so this wouldn't break a lot.
We could even go one step further and return an IotaDocument. Developers then would only have to deal with one type that represents a DID document, rather than two. However, converting the state to a document is a somewhat expensive process (by the looks of it, haven't benchmarked). I personally find the state slightly easier to work with than the document, so currently I'm not very keen on making that change, but that simplicity could potentially be ported from state to doc.
Motivation
Reduce the account's complexity in its public interface, reducing the types that represent a document from at least three to two, maybe even one.
Are you planning to do it yourself in a pull request?
Probably not. This might be a good first issue for someone to implement.

Is there ever a case where someone would need the sequence? Should we keep the functionality to return the snapshot (under a different name) and then simply update this method to unwrap the IdentityState?
Also, if no one has started on this I can probably pick it up this coming week.

Apologies for the late replay, I was out of office.

Is there ever a case where someone would need the sequence?

I can't think of one. The sequence is purely internal state.

Should we keep the functionality to return the snapshot (under a different name) and then simply update this method to unwrap the IdentityState?

The important thing is to remove the IdentitySnapshot from the public interface, so what you've changed in #414 is what I had in mind :+1:.


Uniques: An economically-secure basic-featured NFT pallet

A basic NFT pallet for Statemint, with a similar feature-set to Assets pallet. This doesn't try to do anything clever that might be useful for art-world NFTs (for that there's already some projects underway) but it does provide economic safeguards and basic permissioning (unlike ORML's NFT pallet).
TODO:

[x] Freeze/thaw
[x] Team management
[x] Metadata
[x] Approve
[x] Finalise docs
[x] Tests
[x] Benchmarks
[ ] Weights

Would it be an option to expand this a little bit with primitives we need for RMRK2.0, e.g. would a PR be acceptable? This would make things much easier for our future implementations (to which Phala, Acala, and Unique have already subscribed on the runtime level). Not the whole set of RMRK2.0 features, but just NFTs owning NFTs.
So in effect modification so that:

owner can be other NFT ID instead of only AccountId
commands to NFTs bubble up until they find the owner, so if I send a child NFT, it just looks at its top level owner and if it matches the origin the action is allowed. E.g. I am allowed to burn an NFT even though another NFT owns it, if I own the parent NFT.

For reference, our standards currently support:

NFTs owning NFTs
NFTs governed as DAOs via shareholder tokens (issue commands to NFTs democratically)
NFTs having multiple priority-ordered client-dependent resources (a book with a cover and an audio version)
NFTs being emoted to (on-chain emotes), allowing early price discovery without listing, selling, bidding.
NFTs with conditional rendering (on-NFT logic allowing different visuals and resources to trigger depending on on-chain and off-chain conditions).

We would only need primitives to support the first of these points, so NFTs owning NFTs, as this would make our operation and cross-chain functionality much simpler. The other logic we'll keep in our off-chain libs like now, and later on chains with contracts and those open to integrating our pallets.

Its looking pretty good to me. Will do another pass after you return feedback on my comments.

Would it be an option to expand this a little bit with primitives we need for RMRK2.0, e.g. would a PR be acceptable?

I don't think so - the hierarchical NFTs are interesting, but really not in line with the goals of this pallet.
The goals are to provide a minimal possible economically secure NFT implementation. The features provided are really the lowest-common-denominator among NFTs - just enough to implement a basic standard but no more. Hierarchical permissioning is certainly beyond this.
This pallet's functionality could probably be extended with a extension pallet which would add the feaures you want though. If you don't care about the maintenance burden, you could also fork it.

/benchmark runtime pallet pallet_uniques

/benchmark runtime pallet pallet_uniques


Add a licence

Hi, thanks for this cool library, just what I need.
Would you care to add a licence?
Btw you were mentioned here: https://github.com/fczbkk/css-selector-generator-benchmark#jhartikainen-dompath

Fixed with https://github.com/jhartikainen/dompath/commit/d50b86ddc8a8021a7d1a2c80f71140a9a8b94e2f :)


Fix #668: reverted hashCode implementation to conform to API spec

This PR addresses GitHub issue: #668 .
Briefly describe the changes proposed in this PR:

SimpleLiteral.hashCode now uses label only again (cf. Literal API spec)
updated unit tests to remove incorrect assertions and add test on different-case language tags

Travis is being slow today. But regardless, before I merge I'd like some additional ontotext eyeballs on this as well, just to make sure we're all on the same page. @nikolavp , @damyan-ognyanov , let me know if the solution as proposed at the end of #665 is workable for you.


[BUG] DNS Lookup resolve timeout[RedisConnection:306]

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Darwin MacBook-Pro.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
PHP 8.1.29 (cli) (built: Jun  5 2024 05:51:57) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.29, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.29, Copyright (c), by Zend Technologies
hyperf/cache                       v3.1.23 A cache component for hyperf.
hyperf/code-parser                 v3.1.15 A code parser component for Hyperf.
hyperf/codec                       v3.1.15 A codec component for Hyperf.
hyperf/collection                  v3.1.26 Hyperf Collection package which come from illuminate/collections
hyperf/command                     v3.1.24 Command for hyperf
hyperf/conditionable               v3.1.15 Hyperf Macroable package which come from illuminate/conditionable
hyperf/config                      v3.1.15 An independent component that provides configuration container.
hyperf/config-center               v3.1.15 The abstraction component of config center
hyperf/config-nacos                v3.1.15 A nacos adapter for config center component.
hyperf/constants                   v3.1.25 A constants component for hyperf.
hyperf/context                     v3.1.15 A coroutine/application context library.
hyperf/contract                    v3.1.15 The contracts of Hyperf.
hyperf/coordinator                 v3.1.21 Hyperf Coordinator
hyperf/coroutine                   v3.1.15 Hyperf Coroutine
hyperf/crontab                     v3.1.19 A crontab component for Hyperf.
hyperf/database                    v3.1.26 A flexible database library.
hyperf/db-connection               v3.1.15 A hyperf db connection handler for hyperf/database.
hyperf/devtool                     v3.1.19 A Devtool for Hyperf.
hyperf/di                          v3.1.25 A DI for Hyperf.
hyperf/dispatcher                  v3.1.15 A HTTP Server for Hyperf.
hyperf/engine                      v2.11.0 Coroutine engine provided by swoole.
hyperf/engine-contract             v1.10.1 Contract for Coroutine Engine
hyperf/event                       v3.1.15 an event manager that implements PSR-14.
hyperf/exception-handler           v3.1.22 Exception handler for hyperf
hyperf/filesystem                  v3.1.15 flysystem integration for hyperf
hyperf/flysystem-oss               v1.3.0
hyperf/framework                   v3.1.23 A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                      v3.1.15 Swoole coroutine handler for guzzle
hyperf/http-message                v3.1.25 microservice framework base on swoole
hyperf/http-server                 v3.1.17 A HTTP Server for Hyperf.
hyperf/logger                      v3.1.15 A logger component for hyperf.
hyperf/macroable                   v3.1.23 Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                      v3.1.15 An independent component that use to operate and manage memory.
hyperf/model-listener              v3.1.15 A model listener for Hyperf.
hyperf/nacos                       v3.1.15 Nacos SDK
hyperf/pipeline                    v3.1.15 Hyperf Macroable package which come from illuminate/pipeline
hyperf/pool                        v3.1.15 An independent universal connection pool component.
hyperf/process                     v3.1.15 A process component for hyperf.
hyperf/redis                       v3.1.26 A redis component for hyperf.
hyperf/serializer                  v3.1.23 A serializer component for Hyperf.
hyperf/server                      v3.1.23 A base server library for Hyperf.
hyperf/stdlib                      v3.1.15 A stdlib component for Hyperf.
hyperf/stringable                  v3.1.24 Hyperf Stringable package which come from illuminate/support
hyperf/support                     v3.1.25 A support component for Hyperf.
hyperf/tappable                    v3.1.15 Hyperf Macroable package which come from illuminate/tappable
hyperf/testing                     v3.1.21 Testing for hyperf
hyperf/translation                 v3.1.15 An independent translation component, forked by illuminate/translation.
hyperf/utils                       v3.1.0  A tools package that could help developer solved the problem quickly.
hyperf/watcher                     v3.1.21 Hot reload watcher for Hyperf

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 5.1.2
Built => Jun  5 2024 15:33:45
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 3.3.0 9 Apr 2024
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
c-ares => 1.30.0
zlib => 1.2.12
brotli => E16781312/D16781312
mysqlnd => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_fiber_mock => Off => Off
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144

Description:
如果编译时加入--enable-cares 版本信息: c-ares => 1.30.0 解析阿里云的公网 redis 链接地址就会报错如下：
sys.ERROR: DNS Lookup resolve timeout[306] in /Users/xxx/www/xxxx/vendor/hyperf/redis/src/RedisConnection.php [] []

这边测试编译时，去除--enable-cares 参数本地运行就变得正常了。
Steps To Reproduce:

试试 Docker 环境


Damaging Object Functionality

Reworked how player death is handled
Damaging objects now take the death function as a parameter so that they can call it when a player hits the object.
Added PlayerRespawn component to handle repositioning of the player.

good work as usual


[Proposal] Make the JSON Schema files for transactions part of the IPDB Protocol

Background
When BigchainDB Server checks the a transaction to see if it is valid or not, one of the many checks it does is a check of the transaction JSON against a JSON Schema, i.e. a formal schema defined in some JSON Schema files (which happen to be YAML files, go figure). This is known as schema validation.
As I write this, those JSON Schema files live in the bigchaindb/bigchaindb repository on GitHub. Their paths are:

bigchaindb/common/schema/transaction.yaml
bigchaindb/common/schema/transaction_create.yaml
bigchaindb/common/schema/transaction_transfer.yaml

If you look inside those files, you'll notice that transaction.yaml has the line:
id: "http://www.bigchaindb.com/schema/transaction.json"

and the others have no similar line. Also, there is no version number for those JSON Schema files, not in the filename, not in the id line, and not anywhere else, as far as I can tell.
The transaction.json file does have a section like this:
  version:
    type: string
    pattern: "^1\\.0$"

which basically says that the key named "version" must have the value "1.0".
In the current IPDB Protocol Docs (at the time of writing), I've opted to say that the JSON Schema files for the transactions are an implementation-specific thing, specific to BigchainDB Server. See the section titled Implementation-Specific Deviations.
Proposal
These are the proposed steps. I (Troy) am not sure how to do step 3. c)

[ ] 1. Give version numbers to the JSON Schema files in the filename (and that filename will eventually be reflected inside the file as well, in the id: line, see below). The version is "1.0" for now.
[ ] 2. Add an id: line to all JSON Schema files, with the URL being an actual GitHub URL, not pointing at the master branch, but pointing at a proper 1.x branch.
[ ] 3. Make the JSON Schema files for transactions (not votes) a property of the IPDB Protocol, and not just something that BigchainDB Server does. To do so:

[ ] a) Copy the three JSON Schema files for transactions from the bigchaindb/bigchaindb repository to the ipdb/ipdb-protocol repository on GitHub.
[ ] b) Update the id: lines in the three JSON Schema files now in the ipdb/ipdb-protocol repository.
[ ] c) BigchainDB Server will, somehow, have to copy the three JSON Schema files from ipdb/ipdb-protocol. When? How? This part is unclear to me (Troy). Ideally, it's "bundled" with BigchainDB Server somehow, so BigchainDB Server doesn't have to rely on GitHub to get the three JSON Schema files at runtime.
[ ] d) Delete the three JSON Schema files for transactions from the bigchaindb/bigchaindb repository, if necessary. Maybe those three files still live in the same location, but they are just ignored by Git (i.e. in .gitignore)?

[ ] 4. Update the IPDB Protocol documentation to reflect the change.
[ ] 5. Update the BigchainDB Server documentation to reflect the change.

I could do steps 1. and 2. as a stand-along pull request.


Use the Go proxy

This makes downloading the dependencies much faster in my experience,
and avoids problems with disappearing repositories.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

LGTM - works and the Go downloads do seem much faster.


feat: add origin offset directly to grid descriptor/builder

Summary of the changes if needed.
Scope

[x] Code: if relevant, add affected target

Type of change

[x] New feature(s)

Codecov Report
Attention: Patch coverage is 90.16393% with 6 lines in your changes missing coverage. Please review.

Project coverage is 79.50%. Comparing base (0247617) to head (68a9375).

Files
Patch %
Lines

honeycomb-core/src/cmapbuilder/grid/descriptor.rs
50.00%
4 Missing :warning:

honeycomb-kernels/src/grisubal/kernel.rs
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
- Coverage   79.57%   79.50%   -0.07%
==========================================
  Files          32       32
  Lines        4127     4152      +25
==========================================
+ Hits         3284     3301      +17
- Misses        843      851       +8

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


Add tevm_dump_state and tevm_load_state

Description
Adding dump state and load state to the tevm api. Following along with the patters set forth by the other handlers.
Testing
Test for a loadStateParams  validator was created.
Your ENS/address: noncents.eth

Current dependencies on/for this PR:

main

PR #821   👈

This stack of pull requests is managed by Graphite.


discordSdk.ready() never return

Hi,
I am trying to use discordSdk's auth, but it stucks on discordSdk.ready(). I tried google it, and it seems this issue has related with vite 's hot module reloading feature.
https://blog.waveplay.com/how-to-fix-stuck-ready-event-in-discord-embedded-app-sdk/
Same issue happend on svelcordity, I am wondering if you have encountered this issue.
Nice template  by the way. Thanks

Thanks for the link, i'll check it out soon.

I founded this issue only happend when I am runing discord activity on local host. After I deployed it by cloudflared, it works


Google Colab to play around with MedViLL for report generation in inference mode?

Hi! First of all, congrats for the awesome work.
I wanted to play around with the pretrained model in the downstream task of report generation. Given that the pretrained weights of MedViLL are available, I thought that it should be straightforward to implement a Google Colab notebook to use a pretrained MedViLL in inference mode to generate reports from Chest X-ray images. However, I'm having a hard time figuring out how to do this. I've been reading the code inside https://github.com/SuperSupermoon/MedViLL/tree/master/downstream_task/report_generation_and_vqa but I don't see an easy to way to do it.
Basically I want to create a Google Colab notebook that does the following things:

Downloads a single Chest X-ray image
Downloads the pretrained weights of MedViLL
Has the code of MedViLL model
Creates an instance of MedViLL and loads the pretrained weights
Uses MedViLL in inference mode to generate a report from a single Chest X-ray image
Visualizes this image next to the generated report

Is something like that easy to implement? I would appreciate some guidance on how to achieve this.
Thanks in advance.

I'm trying to do the same but i can't seem to firgure how to run the model on inference mode. Do you have an update on this?


Deleting setup.py and tox.ini and adding pyproject.lock

little changes to pyproject.toml

@tmsv please check, why travis is failing.

can you please remove pycodestyle direct dev dependency?

@sobolevn Done. I commited directly to the branch because of littleness and simplicty of the edit. I hope it's ok.

@tmsv travis is still failing

@tmsv travis is still failing

@sobolevn I tried to find solution but didn't find anything smarter then to copy this file.
If it's not OK, can you provide some guidance please? Now I act blindly.

There's a problem with poetry.lock:

Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.

[SolverProblemError]
Because dump-env depends on pytest-flake8 (^1.0) which doesn't match any versions, version solving failed.

The easy way is to:

remove your virtualenv
remove pyproject.lock
make sure that pyproject.toml is correct
reinstall everything
create lock file with pyproject.lock (or it can be created automatically)

@tmsv now we are missing delegator module. Can you please add it to dev-dependencies? It should be the last change.

@sobolevn hi there! I updated pyproject.toml and pyproject.lock by poetry add --dev delegator. Sorry for delay with this small edit.
If everything is OK, can you please tell me about next steps?
Thank you!

There is a merge conflict in pyproject.toml. Can you please fix them?

@sobolevn I commited changes. Is everything ok now? What we are going to do next?

You can see the build result in the bottom bar of this PR. Here's the link: https://travis-ci.org/sobolevn/dump-env/builds/440939105?utm_source=github_status&utm_medium=notification
It is still failing.

So how can I fix it? I'm confused

Here's the warning message: https://travis-ci.org/sobolevn/dump-env/jobs/440939107#L583
It seems that delegator module has changed its API.
You need to refactor it to work again.

Here's the warning message: https://travis-ci.org/sobolevn/dump-env/jobs/440939107#L583
It seems that delegator module has changed its API.
You need to refactor it to work again.

So I need to delete it from pyproject.toml and pyproject.lock and add it again, right? Or I need to refactor both files from the beginning?

You need to refactor test cases.

You need to refactor test cases.

What does it mean "rafactor" and "test cases" in this context?

Sorry, I have missed one important thing: you are installing wrong delegator package.
That's why these tests are failing.
You need to install this package instead: https://pypi.org/project/delegator.py/

Sorry, I have missed one important thing: you are installing wrong delegator package.
That's why these tests are failing.
You need to install this package instead: https://pypi.org/project/delegator.py/

Can you please check if everything is ok?

@tmsv you can look at the travis build for the required information. As you can see the build is still failing. I guess it happens because of the new delegator release: 0.1.1. Try to use the previous version.

@tmsv you can look at the travis build for the required information. As you can see the build is still failing. I guess it happens because of the new delegator release: 0.1.1. Try to use the previous version.

I tried both previous version (0.1.0) and the one before it (0.0.14) and nevertheless it cruches again. I want to understand what's the reason of Error. But I couldn't google anything relevant except general info.
Can you help with the direction?

@sobolevn  I tried 4 last versions of delegator.py (0.0.13; 0.0.14; 0.1.0 and 0.1.1) and none of them works. Futhermore I noticed that they give the same Error in travis. So I doubt that the Error is caused by delegator.py version.
Do you have any thoughts how to solve problem?


Example produces error

context.df.createTimer expects a javascript Date object and will error if the provided code is copied.

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

ID: efa40ad5-ef98-4fa0-f071-65b804a6c617
Version Independent ID: 948676b8-6319-3adb-5a38-946ddbb852f0
Content: Eternal orchestrations in Durable Functions - Azure
Content Source: articles/azure-functions/durable/durable-functions-eternal-orchestrations.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: azfuncdf

@abiabsurd Thanks for catching that! I have raised a PR to address this.

@abiabsurd The fix should reflect in a couple of hours.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


feat: searching all planets; fix: inc computation

feat: add a configuration option to enable searching all planets.
fix: fix calculating Proliferator points when taking out items from storages.

thanks!

thanks!

いえ、こちらこそありがとう！


Add Support for Temporary Credentials

Adds support for our new Temporary Credentials Feature, currently in Private Preview in Grafana Cloud.
Fixes https://github.com/grafana/oss-plugin-partnerships/issues/259
Adds:

new resource route: /externalId which fetches external id from the env and returns it if there
hits that new route whenever we load the Config Editor and the selected auth provider is Grafana Assume Role

To Test:

use a local version of https://github.com/grafana/grafana-aws-sdk-react/pull/63
Update Custom.ini:

[aws]
allowed_auth_providers = keys,grafana_assume_role
assume_role_enabled = true
external_id = '12345678'

[feature_toggles]
awsDatasourcesTempCredentials = true

I think it might be easiest to

first approve this pr:
then merge and publish: https://github.com/grafana/grafana-aws-sdk-react/pull/63
then update this pr with that updated package version
then merge and publish this pr.

Hi, do I understand right that using the Assume ASW role feature of grafana cloud would only work with the Athena plugin after this PR is merged
Do you have an ETA on this?
Thanks

@sarahzinger amazing, thank you for the fast response. I have the feature in grafana cloud enabled already, so will try as soon as the new version is released


http://schema.org/BreadcrumbList to "https"

Hello,
In the render() method, we find http and not https. Could you modify or can we override the method and how?
Thanks
public function render()
    {
        if (empty($this->breadcrumbs)) {
            return '';
        }

        $cssClasses = implode(' ', $this->breadcrumbsCssClasses);

        return '<'. $this->listElement . ' itemscope itemtype="http://schema.org/BreadcrumbList"'
                .' class="' . $cssClasses .'">'
                . $this->renderCrumbs()
                . '</'. $this->listElement .'>';
    }

Hi @piep14, sure, this update can be included - however I'm a little pressed for time so I would need you to just do a bit of research and check whether this is backwards compatible, so I know which version number to bump. Intuitively, I see no reason for this to break BC, but would appreciate a second set of eyes.
As for overriding - sure you can do that, just extend the class and override the method, something like this:
<?php

namespace App\Breadcrumbs;

use Creitive\Breadcrumbs as BaseBreadcrumbs;

class Breadcrumbs extends BaseBreadcrumbs
{
    /**
     * @inheritDoc
     */
    public function render()
    {
        if (empty($this->breadcrumbs)) {
            return '';
        }

        $cssClasses = implode(' ', $this->breadcrumbsCssClasses);

        return '<'. $this->listElement . ' itemscope itemtype="https://schema.org/BreadcrumbList"'
                .' class="' . $cssClasses .'">'
                . $this->renderCrumbs()
                . '</'. $this->listElement .'>';
    }
}

If you're using this package directly, you can then just use this new class instead of Creitive\Breadcrumbs\Breadcrumbs.
Otherwise, if you're using one of the Laravel integration packages, you'll also want to override the service provider - in fact the Laravel integration package contains nothing except a very tiny service provider which registers this class as a singleton, and adds an alias. So if you need this override, you can just remove the Laravel integration package and install this one directly, and write your own service provider, e.g.
<?php

namespace App\Breadcrumbs;

use App\Breadcrumbs\Breadcrumbs;
use Illuminate\Support\ServiceProvider;

class BreadcrumbsServiceProvider extends ServiceProvider
{
    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('breadcrumbs', function ($app) {
            return new Breadcrumbs();
        });

        $this->app->alias('breadcrumbs', 'App\Breadcrumbs\Breadcrumbs');
    }
}

And just put that into your config/app.php.
However, I personally much prefer using third-party packages that include good defaults, without having to override stuff, so it's best if we update this package, and then everyone can benefit from the improvement.
If you can just let me know what you think about backwards compatibility, I can make this change soon - you are of course free to submit a PR but it's just a one-character addition so it's probably easier if I just do it myself.
Thanks!


Local IPv6-mapped IPv4 address filling up peer list

After downloading for a while, Peerflix output starts looking like this:
open mpv and enter http://<IP_ADDRESS>:8888/.m3u as the network addressress

info streaming Some Movie.mkv (15.6GB) - 9.2MB/s from 105/107 peers
info path /home/vladimir/data/video/Movies
info downloaded 55.4GB and uploaded 245.2MB in 5885s with 55 hotswaps
info verified 1528 pieces and received 5557 invalid pieces
info peer queue size is 131

::ffff:<IP_ADDRESS>:6881  979.0MB    108.8KB/s
::ffff:<IP_ADDRESS>:6881  615.6MB    60.8KB/s
::ffff:<IP_ADDRESS>:6881  797.1MB    136.0KB/s
::ffff:<IP_ADDRESS>:6881  1.0GB      88.0KB/s
::ffff:<IP_ADDRESS>:6881  690.9MB    91.2KB/s
::ffff:<IP_ADDRESS>:6881  859.6MB    89.6KB/s
::ffff:<IP_ADDRESS>:6881  766.9MB    113.6KB/s
::ffff:<IP_ADDRESS>:6881  546.7MB    89.6KB/s
::ffff:<IP_ADDRESS>:6881  1.4GB      204.8KB/s
::ffff:<IP_ADDRESS>:6881  450.3MB    81.6KB/s
::ffff:<IP_ADDRESS>:6881  224.0MB    41.6KB/s
::ffff:<IP_ADDRESS>:6881  779.9MB    96.0KB/s
::ffff:<IP_ADDRESS>:6881  863.4MB    182.4KB/s
::ffff:<IP_ADDRESS>:6881  751.7MB    76.8KB/s
::ffff:<IP_ADDRESS>:6881  791.1MB    126.4KB/s
::ffff:<IP_ADDRESS>:6881  516.4MB    126.4KB/s
::ffff:<IP_ADDRESS>:6881  797.2MB    153.6KB/s
::ffff:<IP_ADDRESS>:6881  180.9MB    27.2KB/s
::ffff:<IP_ADDRESS>:6881  559.4MB    100.8KB/s
::ffff:<IP_ADDRESS>:6881  65.0MB     6.4KB/s
::ffff:<IP_ADDRESS>:6881  39.3MB     8.0KB/s
::ffff:<IP_ADDRESS>:6881  109.6MB    20.8KB/s
::ffff:<IP_ADDRESS>:6881  528.7MB    91.2KB/s
::ffff:<IP_ADDRESS>:6881  0.0        0.0/s
<IP_ADDRESS>:6881         0.0        0.0/s
::ffff:<IP_ADDRESS>:6881  228.5MB    38.4KB/s
::ffff:<IP_ADDRESS>:6881  622.5MB    115.2KB/s
::ffff:<IP_ADDRESS>:6881  677.7MB    132.8KB/s
::ffff:<IP_ADDRESS>:6881  498.9MB    118.4KB/s
::ffff:<IP_ADDRESS>:6881  403.1MB    96.0KB/s
::ffff:<IP_ADDRESS>:6881  791.3MB    131.2KB/s
::ffff:<IP_ADDRESS>:6881  399.8MB    68.8KB/s
::ffff:<IP_ADDRESS>:6881  216.6MB    38.4KB/s
::ffff:<IP_ADDRESS>:6881  285.8MB    51.2KB/s
::ffff:<IP_ADDRESS>:6881  299.3MB    59.2KB/s
::ffff:<IP_ADDRESS>:6881  491.0MB    128.0KB/s
::ffff:<IP_ADDRESS>:6881  26.0MB     4.8KB/s
::ffff:<IP_ADDRESS>:6881  636.0MB    118.4KB/s
::ffff:<IP_ADDRESS>:6881  67.0MB     20.8KB/s
::ffff:<IP_ADDRESS>:6881  580.3MB    76.8KB/s
::ffff:<IP_ADDRESS>:6881  425.1MB    81.6KB/s
::ffff:<IP_ADDRESS>:6881  625.0MB    78.4KB/s
::ffff:<IP_ADDRESS>:6881  842.9MB    150.4KB/s
::ffff:<IP_ADDRESS>:6881  130.2MB    27.2KB/s
::ffff:<IP_ADDRESS>:6881  693.8MB    140.8KB/s
::ffff:<IP_ADDRESS>:6881  80.8MB     17.6KB/s
::ffff:<IP_ADDRESS>:6881  392.4MB    107.2KB/s
::ffff:<IP_ADDRESS>:6881  594.4MB    110.4KB/s
::ffff:<IP_ADDRESS>:6881  390.8MB    94.4KB/s
::ffff:<IP_ADDRESS>:6881  587.6MB    120.0KB/s
::ffff:<IP_ADDRESS>:6881  222.0MB    57.6KB/s
::ffff:<IP_ADDRESS>:6881  464.5MB    100.8KB/s
::ffff:<IP_ADDRESS>:6881  155.6MB    8.0KB/s
::ffff:<IP_ADDRESS>:6881  418.7MB    92.8KB/s
::ffff:<IP_ADDRESS>:6881  94.2MB     35.2KB/s
::ffff:<IP_ADDRESS>:6881  424.8MB    228.8KB/s

where <IP_ADDRESS> is my external IP.
It looks like Peerflix needs to filter the IPv6-mapped IPv4 address from the peer list.
BTW, how is it possible that the file is 15.6 GB but the amount of data downloaded is 55.4 GB?

according to this, info verified 1528 pieces and received 5557 invalid pieces you received a lot of data that could not be verified which explains the high download amount

What could cause this? Could the invalid data have been received from localhost (i.e. an effect of the main problem described here)?

yea maybe. is this reproducible?

The main problem (IPv6 address bug) is reproducible for me, yes.


Allow users to set timezone

When editing Tredly-Host configuration, people should be able to modify the timezone as well.
Moved from tredly/tredly-build#29

Closing this as it has been rolled into https://github.com/tredly/tredly/issues/7


Add release.yml

resolves #355
Description
Automates the build and release to GitHub and PyPi.  The version_bump.yml needs to be run manually first.
This is specifically for the beta release.  If it fails we will need to fall back to manually releasing as we have in the past per this notion doc
Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[ ] I have run changie new to create a changelog entry

just to verify, is this only not being put in the actions repo because of spark?

@McKnight-42

just to verify, is this only not being put in the actions repo because of spark?

The github-build step is a reusable workflow already.  Reusable workflows cannot be nested so this must live here.  Eventually this will just become a workflow that calls out to 4 other workflows with no extra logic.  It will be much cleaner and be basically this 4 times.
  github-release:
    name: GitHub Release
    if: ${{ !failure() && !cancelled() }}
    needs: build-test-package

    uses: dbt-labs/dbt-release/.github/workflows/github-release.yml@main

    with:
      sha: ${{ inputs.sha }}
      version_number: ${{ inputs.version_number }}
      changelog_path: ${{ inputs.changelog_path }}
      test_run: ${{ inputs.test_run }}

This all seems good to me, little curious about how we decided on the artifact retention days?

Long term we're going to store these artifacts in AWS (when the rewrite is complete) so there's no reason to store them in GitHub for more than a day.  That said, we can always increase this time if there's an argument to.


data-dropdown-align-right with bootstrap 5

Hi, i'm using bootstrap-select V 1.14.0-beta3 with bootstrap 5.0.2
I've reed that bootstrap 5 is not supporter, but i'm using that without problem...
I have only one problem:
I need to change the class inserted bu data-dropdown-align-right=true from the actual "dropdown-menu-right" with the new "dropdown-menu-end"
can someone help me?

Edit the beta3 source, and change:
MENURIGHT: 'dropdown-menu-right'

to
MENURIGHT: 'dropdown-menu-end'

That should resolve it for you.


Nested Functional Component render only once

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.4.3
Nitro Version:    2.4.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-hsectr-l7wusd?file=btn.vue,app.vue
Describe the bug
When using nested functional h components and showing conditionally lowest level component, nuxt renders only once this component and then just stops render it.
In provided link please toggle click button Show/hide functional component at least 3 times to show -> hide -> show, to see issue.
Additional context
No response
Logs
No response

I think this one might be connected to how VNodes are handled in Vue - they are meant to be created on every render (as you would use the h method within render function.
Example works if you change it like this: https://stackblitz.com/edit/github-hsectr-fhpcu4?file=app.vue

Would you be able to check with https://stackblitz.com/github/nuxt-contrib/vue3-ssr-starter to see whether this is Nuxt-specific? I think this is likely Vue behaviour rather than Nuxt's.

 I spend countless hour trying to find the reason why the vnode wasn't mounted correctly, and your suggestion totally works! Really thank you!!!!


Runtime: avoid duplication and test all signature

Description
I found signature test code following duplication.
https://github.com/paritytech/substrate/blob/fbdf00888d778bab4d31a8938de7bed7e53d2d53/primitives/runtime/src/traits.rs#L2424-L2425
ecdsa error case is not tested and ed25519/sr25519 cases are not tested.
I added following test cases

ecdsa error
ed25519 normal/error
sr25519 normal/error

Checklist

[x] My PR includes a detailed description as outlined in the "Description" section above
[ ] My PR follows the labeling requirements of this project (at minimum one label for each A, B, C and D required)
[x] I have made corresponding changes to the documentation (if applicable)
[x] I have added tests that prove my fix is effective or that my feature works (if applicable)
[x] If this PR alters any external APIs or interfaces used by Polkadot, the corresponding Polkadot PR is ready as well as the corresponding Cumulus PR (optional)

Hi there
I would like to add label A0-please_review but it seems I can't

I also found following std feature duplication.
https://github.com/paritytech/substrate/blob/fbdf00888d778bab4d31a8938de7bed7e53d2d53/test-utils/runtime/Cargo.toml#L85-LL86

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3288932

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3288931


Testing, please ignore. (hgkfnn)

Bug bounty test - please ignore.... Please DO NOT APPROVE THIS! (hgkfnn)

Bug bounty test - please ignore.... Please DO NOT APPROVE THIS! (hgkfnn)

You're in luck; google-cla did not approve at all.


Different behavior for a key binding in different popups?

Category

[ ] fzf binary
[ ] fzf-tmux script
[x] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

requirement
Ability to bind the same key to different behaviors depending on the pop:

when I enter in the history popup/widget, fzf quits the popup and executes the selected command.
when I enter in the ctrl-t(file select) popup, fzf does the default: quit the popup and paste the current selection to cli.

possible solution
In fzf-history-widget or so, set a variable indicating what the current popup is, so I can do things conditionally when fzf --bind. Something like (not tested yet):
my-fzf-history-widget() {
  export FZF_POPUP_TYPE='history'
  fzf-history-widget()
}
zle     -N   my-fzf-history-widget
bindkey '^R' my-fzf-history-widget

Is there any better way? How about add the FZF_POPUP_TYPE to fzf itself?

Duplicate of #1492


Add Rachel and Mike to the team page

added rachel, still need to add mike

@msterle tagging you here to have you finish your profile and send address by the end of the sprint :grinning:


Export tower_web::view::Registry

Should tower_web::view::Registry be exported publicly?
Right now, to switch from Handlebars::new to Handlebars::new_with_registry, the user has to

add handlebars = "1.0.3" to cargo.toml (and potentially keep this in sync with tower-web in the future)
add extern handlebars to the main.rs/lib.rs file
use handlebars::Handlebars instead of the re-named Registry

That is fine for now IMO.
The goal of the handlebars integration is to provide basic functionality to prove it out. At some point, it will be extracted into a dedicated crate and can be iterated more there.


feat: capture error from reverting transactions in the SDK

Previously, a reverting transaction would not be captured by the SDK.
This closes #102 .

cc @digorithm for re-review


Remove x-ms-version header from ASA SDK

Copied over generated files for ASA SDK that removed use of the x-ms-version header
Reran tests and updated session records
Updated ASA SDK version to 1.7.1

Can one of the admins verify this patch?

Can one of the admins verify this patch?


[5.9] Sema: Downgrade over availability diagnostics to warnings for implicit decls

It's likely that incorrect availability annotations on implicit decls represent compiler bugs, so downgrade the diagnostic to a warning to avoid blocking the developer.
Resolves rdar://107764128

@swift-ci please test

@swift-ci please test


onChange dont work on cleaning

After typeing some lines on editor when I select all and cleand with backspace or delete, the onChnage method was not been invoked at all and output item was not update

SORRY it was from my code


Updating Retrofit to version 2.x

It will make in the future easier to add new ways to consume events from retrofit.

This is a good idea. Even though Retrofit 1.x is completely adequate, it's unlikely to get RxJava 2.x support and we need to see where Rx 2.x will take us.

Resolved by #44


in address finder and occupant finder widgets, turn off chrome autocomplete

Sometimes, when you start entering an address, Chrome's native autocomplete takes over instead of the geocoder autocomplete.

Here is a possible solution from:
https://stackoverflow.com/questions/50604671/programmatically-disabling-chrome-auto-fill
At this time (May, 2019) only autocomplete="new-password" is working well.
It can do programmatically with jQuery for example :
$('form, input, select').attr('autocomplete', 'new-password');

autocomplete="new-password" on the input element doesn't work, in  chrome, as of now... but setting autocomplete="off" on the FORM element the wraps the input, does work. This is done now.

Verified in test


Honeywell Vista Arm Stay Instant

Hi, I have my Honeywell Vista 20P panel set to Instant mode for Arm Night. After updating from 0.9.2 to the latest version I noticed the alarm control panel entity is being reported as Armed Home instead of Armed Night like it used to be. I think this is partly related to issue #146.
See attached screenshots.

I've posted a new release (v0.9.6) which should fix this issue.

I've posted a new release (v0.9.6) which should fix this issue.

That fixed it. Thanks!


Rename Godot-specific resource extensions

Let's break compatibility a little more for a good cause.
Closes #9199.

seems good, but just remove "shd", I will add a specific resourceloader/saver that handles this resource as text for the .shader extension

I rebased to leave .shd unchanged then. It can be changed when the custom loader/saver is added then.

It seems I missed some changes in the import savers.

Should be all done now.


How to add nested attributes for single record ?

For has_many association we can give array type for nested attributes as:
property :examples_attributes, :array, :required, "A list of examples", { "items" => { "$ref" => "Example" } }
But how add nested attributes for single record if we consider has_one association. I tried by specifying hash type but it didn't work.
property :example_attributes, :hash, :required, "An example", { "item" => { "$ref" => "Example" } }

property :example_attributes, :'Example', :required, 'Some description'


Integrate Auth Backend

Integrate the auth backend folders/files/functionality from the cross-team authentication team into the OCH project.

/cib integrate auth backend

Branch 25-integrate-auth-backend created!


this commit will craeted 1 more files

hi sir iam added one more files withoutt lienes of code

kk


feat: turn create-atomic into a Stencil project

Proposed changes
Turns into a project looking like -> https://github.com/ThibodeauJF/atomic-project
https://coveord.atlassian.net/browse/CDX-766

(won't be merged until we make a new Atomic release)
I'll put it as a draft till then

This is ready to review ?


Cannot Hit Endpoint /ongoing

Cannot Hit Ongoing, always direct endpoint default

pake /ongoing/page/1 bang biar bisa


thunderbird: 60.3.3 -> 60.4.0

Motivation for this change
NOTE: thunderbird-bin is broken in my environment. If you cannot run it, please merge only thunderbird package.

bugfixes and other updates

https://www.thunderbird.net/en-US/thunderbird/60.4.0/releasenotes/
Running thunderbird-bin results in the following error:
ExceptionHandler::GenerateDump cloned child 25218
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

Adding libxcb, ibXcursor, and libXi doesn't help.  It doesn't work with a fresh profile. With --headless option, the error is not produced.
The thunderbird package works fine.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

-bin crashes for me as well, so let's leave that out, at least for now.

@GrahamcOfBorg build thunderbird

I assume there's no need to backport to 18.09 quickly (no really important fixes in release notes).  I'm leaving this open for the -bin bump.


Input history wiped when sending input through triggers

I haven't narrowed down exactly what is happening, but what I notice is while not in combat and sending commands I can scroll through my command history in the input prompt. When in combat, with triggers firing, I can at most scroll up one command but usually the input prompt is empty when going up in the history.

Thanks for the report! This was a side-effect of the clumsy way I implemented https://github.com/mudpuppy-rs/mudpuppy/issues/12 that will be fixed with https://github.com/mudpuppy-rs/mudpuppy/pull/64.


Ability to remove failing fields [Feature request][question]

What version of Ajv you are you using?
v5.2.2
What problem do you want to solve?
I want to add custom keywords to my JSON schemas, that I can later use to filter the data by
example schema:
{
  "type":"object",
  "properties": {
     "name": { "type": "string", "filterLevel": 0},
     "mobileNumber": {"type": "string", "filterLevel": 2}
  }
}

The idea being that, after validate an object, I can also filter away fields that do not meet a required filterLevel.
I want the filter description to be in the json schema of the data objects, because it makes it a lot easier to keep all my data structure definitions in one place.
Which leaves me to either create my own schema parser (which is fairly daunting considering the flexibility of the JSON Schema Spec), or try to utilise an existing schema validator to offload the heavy work.
What do you think is the correct solution to problem?
similar to the removeAdditional option that already exists, it would be useful to have a removeFailing option, which could remove any fields that are failing the validation, but are not marked as essential by the schema.
With this, I could add a custom keyword to the schema which I can cause to fail on dataFields when I need.
I have already tried an alternative method, wherein I manually parse through a given schema and try to strip out field definitions of fields below the filterLevel, then rely on removeAdditional to remove the properties that aren't present in the modified schema.
However, this quickly go messy when I had to start using allOf and anyOf in my schemas.
Will you be able to implement it?
I haven't looked into your code-base fully yet, so I can't say.
I was mainly asking this feature request in case there was a "well here's a way of doing it using the existing system" answer available, or a pointer to something else that would fulfill my criteria. If there isn't a known solution, I can try to look into the ajv code-base to see how I would implement such a feature.

I also understand if this might be better as a plugin under a separate repo, but if so, can I have some ideas on how one might do it?

Sorry, seems to have been a JRTFM, you can implement the filtering I required by adding a keyword, using something like the following:
const filterLevel = 1;
ajv.addKeyword('accLevel',{
    modifying: true,
    compile: function (sch, parentSchema) {
        if(sch <= filterLevel){
            return data => true;
        } else {
            return (data,path,obj,propName)=>{
                //The data removal function
                delete obj[propName];
                return true;
            }
        }

    }
});

I'll leave this pull request open as I still think it'd be nice to have a removeFailing option, which would allow a user to attempt to create a valid object by removing invalid, but non-required fields.

@E314c It is doable but it requires analysing previous errors, similarly to what ajv-errors is doing
I think https://github.com/epoberezkin/ajv/pull/553 can be related?
In any case, you are right, it should be a plugin, not a core feature.


Autonomy publish does not override remote registry usage when using the flag --registry-path

Subject of the issue
Inconsistency issue:
autonomy --registry-path=../packages publish does not override autonomy init initialized with a remote repository.
Explanation:
When initialized with autonomy init --remote and the user executes the following (or other) commands:
autonomy --registry-path=../packages add skill <skill>
the configuration is overriden and <skill> is added from the local registry.
However, when the user executes
autonomy --registry-path=../packages publish
it does NOT override the usage of the remote registry. Instead, the user has to initialize the registre locally if he wishes to store a component in the local registry.
Check if this also happens for push.
Your environment

OS: [e.g. iOS]
Python version: [e.g. 3.7.2]
Package Version [e.g. 0.1.3]
Anything else you consider helpful.

Steps to reproduce
See above.
Expected behaviour
The flag --registry-path= should override the usage of the remote registry whenever it is invoked, for all the commands. Otherwise is very confusing.
Actual behaviour
See above.

UPDATE:
This seems to be solved by adding the flag --local
However, this raises the question: Why some commands require --registry-path  and --local, whereas other commands only require --registry-path to work?

Closing since the issue was solved by using the --local flag, if you have suggestion regarding the registry selection UX please open a separate issue


Allow point annotations to scale with zoom.

Added a scaled property.  If false, points are a fixed size.  If true, the first time the point annotation is rendered, it is changed to the current zoom level.  If a zoom level, the radius of the point is scaled with the map so that it is the specified radius value at the scaled property's zoom level.

This addresses issue #624.  ping @kotfic

Current coverage is 85.48% (diff: 100%)

Merging #628 into master will increase coverage by 0.04%

@@             master       #628   diff @@
==========================================
  Files            85         85
  Lines          8217       8244    +27
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           7020       7047    +27
  Misses         1197       1197
  Partials          0          0

Powered by Codecov. Last update 40d9dca...68e2654

@manthey wouldn't it be better if we have this option on the pointFeature (and just pass a flag to the shader). There might be some other complications though which I haven't thought about it but may be you did?

@aashish24 We could, but I'd rather leave that as a separate task to do later (and if we do, this could be refactored).  Fundamentally, this works in all renderers, but adds a bit of overhead in that it needs to perform some action on zoom.  If we add it to the feature itself, it would be best to go into each renderer and support changing the point size in a more direct way (so we don't have to hook to the zoom event).
As before, the user can make radius a function, e.g. function (d) { return 10 * Math.pow(2, map.zoom() - 6); }, and then set feature.modified() in the zoom event callback.

@aashish24 We could, but I'd rather leave that as a separate task to do later (and if we do, this could be refactored). Fundamentally, this works in all renderers, but adds a bit of overhead in that it needs to perform some action on zoom. If we add it to the feature itself, it would be best to go into each renderer and support changing the point size in a more direct way (so we don't have to hook to the zoom event).
As before, the user can make radius a function, e.g. function (d) { return 10 * Math.pow(2, map.zoom() - 6); }, and then set feature.modified() in the zoom event callback.

Thanks after our discussion yesterday this is +1 LGTM from me. 👍