Add docker compose

Removes the need for having a locally installed python and node and instead leverages docker compose.
Builds off the good work done in https://github.com/OpenDevin/OpenDevin/pull/377 however is cleaner and simpler.
TODO

[ ] Testing
[ ] Documentation
[ ] Optimize with Multi-Stage builds
[ ] Rootlesss Containers

Hi @spuder,
I tried your changes, error :
WARN[0000] /home/kurtisone/OpenDevin/compose.yaml: version is obsolete
service "frontend" depends on undefined service "devin-backend": invalid compose project

links command is deprecated
Remove those two lines from compose.yaml :
21:   links:
22:     - devin-backend:backend
Source : https://docs.docker.com/network/links/
And docker compose works !

Thanks for testing @Kurtisone
I've made some more changes and that issue should be fixed.
I'm still finding one issue when I try and send a message in the terminal.
Failed to start container: 500 Server Error for http+docker://localhost/v1.41/containers/create?name=sandbox-default: Internal Server Error ("make cli opts(): making volume mountpoint for volume /workspace4: mkdir /workspace4: operation not permitted")

Once I have that fixed this should largly be ready.

I tried to get my host IP and not the container to work with from daily, thank you for your contribution !

@spuder I believe you would need to start the backend image from a docker base image and install python, to achieve docker in docker.
Also, as Pipfile already specifies uvicorn as a dependency, you should not need to build the image from  FROM tiangolo/uvicorn-gunicorn:python3.11-slim

I just hardcoded my host IP and it works.
But I always got this error :
ERROR: Failed connection to server. Please ensure the server is reachable at ws://<IP_ADDRESS>:3001/ws.
Before I tried your docker, it was on port 3000, maybe it was llama.cpp server's fault

This looks like a good DOOD setup!
IMO we'll want to move to DIND at some point for safety (e.g. hosting OpenDevin in a multi-tenant scenario, like on a kubernetes cluster). But DOOD probably works well for now.
I'll give this a shot soon and see how it works

This looks like a good DOOD setup!
IMO we'll want to move to DIND at some point for safety (e.g. hosting OpenDevin in a multi-tenant scenario, like on a kubernetes cluster). But DOOD probably works well for now.
I'll give this a shot soon and see how it works

Are you sure about DIND ? Too many security concerns

Worth discussing DIND vs DOOD. But IIUC running a privileged DIND container is probably safer than a DOOD container. Need to research a bit more.
@spuder do you want to open this PR as ready for review?
Check out our Makefile syntax for building images: https://github.com/OpenDevin/OpenDevin/blob/main/opendevin/sandbox/Makefile
I think just adding that alongside a Dockerfile will cause it to get built and pushed

@rbren

do you want to open this PR as ready for review?

Yes, I still need to solve an issue. While I'm able to get the containers to start, I get an error. Once I figure that out I'll mark as ready for review.

ERROR: Failed connection to server. Please ensure the server is reachable at ws://<IP_ADDRESS>:3001/ws.

This is normal because the frontend starts before the backend (despite the depends_on line). After a few seconds refresh the page and it will work.
The frontend is on 3001, whereas the backend is on 3000.

Same error even if I wait a few minutes

Attaching to devin-backend, devin-frontend
devin-frontend  |
devin-frontend  | ><EMAIL_ADDRESS>start
devin-frontend  | > vite --host <IP_ADDRESS>
devin-frontend  |
devin-frontend  |
devin-frontend  |   VITE v5.2.7  ready in 526 ms
devin-frontend  |
devin-frontend  |   ➜  Local:   http://localhost:3001/
devin-frontend  |   ➜  Network: http://<IP_ADDRESS>:3001/
devin-frontend  | 10:32:13 AM [vite] ws proxy error:
devin-frontend  | AggregateError [ECONNREFUSED]:
devin-frontend  |     at internalConnectMultiple (node:net:1116:18)
devin-frontend  |     at afterConnectMultiple (node:net:1683:7)
devin-frontend  | 10:32:13 AM [vite] http proxy error: /litellm-models
devin-frontend  | AggregateError [ECONNREFUSED]:
devin-frontend  |     at internalConnectMultiple (node:net:1116:18)
devin-frontend  |     at afterConnectMultiple (node:net:1683:7)
devin-frontend  | 10:32:13 AM [vite] http proxy error: /litellm-models
devin-frontend  | AggregateError [ECONNREFUSED]:
devin-frontend  |     at internalConnectMultiple (node:net:1116:18)
devin-frontend  |     at afterConnectMultiple (node:net:1683:7)
devin-backend   | INFO:     Started server process [7]
devin-backend   | INFO:     Waiting for application startup.
devin-backend   | INFO:     Application startup complete.
devin-backend   | INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
devin-frontend  | 10:32:32 AM [vite] ws proxy error:
devin-frontend  | AggregateError [ECONNREFUSED]:
devin-frontend  |     at internalConnectMultiple (node:net:1116:18)
devin-frontend  |     at afterConnectMultiple (node:net:1683:7)
devin-frontend  | 10:32:32 AM [vite] http proxy error: /litellm-models
devin-frontend  | AggregateError [ECONNREFUSED]:
devin-frontend  |     at internalConnectMultiple (node:net:1116:18)
devin-frontend  |     at afterConnectMultiple (node:net:1683:7)
devin-frontend  | 10:32:32 AM [vite] http proxy error: /litellm-models
devin-frontend  | AggregateError [ECONNREFUSED]:
devin-frontend  |     at internalConnectMultiple (node:net:1116:18)
devin-frontend  |     at afterConnectMultiple (node:net:1683:7)
devin-frontend  | 10:32:35 AM [vite] ws proxy error:

@spuder how are you feeling about the PR at this point? Ready for a review?

@spuder how are you feeling about the PR at this point? Ready for a review?

This was almost there, however I rebased against master and there were some breaking changes introduced. I need to fix those first.

Something changed with the way websockets are handled where using localhost:3000 for BACKEND_HOST in vite.config.js breaks the websocket connection. I'm able to work around it by modifying my /etc/hosts, but I want a more durable solution. Working on that now.

npm caching issue. About 50% of the times I build there are problems with node modules installing properly.

Got this when I try to compose :
[+] Running 2/0
 ! frontend Warning Get "http://localhost/v2/": dial tcp [::1]:80: connect: connection refused
 ! backend Warning  Get "http://localhost/v2/": dial tcp [::1]:80: connect: connection refused

If I add the config.toml from the Dockerfile I got another error :
devin-backend   | Traceback (most recent call last):
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/torch/__init__.py", line 176, in _load_global_deps
devin-backend   |     ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
devin-backend   |   File "/usr/local/lib/python3.11/ctypes/__init__.py", line 376, in __init__
devin-backend   |     self._handle = _dlopen(self._name, mode)
devin-backend   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   | OSError: libcudart.so.12: cannot open shared object file: No such file or directory
devin-backend   |
devin-backend   | During handling of the above exception, another exception occurred:
devin-backend   |
devin-backend   | Traceback (most recent call last):
devin-backend   |   File "/usr/src/app/.venv/bin/uvicorn", line 8, in <module>
devin-backend   |     sys.exit(main())
devin-backend   |              ^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
devin-backend   |     return self.main(*args, **kwargs)
devin-backend   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
devin-backend   |     rv = self.invoke(ctx)
devin-backend   |          ^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
devin-backend   |     return ctx.invoke(self.callback, **ctx.params)
devin-backend   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
devin-backend   |     return __callback(*args, **kwargs)
devin-backend   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/main.py", line 409, in main
devin-backend   |     run(
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/main.py", line 575, in run
devin-backend   |     server.run()
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
devin-backend   |     return asyncio.run(self.serve(sockets=sockets))
devin-backend   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
devin-backend   |     return runner.run(main)
devin-backend   |            ^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
devin-backend   |     return self._loop.run_until_complete(task)
devin-backend   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
devin-backend   |     await self._serve(sockets)
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
devin-backend   |     config.load()
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/config.py", line 433, in load
devin-backend   |     self.loaded_app = import_from_string(self.app)
devin-backend   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
devin-backend   |     module = importlib.import_module(module_str)
devin-backend   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
devin-backend   |     return _bootstrap._gcd_import(name[level:], package, level)
devin-backend   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
devin-backend   |   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
devin-backend   |   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
devin-backend   |   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
devin-backend   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
devin-backend   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
devin-backend   |   File "/usr/src/app/opendevin/server/listen.py", line 4, in <module>
devin-backend   |     import agenthub # noqa F401 (we import this to get the agents registered)
devin-backend   |     ^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/agenthub/__init__.py", line 5, in <module>
devin-backend   |     from . import monologue_agent # noqa: E402
devin-backend   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/agenthub/monologue_agent/__init__.py", line 2, in <module>
devin-backend   |     from .agent import MonologueAgent
devin-backend   |   File "/usr/src/app/agenthub/monologue_agent/agent.py", line 28, in <module>
devin-backend   |     from agenthub.monologue_agent.utils.memory import LongTermMemory
devin-backend   |   File "/usr/src/app/agenthub/monologue_agent/utils/memory.py", line 2, in <module>
devin-backend   |     from llama_index.core import Document
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/__init__.py", line 19, in <module>
devin-backend   |     from llama_index.core.indices import (
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/indices/__init__.py", line 4, in <module>
devin-backend   |     from llama_index.core.indices.composability.graph import ComposableGraph
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/indices/composability/__init__.py", line 4, in <module>
devin-backend   |     from llama_index.core.indices.composability.graph import ComposableGraph
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/indices/composability/graph.py", line 7, in <module>
devin-backend   |     from llama_index.core.indices.base import BaseIndex
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/indices/base.py", line 12, in <module>
devin-backend   |     from llama_index.core.ingestion import run_transformations
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/ingestion/__init__.py", line 2, in <module>
devin-backend   |     from llama_index.core.ingestion.pipeline import (
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/ingestion/pipeline.py", line 31, in <module>
devin-backend   |     from llama_index.core.ingestion.api_utils import get_client
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/ingestion/api_utils.py", line 23, in <module>
devin-backend   |     from llama_index.core.ingestion.transformations import (
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/ingestion/transformations.py", line 267, in <module>
devin-backend   |     ConfigurableTransformations = build_configurable_transformation_enum()
devin-backend   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/core/ingestion/transformations.py", line 247, in build_configurable_transformation_enum
devin-backend   |     from llama_index.embeddings.huggingface import (
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/embeddings/huggingface/__init__.py", line 1, in <module>
devin-backend   |     from llama_index.embeddings.huggingface.base import (
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/llama_index/embeddings/huggingface/base.py", line 27, in <module>
devin-backend   |     from sentence_transformers import SentenceTransformer
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/sentence_transformers/__init__.py", line 3, in <module>
devin-backend   |     from .datasets import SentencesDataset, ParallelSentencesDataset
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/sentence_transformers/datasets/__init__.py", line 1, in <module>
devin-backend   |     from .DenoisingAutoEncoderDataset import DenoisingAutoEncoderDataset
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/sentence_transformers/datasets/DenoisingAutoEncoderDataset.py", line 1, in <module>
devin-backend   |     from torch.utils.data import Dataset
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/torch/__init__.py", line 236, in <module>
devin-backend   |     _load_global_deps()
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/torch/__init__.py", line 197, in _load_global_deps
devin-backend   |     _preload_cuda_deps(lib_folder, lib_name)
devin-backend   |   File "/usr/src/app/.venv/lib/python3.11/site-packages/torch/__init__.py", line 162, in _preload_cuda_deps
devin-backend   |     raise ValueError(f"{lib_name} not found in the system path {sys.path}")
devin-backend   | ValueError: libcublas.so.*[0-9] not found in the system path ['', '/usr/src/app/.venv/bin', '/usr/local/lib/python311.zip', '/usr/local/lib/python3.11', '/usr/local/lib/python3.11/lib-dynload', '/usr/src/app/.venv/lib/python3.11/site-packages', '/usr/src/app']
devin-backend exited with code 1

I'm down to 1 remaining bug and I could use help isolating if it is just my workstation (podman 5.0.0) or if it is a problem with the compose.
I find after doing a podman compose up, that everything appears to work, however when actually sending devin the first prompt, it fails with this error in the logs:
devin-backend   | Failed to start container: 500 Server Error for http+docker://localhost/v1.41/containers/create?name=sandbox-default: Internal Server Error ("make cli opts(): making volume mountpoint for volume /usr/src/app/workspace: mkdir /usr/src/app: read-only file system")

@spuder Already done, I tried to change your Dockerfile (backend) and compose.yaml.
If it's work, I'll do a PR to your repo

Same error If I tried with your latest commit :
IsADirectoryError: [Errno 21] Is a directory: 'config.toml'

Sadly this will probably have to change a bit for the new Poetry dependency mgmt, but hopefully not too hard

Not a problem. Pipenv is a bit finicky, I'll refactor for poetry.

I believe I have this working with poetry, however I'm currently blocked by the pymupdfb issue. https://github.com/OpenDevin/OpenDevin/issues/791

@rbren Docker compose is ready for review

@spuder I might be doing something wrong, but I get this error:
✖ docker compose run frontend backend
node:internal/modules/cjs/loader:1145
  throw err;
  ^

Error: Cannot find module '/usr/src/app/backend'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
    at Module._load (node:internal/modules/cjs/loader:983:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v21.7.2

Pretty sure I have the command wrong. But I tried
docker compose run backend

and sadly hit the old pymupdf problem. I'm on Ubuntu ARM
422.4   - Installing uvicorn (0.29.0)
954.3
954.3   ChefBuildError
954.3
954.3   Backend subprocess exited when trying to invoke build_wheel
954.3
954.3   PyMuPDF-1.24.1/setup.py: ### Starting.
954.3   PyMuPDF-1.24.1/setup.py: __name__: 'setup'
954.3   PyMuPDF-1.24.1/setup.py: platform.platform(): 'Linux-6.6.16-linuxkit-aarch64-with-glibc2.36'
954.3   PyMuPDF-1.24.1/setup.py: platform.python_version(): '3.11.9'
954.3   PyMuPDF-1.24.1/setup.py: sys.executable: '/tmp/tmprofwyl0t/.venv/bin/python'
954.3   PyMuPDF-1.24.1/setup.py: CPU bits: 64 sys.maxsize=9223372036854775807
954.3   PyMuPDF-1.24.1/setup.py: __file__: '/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1/setup.py'
954.3   PyMuPDF-1.24.1/setup.py: os.getcwd(): '/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1'
954.3   PyMuPDF-1.24.1/setup.py: sys.argv (3):
954.3   PyMuPDF-1.24.1/setup.py:     0: '/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py'
954.3   PyMuPDF-1.24.1/setup.py:     1: 'build_wheel'
954.3   PyMuPDF-1.24.1/setup.py:     2: '/tmp/tmprimjm3sf'
954.3   PyMuPDF-1.24.1/setup.py: os.environ (14):
954.3   PyMuPDF-1.24.1/setup.py:     GPG_KEY: 'A035C8C19219BA821ECEA86B64E628F8D684696D'
954.3   PyMuPDF-1.24.1/setup.py:     HOME: '/root'
954.3   PyMuPDF-1.24.1/setup.py:     LANG: 'C.UTF-8'
954.3   PyMuPDF-1.24.1/setup.py:     PATH: '/tmp/tmprofwyl0t/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
954.3   PyMuPDF-1.24.1/setup.py:     PEP517_BACKEND_PATH: '/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1'
954.3   PyMuPDF-1.24.1/setup.py:     PEP517_BUILD_BACKEND: 'setup'
954.3   PyMuPDF-1.24.1/setup.py:     PIP_REQUESTS_TIMEOUT: '100'
954.3   PyMuPDF-1.24.1/setup.py:     POETRY_REQUESTS_TIMEOUT: '100'
954.3   PyMuPDF-1.24.1/setup.py:     PWD: '/usr/src/app'
954.3   PyMuPDF-1.24.1/setup.py:     PYTHON_GET_PIP_SHA256: 'dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9'
954.3   PyMuPDF-1.24.1/setup.py:     PYTHON_GET_PIP_URL: 'https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py'
954.3   PyMuPDF-1.24.1/setup.py:     PYTHON_PIP_VERSION: '24.0'
954.3   PyMuPDF-1.24.1/setup.py:     PYTHON_SETUPTOOLS_VERSION: '65.5.1'
954.3   PyMuPDF-1.24.1/setup.py:     PYTHON_VERSION: '3.11.9'
954.3   pipcl.py: build_wheel():  wheel_directory='/root/.cache/pypoetry/artifacts/d0/66/87/d9cc62435a3fa54160fcfcee6650e1184db01eb8e2ec137b6dc362c94e' config_settings=None metadata_directory=None
954.3   pipcl.py: _call_fn_build(): calling self.fn_build=<function build at 0xffff93746660>
954.3   PyMuPDF-1.24.1/setup.py: get_mupdf_internal(): out='dir' location=None sha=None
954.3   PyMuPDF-1.24.1/setup.py: Download location='https://mupdf.com/downloads/archive/mupdf-1.24.1-source.tar.gz' local_tgz='mupdf-1.24.1-source.tar.gz' name='mupdf-1.24.1-source'
954.3   PyMuPDF-1.24.1/setup.py: Downloading from location='https://mupdf.com/downloads/archive/mupdf-1.24.1-source.tar.gz' to local_tgz='mupdf-1.24.1-source.tar.gz'.
954.3   Traceback (most recent call last):
954.3     File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
954.3       main()
954.3     File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
954.3       json_out['return_val'] = hook(**hook_input['kwargs'])
954.3                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
954.3     File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
954.3       return _build_backend().build_wheel(wheel_directory, config_settings,
954.3              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
954.3     File "/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1/pipcl.py", line 642, in build_wheel
954.3       items = self._call_fn_build(config_settings)
954.3               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
954.3     File "/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1/pipcl.py", line 804, in _call_fn_build
954.3       ret = self.fn_build()
954.3             ^^^^^^^^^^^^^^^
954.3     File "/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1/setup.py", line 513, in build
954.3       mupdf_local = get_mupdf()
954.3                     ^^^^^^^^^^^
954.3     File "/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1/setup.py", line 490, in get_mupdf
954.3       return get_mupdf_internal('dir', m)
954.3              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
954.3     File "/tmp/tmpn4y0tr_8/PyMuPDF-1.24.1/setup.py", line 428, in get_mupdf_internal
954.3       urllib.request.urlretrieve( location, local_tgz)
954.3     File "/usr/local/lib/python3.11/urllib/request.py", line 280, in urlretrieve
954.3       raise ContentTooShortError(
954.3   urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 21759913 out of 55310618 bytes>
954.3
954.3
954.3   at /usr/local/lib/python3.11/site-packages/poetry/installation/chef.py:164 in _prepare
954.3       160│
954.3       161│                 error = ChefBuildError("\n\n".join(message_parts))
954.3       162│
954.3       163│             if error is not None:
954.3     → 164│                 raise error from None
954.3       165│
954.3       166│             return path
954.3       167│
954.3       168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
954.3
954.3 Note: This error originates from the build backend, and is likely not a problem with poetry but with pymupdf (1.24.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pymupdf (==1.24.1)"'.
954.3
------
failed to solve: process "/bin/sh -c poetry install --without evaluation" did not complete successfully: exit code: 1

Seems like a download timeout

docker compose up
Or
docker compose up --build
As far as timeouts, I did see those occasionally. The nvidia stuff has to compile and it will fail if running in a vm with only 2gb of ram.

I took a slightly different approach and jammed frontend and backend in one container. If anyone has a minute or two to try it out, I'd appreciate feedback.
See here: https://github.com/OpenDevin/OpenDevin/issues/110#issuecomment-2041299595

I just tried this and got 2 errors :
the first one is :
devin-backend   | Traceback (most recent call last):
devin-backend   |   File "/usr/src/app/opendevin/server/agent/manager.py", line 125, in create_controller
devin-backend   |     self.controller = AgentController(
devin-backend   |                       ^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/opendevin/controller/agent_controller.py", line 86, in __init__
devin-backend   |     self.command_manager = CommandManager(
devin-backend   |                            ^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/opendevin/controller/command_manager.py", line 14, in __init__
devin-backend   |     self.shell = DockerInteractive(
devin-backend   |                  ^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/opendevin/sandbox/sandbox.py", line 140, in __init__
devin-backend   |     self.setup_user()
devin-backend   |   File "/usr/src/app/opendevin/sandbox/sandbox.py", line 167, in setup_user
devin-backend   |     raise Exception(
devin-backend   | Exception: Failed to create opendevin user in sandbox: b'useradd: UID 0 is not unique\n'

and then :
devin-backend   | 22:12:22 - opendevin:ERROR: manager.py:135 - Error creating controller.
devin-backend   | Traceback (most recent call last):
devin-backend   |   File "/usr/src/app/opendevin/server/agent/manager.py", line 125, in create_controller
devin-backend   |     self.controller = AgentController(
devin-backend   |                       ^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/opendevin/controller/agent_controller.py", line 86, in __init__
devin-backend   |     self.command_manager = CommandManager(
devin-backend   |                            ^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/opendevin/controller/command_manager.py", line 14, in __init__
devin-backend   |     self.shell = DockerInteractive(
devin-backend   |                  ^^^^^^^^^^^^^^^^^^
devin-backend   |   File "/usr/src/app/opendevin/sandbox/sandbox.py", line 141, in __init__
devin-backend   |     self.start_ssh_session()
devin-backend   |   File "/usr/src/app/opendevin/sandbox/sandbox.py", line 203, in start_ssh_session
devin-backend   |     self.ssh.login(hostname, username, self._ssh_password, port=2222)
devin-backend   |   File "/root/.cache/pypoetry/virtualenvs/opendevin-VA82Wl8V-py3.11/lib/python3.11/site-packages/pexpect/pxssh.py", line 424, in login
devin-backend   |     raise ExceptionPxssh('Could not establish connection to host')
devin-backend   | pexpect.pxssh.ExceptionPxssh: Could not establish connection to host

What version and system of docker?
(docker engine, podman, rancher ext...)
What OS?

Also I've not seen ssh attempts on port 2222 (I've not seen ssh attempts at all). That's very curious. I wonder if that is brand new

What version and system of docker?
docker desktop 4.27.2 on macOS

What commit are you on?
92e70b8937f2eb0486eb3d4c504670adfe34e723

Also I've not seen ssh attempts on port 2222 (I've not seen ssh attempts at all). That's very curious. I wonder if that is brand new
As soon as I hit http://localhost:3001/ , the backend tries to connect to the sandbox using ssh

I am running Docker Desktop v4.28.0 on OSX and on the same commit
92e70b8937f2eb0486eb3d4c504670adfe34e723
I'm not able to reproduce the ssh connection attempt.
docker compose up -d
docker logs devin-backend 2&>1 | grep '2222' |
wc -l
       0
docker logs devin-frontend 2&>1 | grep '2222' | wc -l
       0

Regardless, this is probably an issue with my setup.  I see in the code where it should be attempting an ssh connection. This will require change to allow changing hostname = 'localhost' to hostname = devin-backend
https://github.com/OpenDevin/OpenDevin/blob/8ab9c6fb86db7ac21969fd5fadd18bab97bdb172/opendevin/sandbox/sandbox.py#L205-L209

@petitout Could you try this branch? It might fit the ssh issue.
git checkout docker-compose-sshfix

Modify your config.toml
`SSH_HOSTNAME = "devin-backend"

Going to close this now that we have a first pass in. But this was super helpful in leading us to the solution.
If you have any feedback on the current implementation let me know! docker-compose could still be a good addition


Missing input error when trying to send

When trying to send a few KMD from a wallet that has over 1000, I get this message in the txid field:
{"result":null,"error":{"code":-25,"message":"Missing inputs"},"id":"jl777","tag":"18040109768133907172"}
Wallet version is v<IP_ADDRESS>e-beta
The coin is loaded in Basilisk Mode.
Also the wallet goes in processing mode for a few minutes before showing the error.

Please try pre-release version. It's already out.


hdl parse not working for parsing an entity

I tried hdlparse for parsing a small entity. The entity is known to be correct (used in many projects and working fine for synthesis and simulation). However, hdlparse just returns and empty list. Let me know how I can share the example code.
I checked the hdlparse code and obviously there is no handling for the action "entity" in the function "parse_vhdl()". Is this even implemented?

Documentation says that it will only run on components.
https://kevinpt.github.io/hdlparse/


Cypress Test for language selection and link redirection

Proposed Changes

Fixes #9017
Change 1 Added a Cypress test to verify that the login page's "Submit" button updates text dynamically when switching between different languages
Change 2 Created a test to log in with a non-English language (e.g., Hindi, Tamil, Kannada).
Verified that sidebar items display correctly in the chosen language.
More?

@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

Summary by CodeRabbit

New Features

Added support for multiple languages in the authentication flow, including Hindi, Tamil, Malayalam, Marathi, and Kannada.
Introduced new test cases to verify language switching and redirection links for GitHub and software licenses.

Bug Fixes

Enhanced login page loading verification to ensure tests run only when the page is fully loaded.

These improvements enhance the user experience by ensuring accurate language display and functional link redirection.

Check and implement the Coderabbit suggestions that are worth doing.

@Kaushikgtm check the code rabbit suggestion and merge conflict issues

Noticed that #9258 was a duplicate PR (closed). Please refer to the comments there and make changes accordingly 👍

@Jacobjeevan I have made some changes please see

@Kaushikgtm Can you please share the current status of the PR? Otherwise, the PR will be closed in the next 48 hours, and you will be unassigned from the issue due to inactivity.

@nihal467 I have update the PR, due to my semester exam i am inactive on this issue

@Jacobjeevan, I have made some changes based on your suggestions

@Jacobjeevan, I have made some changes based on your suggestions

Some of the coderabbit suggestions are worth doing 👍  Implement those and resolve the merge conflicts.

@Jacobjeevan help me in resolved the merge conflicts

Hii @Jacobjeevan Review my PR

@Kaushikgtm can you clear the merge conflict

@nihal467 I try but can't solve by my self please resolve merge conflict

@Kaushikgtm post the message in care-general channel in slack, to seek help from where you are stuck

Closing as per user's request.


Change KubeadmConfig bootstrap config reference to ensure nodes get rolled when making changes to node specification, add instance warmup setting

What this PR does / why we need it
https://github.com/giantswarm/roadmap/issues/2217
Together with https://github.com/kubernetes-sigs/cluster-api-provider-aws/pull/4619 and related CAPI fixes, we can now use this new feature. By changing the bootstrap config reference, i.e. the KubeadmConfig name in our case, the AWSMachinePool reconciler will roll out new nodes via ASG instance refresh. Since that would normally replace EC2 instances as quick as possible, and since there's no health check implemented yet, I'm adding the instance warmup setting (5 minutes, not configurable for now) such that old worker nodes don't all get replaced/terminated too quickly.
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests
/run cluster-test-suites

/run cluster-test-suites

Test failures are unrelated (chat), but I still want them go through.
/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites


Portfolio: Setup and mobile first

In this Project :
Added README.md file
Added Linters.yml file
Added Html.index file
Added Stylecss file
Added .gitignore file
Added Node.js version

Thank you for reviewing the code @Abdessittir .
Kindly review the new changes.
Thanks.

@levy002  thank you for reviewing the code.
Kindly take a review at the new changes and i hope i'm good to go.
I wait for your response.

Hello @AceMannie, If you are ready please go ahead and submit again your PR link in the dashboard for the second review.


Newsletter 11: Crate Before Attack

Part of #172 ("Newsletter 11: Coordination/Tracking")

Merged, thanks for the PR!


Export campaign finance refactor

[ ] speed up export
[ ] provide helpful progress messages ala downloadcalaccessrawdata
[ ] docstring methods
[ ] fix bugs from #98
[ ] SQL Server

Can you break this down into smaller tickets so we can try to toss them out at the code rush?


Where are treatment assignments?

Am I missing something completely obvious? Where are the treatment (0/45/65/85) and cut (top-down, bottom-up) assignments? I was expecting them in the plot or subplot tables, but they're not.
😕

That would be a handy thing to add in there, huh?

These are added and will be in the next merge from my local branch. I added them in the plot_metadata file, do they need to be anywhere else?

Done. Added in plot_metadata

Done.

It appears, unless I am missing it, that there is no current way to bring that information into the workspace via a function.

It appears, unless I am missing it, that there is no current way to bring that information into the workspace via a function.

😕 why?

I dunno. I put a draft function fd_treatments() in fd_plots.R
Putting everything on here so I can keep track. Also not to self that  fd_plots.R still have the original function documentation and needs to be changed.

I put in a non-obvious place, the fd_subplots() function. And that one works better. I am going to delete the new function addition previous.


Missing WIFCONTINUED on FreeBSD

Hello,
I think the WIFCONTINUED function is missing from libc on FreeBSD.
I am running:

FreeBSD 11.0-RELEASE-p1
rustc 1.14.0 (e8a012324 2016-12-16) with target x86_64-unknown-freebsd
cargo 0.15.0-nightly (298a012 2016-12-20)
libc 0.2.20

Constants like this are never explicitly omitted or anything like that, so a PR to add them is always welcome!

Right. I just wanted to make sure that there's no specific reason this isn't implemented on FreeBSD.

Closing as this was fixed in #507 .


Map atom numbers in compounds and the reactions SMARTS string

I'd like to see what position each atom of the reagents take in the product, i.e. map atom numbers in reagents and the product to ones in the reaction SMARTs string
for example rxn = RunReactants ('[# 6: 1][# 6: 2][# 6: 3][# 6: 4].[# 6: 5]#[# 6: 6] >>[# 6: 1]1[# 6: 2][# 6: 3][# 6: 4][# 6: 5][# 6: 6]1'). Is it possible to do this?

@XFaIT I'm moving this to the discussions because I think it's a question and not an actual feature request.
It may be possible to do this, but can you please be a bit more explicit about what you would like to see? Please give an actual example reaction along with example molecules you would like to apply it to and what you want to see in the output.

@XFaIT I'm moving this to the discussions because I think it's a question and not an actual feature request.
It may be possible to do this, but can you please be a bit more explicit about what you would like to see? Please give an actual example reaction along with example molecules you would like to apply it to and what you want to see in the output.

@XFaIT I'm marking this as a discussion because I think it's a question and not an actual feature request. Normally I'd just move it to discussions, but for some reason github isn't letting me do this today.
It may be possible to do this, but can you please be a bit more explicit about what you would like to see? Please give an actual example reaction along with example molecules you would like to apply it to and what you want to see in the output.

@XFaIT I'm marking this as a discussion because I think it's a question and not an actual feature request. Normally I'd just move it to discussions, but for some reason github isn't letting me do this today.
It may be possible to do this, but can you please be a bit more explicit about what you would like to see? Please give an actual example reaction along with example molecules you would like to apply it to and what you want to see in the output.

I am using the reaction generator AllChem.ReactionFromSmarts ()
AllChem.ReactionFromSmarts () — это не генератор, просто I create reaction from smarts string and then run it with
and rxn.RunReactants ((reag, acet)).
For example, for following Diels-Alder reaction '[C: 1] = [C: 2] [C: 3] = [C: 4]. [# 6: 5] # [# 6: 6] >> [C: 1] 1 [C: 2] = [C: 3] [C: 4] [C: 5] = [C: 6] 1 ' I want to match atoms participating in reaction with corresponding numbers from SMARTs string.

I am using the reaction generator AllChem.ReactionFromSmarts ()
AllChem.ReactionFromSmarts () — это не генератор, просто I create reaction from smarts string and then run it with
and rxn.RunReactants ((reag, acet)).
For example, for following Diels-Alder reaction '[C: 1] = [C: 2] [C: 3] = [C: 4]. [# 6: 5] # [# 6: 6] >> [C: 1] 1 [C: 2] = [C: 3] [C: 4] [C: 5] = [C: 6] 1 ' I want to match atoms participating in reaction with corresponding numbers from SMARTs string.

Hi,have you solve this problem?I have same question now.And my boss told me could use something like this,but I still don't know the meaning of each outcomes.
 rxn = AllChem.ReactionFromSmarts('[OH:1][C:2][C:3][C:4][C:5][C:6](=[O:7])>>[O:1]1[C:2][C:3][C:4][C:5][C:6]1[OH:7]')
reactants = [Chem.MolFromSmiles(x) for x in ('[H]C(=O)[C@H](O)[C@@H](O)[C@H](O)[C@H](O)CO', )]
for i,m in enumerate(reactants):
    for atom in m.GetAtoms():
        atom.SetIntProp('reactant_idx',i)
ps = rxn.RunReactants(reactants)
p0 = ps[0][0]
[atom.GetPropsAsDict(True, False) for atom in p0.GetAtoms()]


Deps visibility

Codecov Report

Merging #58 into master will decrease coverage by 3.37%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   93.87%   90.50%   -3.38%
==========================================
  Files          27       29       +2
  Lines         800     1200     +400
==========================================
+ Hits          751     1086     +335
- Misses         49      114      +65

Impacted Files
Coverage Δ

.../net/evendanan/bazel/mvn/api/model/Dependency.java
100.00% <ø> (ø)

.../net/evendanan/bazel/mvn/merger/DefaultMerger.java
0.00% <0.00%> (ø)

...ndanan/bazel/mvn/merger/PublicTargetsCategory.java
0.00% <0.00%> (ø)

.../main/java/net/evendanan/timing/ProgressTimer.java
0.00% <0.00%> (ø)

...evendanan/bazel/mvn/merger/GraphVerifications.java
97.18% <96.55%> (-0.86%)
:arrow_down:

...java/net/evendanan/bazel/mvn/impl/RuleWriters.java
97.53% <99.06%> (+2.37%)
:arrow_up:

...a/net/evendanan/bazel/mvn/api/DependencyTools.java
100.00% <100.00%> (ø)

...java/net/evendanan/bazel/mvn/api/LicenseTools.java
98.03% <100.00%> (+0.60%)
:arrow_up:

.../main/java/net/evendanan/bazel/mvn/api/Target.java
100.00% <100.00%> (ø)

...ava/net/evendanan/bazel/mvn/api/model/License.java
100.00% <100.00%> (ø)

... and 19 more

Continue to review full report at Codecov.

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


rewiring zarr_json_path to export w/in datasets

Finding the merged MultiZarr for ETLs run on a remote server is tricky as it gets buried in the root directory, which can be a surprisingly ambiguous location on containerized systems. I’d prefer to consolidate its placement alongside downloaded files for ease of reference.

You’re right, but unfortunately it’s not so simple.
The problem I was not correctly surfacing is that populate_metadata is w/in Transform and Parses will fail without running that. So skip_transform as a standalone argument actually never works.
Therefore I think we need to institute a use_existing_zarr_json parameter that’s passed during orchestration. It will default to False so that for daily updates and other normal operating procedures the file is overwritten.


[BoringSSL] Update third_party/boringssl-with-bazel

Change was created by the release automation script. See go/grpc-release.

@HannahShiSFB Hi Hannah could you help take a look at what are some potential causes for those iOS failures?
I know "Basic Tests ObjC iOS" is flaky ~5% of the time so it could just be that.
But the "Basic Tests ObjC Examples" failures aren't known to be flaky.


"Criteria" should be "criterion" in many places

The singular is "criterion", the plural is "criteria". So when talking about an individual criterion (including in the YAML) it should be "criterion".

This isn't a crisis, since some people do use the plural for the singular, but many people don't like it: https://web.mit.edu/21.guide/criteria.htm


$$(selector) within template instance.

I have a project using polymer 1.0 with a dom-repeat template set up something like this.
...
<paper-menu>
    <template is="dom-repeat" items="list">
        <paper-item>
            <paper-item-body>{{item}}</paper-item-body>
            <paper-icon-button on-tap="handleButton">
        </paper-item>
    </template>
</paper-menu>
...

In the handleButton function, I want access to the  in the template instance. My function accesses it like this
...
handleButton: function(event) {
    var item-body = event.model.$$("paper-item-body");
    // Do stuff with item-body
    ...
},
...

This works well in my project using Polymer 1.0. Using Polymer 1.1, e.model.&&("*") always returns undefined. What I'm confused about is that when I attempted to create an example project showing it working in Polymer 1.0 and broken in 1.1 for a bug report, I was unable to show it working in 1.0. Is it a bug that this doesn't work or is this a bug that it does? What is the recommended way to perform a selector query within a repeated template instance?

This is an unintended effect of reusing Polymer.Base as the prototype of template instances.
$$ always looks at the element's root, but event.model is not really an element, and the stamped children would not even ben in the root, as they are light dom children of the host.
If you really need to do this, you can use Polymer.dom(event).localTarget.previousElementSibling to get to the paper-item-body.

Thanks


AlbumDaoImpl - implementation of findSongs() and unit tests.

AlbumDaoImpl.findSongs(bandId): this method should implements a search by band id (return a list of songs).

3fcd102 implementation of AlbumDaoImpl.findSongs(). not tested.

Test for findSongs and create and update with Songs 9b17d95


Add Async timeout to load image

If you hold key up or key down in text mode, the browsing is very fast.
In graphical mode it is slow because it tries to load thumbnail even you hold key down.
Two solutions:

load thumbnail only on key up event
implement background timer which will load the thumbnail with some delay (async)

I have already implemented the "asynchronous" loading of the images, and the time that elapses between one element and the next of the list during the scrolling is the one necessary to recode the data for planar-mode 0x12 16 colors.
I am implementing better keyboard handling whereby it will be possible to identify pressing, repeating and releasing a key. It will help to further improve the performance in the graphical user interface mode.


Test UI with 'main' version of epinio-server and helm-charts

feat: test UI with 'main' version of Epinio
Create new tests without helm installation in Rancher UI
fix: use the installed CA, not a predefined one

Test done with default installation options on my env/lab: https://github.com/ldevulder/epinio-end-to-end-tests/actions/runs/1855180003


[WIP] Unskip SetToken.sol for coverage checks

Working on improving the test coverage here, but just starting the PR first to start SetToken coverage work

Pull Request Test Coverage Report for Build 255

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.5%) to 87.907%

Totals

Change from base Build 253:
-6.5%

Covered Lines:
133

Relevant Lines:
145

💛  - Coveralls


<EMAIL_ADDRESS>update cmd shim to call git's bash.exe instead of wsl's …

update cmd shim to call git's bash.exe instead of wsl's bash.exe
remove old dependency (wget)

Closes:
This fixes several issues Windows users have with ani-cli.
https://github.com/pystardust/ani-cli/issues?q=label%3A"os%3A+windows"
The auto-generated ani-cli.cmd shim now calls WSL's bash.exe at C:\Windows\System32\bash.exe instead of Git for Windows' bash.exe at ~\scoop\apps\git\current\bin\bash.exe, which causes a few problems for Windows users of ani-cli.
This commit fixes it by updating the ani-cli.cmd shim in post_install.

[x] I have read the Contributing Guide.

/verify

/verify


Version bump to 0.0.69

Should I bump the common version while I'm in there?

Sure. I think @benjaminapetersen is about to cut a v3.9.0-alpha.1 for common

Updated to use a range.


Delete declaration of unused op_node

Based on this issue,  it seems that the use of op_node is deleted, but its declaration is left, this code is useless. @tqchen @jroesch

Thanks @yzwqf!

Thanks @yzwqf!

but why macOS-latest failed, i have no macOS device and the information does not make sense...

@yzwqf please ignore the macOS failure, seems was due to git actions problem


[android_alarm_manager] Fix crash NullPointerException findAppBundlePath when run on terminated mode

This PR fixes an issue where Android run android alarm manager on terminated mode. And when you use plugin firebase_messaging: ^8.0.0-dev.11 and android_alarm_manager: ^0.4.5+20.
• Fixes https://github.com/flutter/flutter/issues/76835
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I signed the CLA.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@googlebot I signed it!

Thanks for the submission! We’re currently working through a large backlog of PRs, and this will require non-trivial review, so it will take some time before we’re able to review it. As explained in CONTRIBUTING.md, votes for the corresponding issue are the primary way we’re prioritizing non-trivial reviews, so we encourage anyone interested in this PR to vote for the corresponding issue.


fix: add plugin github

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cannot install iOS wrapper pods

When I attempt to install pods here
indy-sdk/wrappers/ios/libindy-pod/
I get this
Fetching podspec for CoreBitcoinfromhttps://raw.github.com/oleganza/CoreBitcoin/master/CoreBitcoin.podspec`
Downloading dependencies
Installing CoreBitcoin (<IP_ADDRESS>)
Installing ISO8601DateFormatter (0.8)
Installing OpenSSL (1.0.210)
[!] /bin/bash -c
set -e
VERSION="1.0.2j"
SDKVERSION=xcrun --sdk iphoneos --show-sdk-version 2> /dev/null
MIN_SDK_VERSION_FLAG="-miphoneos-version-min=7.0"
BASEPATH="${PWD}"
CURRENTPATH="/tmp/openssl"
ARCHS="i386 x86_64 armv7 armv7s arm64"
DEVELOPER=xcode-select -print-path
mkdir -p "${CURRENTPATH}"
mkdir -p "${CURRENTPATH}/bin"
cp "file.tgz" "${CURRENTPATH}/file.tgz"
cd "${CURRENTPATH}"
tar -xzf file.tgz
cd "openssl-${VERSION}"
for ARCH in ${ARCHS}
do
CONFIGURE_FOR="iphoneos-cross"
if [ "${ARCH}" == "i386" ] || [ "${ARCH}" == "x86_64" ] ;
then
PLATFORM="iPhoneSimulator"
if [ "${ARCH}" == "x86_64" ] ;
then
CONFIGURE_FOR="darwin64-x86_64-cc"
fi
else
sed -ie "s!static volatile sig_atomic_t intr_signal;!static volatile intr_signal;!" "crypto/ui/ui_openssl.c"
PLATFORM="iPhoneOS"
fi
export CROSS_TOP="${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer"
export CROSS_SDK="${PLATFORM}${SDKVERSION}.sdk"
echo "Building openssl-${VERSION} for ${PLATFORM} ${SDKVERSION} ${ARCH}"
echo "Please stand by..."
export CC="${DEVELOPER}/usr/bin/gcc -arch ${ARCH} ${MIN_SDK_VERSION_FLAG}"
mkdir -p "${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk"
LOG="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/build-openssl-${VERSION}.log"
LIPO_LIBSSL="${LIPO_LIBSSL} ${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/lib/libssl.a"
LIPO_LIBCRYPTO="${LIPO_LIBCRYPTO} ${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/lib/libcrypto.a"
./Configure ${CONFIGURE_FOR} --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" > "${LOG}" 2>&1
sed -ie "s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} !" "Makefile"
make >> "${LOG}" 2>&1
make all install_sw >> "${LOG}" 2>&1
make clean >> "${LOG}" 2>&1
done
echo "Build library..."
rm -rf "${BASEPATH}/lib/"
mkdir -p "${BASEPATH}/lib/"
lipo -create ${LIPO_LIBSSL}    -output "${BASEPATH}/lib/libssl.a"
lipo -create ${LIPO_LIBCRYPTO} -output "${BASEPATH}/lib/libcrypto.a"
echo "Copying headers..."
rm -rf "${BASEPATH}/opensslIncludes/"
mkdir -p "${BASEPATH}/opensslIncludes/"
cp -RL "${CURRENTPATH}/openssl-${VERSION}/include/openssl" "${BASEPATH}/opensslIncludes/"
cd "${BASEPATH}"
echo "Building done."
echo "Cleaning up..."
rm -rf "${CURRENTPATH}"
echo "Done."
[!] The Podfile contains framework or static library targets (Indy), for which the Podfile does not contain host targets (targets which embed the framework).
If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
`
Any Idea?
What I am trying to do is
1- To re-build the framework by executing
xcodebuild archive
-scheme [Whatever]
-configuration Release
-destination 'generic/platform=iOS Simulator'
-archivePath '[whatever]'
SKIP_INSTALL=NO
BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
Or use the "universal_framework.sh" if I couldn't build one for simulator
I believe I should install the pods first then try to build the framework
Thanks in advance

Following these instructions left me with a static library which can then be converted into a XCFramework with
xcodebuild -create-xcframework -library libindy.a -headers ... -output libindy.xcframework

I did encounter the same error as you while doing pod install. I am not too familiar with the inner workings of pods and I can not help you with that unfortunately.

I am stuck at the instructions at this line
7. Run the script Validate the output that all goes well.
it says run the script so I believe its the
./ios-build.sh
Can you tell me the exact run commandyou used ? like what
./ios-build.sh [other parameters]

I just executed ./indy-build.sh libindy.
For crossplatform there might be some additional setup that I am unaware of. I am also quite sure Libindy will never get support for ios smulators as openSSL for iOS, that we depend on, is not build for the simulator. Messed around with it today and could not get it to work. I must say that I am not an iOS expert and it might be possible by changing the openssl dependency to one that works for the sim.

It turns out that the docs really needs overhaul.
There is steps missing and vague guides, this repo really needs attention
After lots search on the web for every step I could finally manually build the framework
I'll be creating a PR for adding and clarifying some more steps and troubleshooting for that
So right now I have the framework build to
libindy>out_pod
Now am confused, how to convert that to Indy.framework
Again the guide is confusing
Do I have to manually create a framework project then copy those files created to that project then build it?
Am really confused

Not too sure about the next step, sorry.
I completely agree about the guides, however I am not too sure if PRs are still being accepted. It would be very helpful ofcourse but I can not merge is sadly. If you have a guide I can test it for you and review it though.

I can help make sure the updated documentation gets merged.

I will prepare a PR


Update README.md

Thank you for this great idea. Let's hope it materializes soon!

Welcome to the castle!


veramo did fails with any command

Bug severity
5
Describe the bug
I installed veramo with
npm i @veramo/cli -g

Then launched
veramo config create

To Reproduce
Then I try almost any command :
veramo did providers
veramo did list
veramo did create

Observed behaviour
All of them have the same result:
(node:86891) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Unable to create agent from ./agent.yml. Error creating @veramo/did-provider-key['KeyDIDProvider']: Function.prototype.apply was called on undefined, which is a undefined and not a function. While creating object from pointer: /didManager. While creating object from pointer: /agent

Expected behaviour
the commands should not fail
Versions (please complete the following information):
I try on Mac m1, node version v21.5.0, npm version 10.2.4, veramo version 5.6.0

deleted everything, installed veramo/cli 5.5.3. But same result

on linux all works, maybe will reinstall node and npm and try again on m1

@nickz-t3  I think try with different versions of node maybe 16 and 18.01 . It could work.

I tested this locally again on mac m1 with your versions and everything seemed to work fine. Perhaps you can try to clear some npm caches and retry.
I'll close this for now, please reopen if you are still experiencing issues.

switching to Node 18 helped. Thanks for the suggestions guys


Updated snippets

Fixed:
[mesh] snippet now doesn't have index after name
[newanim], [texttexture_enh] - fixed choose snippets
Added:
Comment selected text
[alphascale]
[matl_bumpmap]
[matl_envmap_mask]
[matl_transmap]
[matl_freetex]
[matl_texaddress_*]
[matl_texcoordtransX/Y]

Hi @zheka20012 and thanks for your contribution!
I'm a little busy at the moment, so I will probably test out your changes in a few weeks and if everything is fine I will merge them and release a new version.


Aot Bundle size

Hello, while i was investigating my bundle size using aot build version. I noticed that even when using only one module from ng2-bootstrap the whole library is added as well as moment.js. This makes it quite heavy. Is there any way to improve this? For example changing commonjs modules to ES2015 so it can be tree shaken? Or do you have any other advice which would help with this issue?
This is how adding alert module influenced angular2 webpack starter bundle size (aot prod build) :

yes, it should work
I just checked, and ng core modules switched to es6, so we switch too

waiting for CI to pass...

tests are passing but,
sourcemap-istanbul-instrumenter-loader failed

released as v1.3.0
please try and update me

Hey, wow thats for such a quick feedback great stuff!
Unfortunately it does not seem to work as i would expect.
When importing only alert Module using angular2-webpack-starter (aot):
version: Bundle size
1.2.6: 126.8kb
1.3.0: 117.96kb
But overall looks like all not used modules are included in bundle.
Screen for 1.3.0:

@olaf89 Btw, what software did you use to produce that pic?

@ctrl-brk im using webpack-bundle-analyzer

Woah, nice tool :O
For me, ng2bs is using only used packages, not sure if it is because of tree shaking or because I'm importing it directly - ... from 'ng2-bootstrap/datepicker'

@olaf89 please try v1.3.2

Hello,
@valorkin I tried but when importing from 'ng2-bootstrap' still whole library is included as well as moment.js.
BUT when tring to do it @GuskiS way (by importing from 'ng2-bootstrap/alert') the result is amazing:
not only all not used modules are dropped but also moment.js
Result:

This is awesome! Moment is required only by datepicker

@valorkin Do you plan to remove momentjs in future?

More likely to make it optional
It provides localization, so it is pretty good

@valorkin I recently had issues with moment in a webpack build for angular2. If it's included in an eager module webpack for some reason will not produce chunks for lazy routes


Dont set overflow:hidden by default

MapInteractionCSS applies overflow: 'hidden', to the outermost div. This should instead be an option provided in props, and should default to visible.

I've also run into problems caused by this.


The device is offline (power is cutoff), but the status is being updated continuously

My cooker is chunmi.cooker.normal3
米家IH电饭煲 4L
Most of the time the device will be offline, but during that time, the status will be updated continuously as shown below.
Therefore, the logbook is very messed up
Can anyone help me fix this problem?
Thank you very much!

Customize this device:
# configuration.yaml
xiaomi_miot:
  device_customizes:
    chunmi.cooker.normal3:
      check_lan: true

https://github.com/al-one/hass-xiaomi-miot/issues/91#issuecomment-846492664
https://github.com/al-one/hass-xiaomi-miot/issues/100#custom
https://github.com/al-one/hass-xiaomi-miot/issues/600


NodeJS 16.x is past EOL

Describe the bug
AWS is ending support for Node.js 16 in Lambda on June 12, 2024. This follows Node.js 16 End-Of-Life (EOL) reached on September 11, 2023.
To Reproduce
N/A
Expected behavior
N/A
Please complete the following information about the solution:

[X] Version: [e.g. v3.0.0] - 3.1.5
[X] Region: [e.g. us-east-1] - us-east-1
[X] Was the solution modified from the version published on this repository? Yes, but only slightly and not related to any Lambda functions or layers.
[X] If the answer to the previous question was yes, are the changes available on GitHub? yes - https://github.com/DashMR/media2cloud-on-aws
[X] Have you checked your service quotas for the sevices this solution uses? - N/A
[X] Were there any errors in the CloudWatch Logs? - N/A

This has been fixed in the v3/maintenance branch with this commit, e2604b4f0db0272431000c9eb91554fc8c064a8a


How are temporary files created in S3 when calling the driver?

Can someone here explain how the temporary files are created in S3 when calling the driver? It seems:

When calling spark.read, a temporary file folder will be created with a file of length 1
When calling any functions to evaluate the returned Dataframe, another temporary file folder will be created with the actual data
What is the file created in first step?
The temporary files created seems to be in plain text without schema. Is there anyway to make that parquet or export parquet files with schema?

Thanks!

I figured out. It's actually a sliced CSV by default and read using RedshiftInputFormat class.
But the question still holds - since Redshift now supports UNLOAD directly into parquet (https://docs.aws.amazon.com/redshift/latest/dg/r_UNLOAD.html), can we just use it instead to avoid the many escaping problems with CSV?


Adding an option to copy strings out of the binary.

Hey all,
I have been working with this library for the past month or so, and it recently it occurred to me that the thrift messages may be using references to sub-binaries.
this is potentially fine for most people, but If one is process larger amounts of data and they want to copy the binaries instead, there isn't really a recourse for that currently.
I don't know if anyone who works on this cares, so if not, let me know and I might work on it myself at some point.

Hi @isaacsanders. Blindly copying all binaries is an anti-pattern because it causes unnecessary copying. This is especially true in newer versions of the BEAM VM where binaries can be more efficiently handled. If we want to support this it should via schema annotations so that we only copy specific binaries that are causing issues.

Silently accruing refc binaries also feels like an anti-pattern that my team's use case has to always work around. We prefer to copy because our fields are almost always smaller than the refc limit.

For reference see the guide line comment in the docs (http://erlang.org/doc/man/binary.html#copy-1) by the OTP team. We could definitely support an annotation at any level of a schema to binary copy anything underneath that. This might be per file, per struct, per field etc.

Yeah, we’ve read that. We have GB size/volume of binaries that were getting parsed by JSON libraries and not copying, which were handled by long lived processes. Most of our data is from uninterruptible streaming processes. Most of the Elixir community thinks about their performance differently than we do, in the three years we’ve been using it.
This is an advanced request. I know this is your due diligence.

Sure for clarity we don't want to pay the runtime overhead of always copy by default, checking an option at runtime to handle this, or generating twice the code. Once we have a new AST will try to fill do this feature as proof that AST/annotations works as we hope ;).

No worries, I hope it didn’t seem I was asking for a default. :)

If you want to fork in the meantime, I think enforcing the copy is changing 5-10 lines in https://github.com/pinterest/elixir-thrift/blob/master/lib/thrift/generator/struct_binary_protocol.ex.


Fix GitHub capitalization

@paulb777 happy to merge although curious what prompted you to take on this task haha

@samtstern I noticed it on today's weekly reports :)


adds required packages

https://github.com/Shippable/admiral/issues

@rageshkrishna Going ahead and merging it. Please have a look once,


Fix typo in BART CNN/DM finetuning

Small typo in the inference script, in the README for finetuning BART on CNN/DM dataset.

Thanks!


Symbols missing for microsoft.extensions.commandlineutils 1.1.1

Our VS payload depends on microsoft.extensions.commandlineutils 1.1.1.
When we do insertion into VS, it complains that it cannot find symbols for microsoft.extensions.commandlineutils.dll, see VS #958010
The PDB signature hash it's looking for is D1A06F78-7E8D-400B-ACA1-15CC3DA0A798

@aspnet/build anyone have any ideas?  @IlyaBiryukov I'm going to guess that you should be on a MUCH newer version as 1.1 has been out of support for a while know.

We no longer support Microsoft.Extensions.CommandLineUtils. We have a similar shared source package but only for use within ASP.NET Core projects.
@IlyaBiryukov what "VS payload" are you talking about?

We use Microsoft.Extension.CommandLineUtils in our Live Share extension, and when we insert it into VS (e.g. This insertion), VS complains about missing symbols.
What newer version would you recommend? The one you still support that is.

I don't recommend using either Microsoft.Extension.CommandLineUtils or the newer Microsoft.Extension.CommandLineUtils.Sources outside ASP.NET Core repos. I'm surprised you took a dependency on the Microsoft.Extension.CommandLineUtils package.
Microsoft.Extension.CommandLineUtils.Sources is still in use for our repos but it's a shared source package, meaning you'll need to disable VS insertions and compile against the new package instead.

So, your recommendation would be to switch to Microsoft.Extension.CommandLineUtils.Source? I don't see it on NuGet.org.
We cannot disable our insertions into VS. We ship with VS, and our package is enabled by default in several setup workflows.
The NuGet package Microsoft.Extensions.CommandLineUtils is public on NuGet.org and has 6K downloads per day and 2M total downloads for 1.1.1. Widely used by community it looks like. Are you sure it's discontinued?

Are you sure it's discontinued?

Yup. We last updated Microsoft.Extensions.CommandLineUtiils more than 2 years ago.

We cannot disable our insertions into VS

Sorry, I wasn't clear. I was talking about not inserting just Microsoft.Extensions.CommandLineUtiils while building your code against Microsoft.Extensions.CommandLineUtiils.Sources.
Mid-term I'd prefer you transition to

I don't see it on NuGet.org.

It's available in a couple of feeds, including

https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3-transport/nuget/v3/index.json

Overall this short-term change would give you symbols and allow your code to remain unchanged (modulo whatever we've fixed in the .Sources package). But, I recommend moving to another option mid-term because we're talking about an implementation detail of ASP.NET Core that isn't supported outside our small group.
@Pilchie please jump in to confirm, deny or change what I'm saying here. (We certainly can do things differently going forward.)

AspNetCore did not publish symbols to feeds as part of the 1.1 release, but I might be able to wrangle the symbol from the build drop share. Taking this offline. For all other users, https://github.com/aspnet/Extensions/issues/257 has some suggestions for alternative command line parsers to use.

Just want to chime in that there are still no symbols uploaded for this nuget package. We were also bitten by this while inserting into VS. @pranavkm would you consider de-listing the package from nuget if no one is supposed to use it?


gdal: Add hdf4 support

Motivation for this change
I want to add hdf4 support to the gdal library.
Things done

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

[ ] NixOS
[x] macOS
[ ] Linux

[ ] 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/)
[x] Fits CONTRIBUTING.md.

@FRidh I split hdf4 up into bin/dev/out. I had to manually specify postInstall moveToOutput bin "$bin" however, because otherwise the build would fail. Not exactly sure if this is the correct way to do it.

@FRidh: Would you consider merging?

The following tests FAILED:
        127 - HDF_TEST-testhdf-shared (Failed)
        128 - HDF_TEST-buffer-shared (Failed)
        133 - MFHDF_TEST-cdftest-shared (Failed)
        134 - MFHDF_TEST-hdfnctest-shared (Failed)
Errors while running CTest

builder for ‘/nix/store/cmjc162yw5haxd0qws7r2c12hlbvw3za-hdf-4.2.12.drv’ failed with exit code 8
error: build of ‘/nix/store/cmjc162yw5haxd0qws7r2c12hlbvw3za-hdf-4.2.12.drv’ failed

Some of the errors that I could find in the log:
/build/hdf-4.2.12/build/bin/testhdf-shared: error while loading shared libraries: libhdf.so.4.2.12: cannot open shared object file: No such file or directory
/build/hdf-4.2.12/build/bin/hdfnctest-shared: error while loading shared libraries: libmfhdf.so.4.2.12: cannot open shared object file: No such file or directory

I think you might want to undo the multiple outputs. I tried to use them with hdf5 as well after I suggested it to you, but it didn't work out at all.

Okay, so I tried myself without multiple outputs, and I still get the errors.

Do you have a NixOS machine with sandbox that you could test on?

Oh. Didn't expect that the NixOS build would fail. I'll spin up a VM and see what's the deal. I suppose it will be the same problem as on the mac, where I need to set $DYLD_LIBRARY_PATH for the checkPhase. The test-binaries don't seem to know that they should look for the library in the build directory.

Adding an "export LD_LIBRARY_PATH=$(pwd)/bin" seemed to help.

@FRidh: Should work by now.


Duplication of initial line in match expression leads to non-compiling code

Here's the expression:
                    match self.extend_data(&dm, usage.total_data) {
                        #![allow(single_match)]
                        Ok(_) => {}
                        Err(_) => {} // TODO: Take pool offline?
                    }

Here's the resulting diff from rustfmt v 0.9.0
Diff in /home/travis/build/stratis-storage/stratisd/src/engine/strat_engine/pool.rs at line 336:

                 if usage.used_data > usage.total_data - DATA_LOWATER {⏎

                     // Request expansion of physical space allocated to the pool⏎

                     match self.extend_data(&dm, usage.total_data) {⏎

+                    #[allow(single_match)]⏎

+                    match self.extend_data(&dm, usage.total_data) {⏎

                         #![allow(single_match)]⏎

                         Ok(_) => {}⏎

This can be found in Travis at https://travis-ci.org/stratis-storage/stratisd/jobs/260734331.
The clippy annotation may have been the last straw...

It may be useful to know that on v0.8.6 the same code produces a somewhat different behavior.
Here is the resulting code after I run rustfmt and do an in place change:
                    #[allow(single_match)] match self.extend_data(&dm, usage.total_data) {
                        #![allow(single_match)]
                        Ok(_) => {}
                        Err(_) => {} // TODO: Take pool offline?
                    }

Note that the clippy annotation has been duplicated and moved. More interestingly, after that change has been made, running rustfmt in diff mode still reveals a diff, as:
Diff in /home/mulhern/my-contributions/stratisd/src/engine/strat_engine/pool.rs at line 311:
 ⏎
                 if usage.used_data > usage.total_data - DATA_LOWATER {⏎
                     // Request expansion of physical space allocated to the pool⏎
+#[allow(single_match)]                    #[allow(single_match)]⏎
+                    match self.extend_data(&dm, usage.total_data) {⏎
                     #[allow(single_match)] match self.extend_data(&dm, usage.total_data) {⏎
                         #![allow(single_match)]⏎
                         Ok(_) => {}⏎

If I re-run rustfmt in overwriting mode it applies the suggested diff and the code fails to compile.

rustfmt-nightly panics with the above code, looks like rustfmt cannot handle inner attributes of match expr.


⚠ Bofrost.de has degraded performance

In 3789a55, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1499 ms

Resolved: Bofrost.de performance has improved in 8aa7259 after 8 minutes.


[Suggestion] Enemies and Doors

Enemies need to be added to multiplayer like Goomba's (which respawn after someone kills it) and Koopas and add it to where you can go through the castle doors and into the castle like the game so you wont have to reload the page. And add more stars so people can PVP for them

Enemies need to be added to multiplayer like Goomba's (which respawn after someone kills it) and Koopas and add it to where you can go through the castle doors and into the castle like the game so you wont have to reload the page. And add more stars so people can PVP for them

I think that they are working on that, but there is an alternative for what you want (Net64).

Also, this is a suggestion, so it would help you edit the title to include [Suggestion].

Net64s cancelled as far as I'm aware
Our current networking situation is kind of a mess atm, the only person who knows how to work the language the server uses, Rust, is way too occupied with IRL and other projects to update and maintain the server, I'm planning on switching it to another language I know
But to answer your request, I've began adding simple objects to Castle Grounds and Bob-Omb Battlefield as a start

So are we having different language options? Like the website would translate our messages?

He meant programming languages (like JavaScript or C++), not talking languages (like English or Spanish).

tho ngl localization would be nice

oh ok

So, if you can find out a way to combine the levels to the castle, we would be able to play the game and beat each other up to see who can beat it quickest. Oh, maybe adding NPCs would cause problems, like when someone drowns everyone's game crashes. So, we have to wait a while for the game to be easier to play and most of the bugs to be fixed.

the main reason we don't have any entities is that we would need to network them. and no one knows rust so we cant.

So, if you can find out a way to combine the levels to the castle, we would be able to play the game and beat each other up to see who can beat it quickest. Oh, maybe adding NPCs would cause problems, like when someone drowns everyone's game crashes. So, we have to wait a while for the game to be easier to play and most of the bugs to be fixed.

the main reason we don't have any entities is that we would need to network them. and no one knows rust so we cant.

yeah pretty much

the main reason we don't have any entities is that we would need to network them. and no one knows rust so we cant.
Ok, that's understandable. Entities could have negative outcomes, like crashing the game.

Oh
On Mon, May 16, 2022, 10:17 PM Agent X @.***> wrote:

So, if you can find out a way to combine the levels to the castle, we
would be able to play the game and beat each other up to see who can beat
it quickest. Oh, maybe adding NPCs would cause problems, like when someone
drowns everyone's game crashes. So, we have to wait a while for the game to
be easier to play and most of the bugs to be fixed.
the main reason we don't have any entities is that we would need to
network them. and no one knows rust so we cant.
yeah pretty much
—
Reply to this email directly, view it on GitHub
https://github.com/sm64js/sm64js/issues/685#issuecomment-1128391837, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AWEG4EVVPII355K75JWNK33VKMMUHANCNFSM5VB5O32A
.
You are receiving this because you commented.Message ID:
@.***>

Net64s cancelled as far as I'm aware Our current networking situation is kind of a mess atm, the only person who knows how to work the language the server uses, Rust, is way too occupied with IRL and other projects to update and maintain the server, I'm planning on switching it to another language I know But to answer your request, I've began adding simple objects to Castle Grounds and Bob-Omb Battlefield as a start

So are we having different language options? Like the website would translate our messages?

i know its probably too late tho by language he was referring to the programming language the server code uses which is called: Rust

The bumping here is insane.

removing my unneeded comments from these issues 👍

The bumping here is insane.

removing my unneeded comments from these older issues 👍


Improve the metrics

Related product discussion: https://github.com/meilisearch/product/discussions/625
Related spec: https://github.com/meilisearch/specifications/pull/242
Breaking change
As you can see in the linked discussion, this PR is breaking but only for the metrics route, which is part of the experimental metrics feature.
So that can be merged without creating a v2 of meilisearch.
Motivation
Make the metrics easier to use and provide info on the task queue.
TODO

[x] Merge changes into main https://github.com/meilisearch/meilisearch/pull/3789
[ ] Update the product discussion with the new API and a screenshot of the dashboard
[ ] Make a tweet on the subject to raise awareness

Which points? @irevoire

These one:

Update the product discussion with the new API and a screenshot of the dashboard
Make a tweet on the subject to raise awareness

The PRs are closed but there are some remaining tasks noted there so re-opening to make sure we remember. :)

Closing this issue since everything that has to be done on engineering side has been done


Crash with Iris on latest versions

When using Iris and Create Fabric together the game will not crash right away, but it will crash after several minutes. Not Enough Crashes identified these two as the conflicting mods.
Mod Versions
Create 0.5.0g
Iris Shaders 1.4.2
Fabric Loader 0.14.10
Fabric API 0.67.1
Crash Report
https://gist.github.com/Fourbo/9ca4ce92a0355ab4b521c666d61f3de3

Not Enough Crashes identified these two as the conflicting mods.

Which is most likely incorrect. Iris devs specifically tell uses to remove NEC before submitting any crash reports, because it incorrectly assumes Iris caused a crash, when it didn't.

I can confirm Iris works just fine with Ceate.

Remove NEC and try again. If it still crashes send the new log.


CSRF Mismatch after restart

Restarting the Sails server causes socket clients to receive a CSRF mismatch error.
Before each request, I'm performing an io.socket.get('/csrfToken', ...).  This works fine until the Sails server is restarted.  When the socket reconnects, calls to /csrfToken receive valid-looking tokens, but those tokens are refused.  The only way to fix the error is to refresh the browser client.  This makes socket-reconnecting useless, since the app cannot continue to operate without a page refresh.

What version of sails are you using?

Is your session handler persistent (mongo, mysql, etc) or memory?

@tjwebb Using 0.11.0.
@crh3675 Memory, but according to the Sails log I've established a new session before I make the GET /csrfToken request.  I'm puzzled as to why a fresh session and a subsequent fresh CSRF token would fail.
Here's how it looks in the logs.
Restart Sails
info:
info:                .-..-.
info:
info:    Sails              <|    .-..-.
info:    v0.11.0             |\
info:                       /|.\
info:                      / || \
info:                    ,'  |'  \
info:                 .-'.-==|/_--'
info:                 `--'-------'
info:    __---___--___---___--___---___--___
info:  ____---___--___---___--___---___--___-__
info:
info: Server lifted in `/Users/crimsonfox/Development/Projects/JavaScript/gatestaff2-api`
info: To see your app, visit http://localhost:1337
info: To shut down Sails, press <CTRL> + C at any time.

debug: --------------------------------------------------------
debug: :: Tue Apr 07 2015 22:55:30 GMT-0400 (EDT)

debug: Environment : development
debug: Port        : 1337
debug: --------------------------------------------------------

<...some unrelated stuff removed from here...>

verbose: A socket is being allowed to connect, but the session could not be loaded.  Will create an empty, one-time session to use for the life of the socket connection.  Details:
 Error: Session could not be loaded
    at _createError (/usr/local/lib/node_modules/sails/lib/hooks/session/index.js:271:21)
    at Immediate._onImmediate (/usr/local/lib/node_modules/sails/lib/hooks/session/index.js:274:13)
    at processImmediate [as _immediateCallback] (timers.js:358:17) { [Error: Session could not be loaded] code: 'E_SESSION' }

And then my next request:
verbose: Receiving incoming message from Socket.io:  { method: 'get', headers: {}, data: {}, url: '/csrfToken' }
verbose: Interpreting socket.io message as virtual request to "get /csrfToken"...

Gives me token XbNtrH1Y-SMdVM9g20ik2BNFJfJXAnHjsfmw.
With that token, I make a request:
verbose: Receiving incoming message from Socket.io:  { method: 'post',
  headers: {},
  data:
   { email: 'test',
     password: 'pass',
     _csrf: 'XbNtrH1Y-SMdVM9g20ik2BNFJfJXAnHjsfmw' },
  url: '/auth/local' }
verbose: Interpreting socket.io message as virtual request to "post /auth/local"...
verbose: Sending 403 ("Forbidden") response:
 CSRF mismatch

From the logs, it looks like I have a new session, and I'm fetching a fresh CSRF token before making my next request.  Is there something special about the one-time session that invalidates all CSRF tokens?

I switched over to Mongo as my session store and the problem goes away.  It appears to be limited to the default session store.

You mean redis?

@ryanfields Good to hear.  The in memory session storage doesn't persist between restarts as it uses a global Javascript object during startup.  When the NodeJS process stops, garbage collection releases all runtime variables.

Ah I see now where they say they're using sails-memory. Yea that's not persisted, and you'll definitely get a new session on restart. Thanks everyone for following up.

The issue wasn't about session persistence though.  I know that the session is wiped between restarts.  The question is why do CSRF tokens issued AFTER the restart get treated as invalid.  Sails restarts, I get a new session, and THEN I ask for new CSRF tokens.  Why are they rejected?


[URL Protocol] Fix Discord Rich Presence not updating.

fix #402

Thanks for the confirmation~
Waiting for #404 to merge before this one as its related


Gnome Documents package is broken in 19.03

Issue description
It doesn't start.  crashes with the following log in journald
Apr 17 23:32:24 t430s .gnome-document[9909]: JS LOG: Can't find a valid getting started PDF document
Apr 17 23:32:24 t430s .gnome-document[9909]: JS ERROR: TypeError: Application.modeController is null
                                             _init@resource:///org/gnome/Documents/js/notifications.js:189:9
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
                                             newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32
                                             _init@resource:///org/gnome/Documents/js/notifications.js:345:38
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             _createWindow@resource:///org/gnome/Documents/js/application.js:420:31
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             vfunc_activate@resource:///org/gnome/Documents/js/application.js:475:13
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             main@resource:///org/gnome/Documents/js/main.js:48:12
                                             run@resource:///org/gnome/gjs/modules/package.js:225:12
                                             @/nix/store/20p8aq1ccya0s50jsnl4w6np32abn68m-gnome-documents-3.30.0/bin/.gnome-documents-wrapped:6:1

Steps to reproduce
$ gnome-documents
$ journalctl -xef

Gnome Books is broken as well
Apr 17 23:36:10 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Successfully activated service 'org.gnome.Books'
Apr 17 23:36:11 t430s .tracker-store-[2108]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
Apr 17 23:36:11 t430s systemd[9514]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
Apr 17 23:36:11 t430s systemd[9514]: tracker-store.service: Failed with result 'exit-code'.
Apr 17 23:36:11 t430s .nautilus-wrapp[17402]: Could not establish a connection to Tracker: Failed to load SPARQL backend: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Apr 17 23:36:11 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.408' (uid=1000 pid=2005 comm="/nix/store/s3qq57f04xn1cjyca9bbn9gwcrxmaflm-gnome-")
Apr 17 23:36:11 t430s .gnome-books-wr[2107]: JS ERROR: Unable to connect to the tracker database: Tracker.Error: Failed to load SPARQL backend: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
                                             vfunc_startup@resource:///org/gnome/Books/js/application.js:364:26
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             main@resource:///org/gnome/Books/js/main.js:48:12
                                             run@resource:///org/gnome/gjs/modules/package.js:225:12
                                             @/nix/store/20p8aq1ccya0s50jsnl4w6np32abn68m-gnome-documents-3.30.0/bin/.gnome-books-wrapped:6:1
Apr 17 23:36:11 t430s .gnome-books-wr[2107]: JS ERROR: TypeError: Application.modeController is null
                                             _init@resource:///org/gnome/Books/js/notifications.js:189:9
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
                                             newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32
                                             _init@resource:///org/gnome/Books/js/notifications.js:345:38
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             _createWindow@resource:///org/gnome/Books/js/application.js:420:31
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             vfunc_activate@resource:///org/gnome/Books/js/application.js:475:13
                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                             main@resource:///org/gnome/Books/js/main.js:48:12
                                             run@resource:///org/gnome/gjs/modules/package.js:225:12
                                             @/nix/store/20p8aq1ccya0s50jsnl4w6np32abn68m-gnome-documents-3.30.0/bin/.gnome-books-wrapped:6:1
Apr 17 23:36:11 t430s systemd[9514]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
Apr 17 23:36:11 t430s systemd[9514]: tracker-store.service: Scheduled restart job, restart counter is at 3.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit UNIT has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Apr 17 23:36:11 t430s systemd[9514]: Stopped Tracker metadata database store and lookup manager.
-- Subject: Unit UNIT has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished shutting down.
Apr 17 23:36:11 t430s systemd[9514]: Starting Tracker metadata database store and lookup manager...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Apr 17 23:36:11 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Successfully activated service 'org.freedesktop.Tracker1'
Apr 17 23:36:11 t430s systemd[9514]: Started Tracker metadata database store and lookup manager.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is RESULT.
Apr 17 23:36:12 t430s .tracker-store-[2124]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
Apr 17 23:36:12 t430s systemd[9514]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
Apr 17 23:36:12 t430s systemd[9514]: tracker-store.service: Failed with result 'exit-code'.
Apr 17 23:36:12 t430s .gnome-photos-w[2005]: Unable to create PhotosTrackerQueue: Failed to load SPARQL backend: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Apr 17 23:36:12 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Successfully activated service 'org.gnome.Photos'
Apr 17 23:36:12 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.408' (uid=1000 pid=2005 comm="/nix/store/s3qq57f04xn1cjyca9bbn9gwcrxmaflm-gnome-")
Apr 17 23:36:12 t430s systemd[9514]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
Apr 17 23:36:12 t430s systemd[9514]: tracker-store.service: Scheduled restart job, restart counter is at 4.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit UNIT has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Apr 17 23:36:12 t430s systemd[9514]: Stopped Tracker metadata database store and lookup manager.
-- Subject: Unit UNIT has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished shutting down.
Apr 17 23:36:12 t430s systemd[9514]: Starting Tracker metadata database store and lookup manager...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Apr 17 23:36:12 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Successfully activated service 'org.freedesktop.Tracker1'
Apr 17 23:36:12 t430s systemd[9514]: Started Tracker metadata database store and lookup manager.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is RESULT.
Apr 17 23:36:13 t430s .tracker-store-[2131]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
Apr 17 23:36:13 t430s systemd[9514]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
Apr 17 23:36:13 t430s systemd[9514]: tracker-store.service: Failed with result 'exit-code'.
Apr 17 23:36:13 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Activating service name='com.intel.dleyna-renderer' requested by ':1.408' (uid=1000 pid=2005 comm="/nix/store/s3qq57f04xn1cjyca9bbn9gwcrxmaflm-gnome-")
Apr 17 23:36:13 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.408' (uid=1000 pid=2005 comm="/nix/store/s3qq57f04xn1cjyca9bbn9gwcrxmaflm-gnome-")
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: dLeyna core version 0.6.0
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: dleyna-renderer-service version 0.6.0
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Load file [(null)]
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: [General settings]
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Never Quit: F
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Connector Name: dbus
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Port: 0
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Push host port: 0
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: [Logging settings]
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Log Type : 0
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Log Level: 0x13
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: [Network filtering settings]
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Enabled : F
Apr 17 23:36:13 t430s dleyna-renderer-service[2137]: Entries: (null)
Apr 17 23:36:13 t430s dbus-daemon[9521]: [session uid=1000 pid=9521] Successfully activated service 'com.intel.dleyna-renderer'
Apr 17 23:36:13 t430s systemd[9514]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
Apr 17 23:36:13 t430s systemd[9514]: tracker-store.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit UNIT has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Apr 17 23:36:13 t430s systemd[9514]: Stopped Tracker metadata database store and lookup manager.
-- Subject: Unit UNIT has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished shutting down.
Apr 17 23:36:13 t430s systemd[9514]: tracker-store.service: Start request repeated too quickly.
Apr 17 23:36:13 t430s systemd[9514]: tracker-store.service: Failed with result 'exit-code'.
Apr 17 23:36:13 t430s systemd[9514]: Failed to start Tracker metadata database store and lookup manager.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has failed.
--
-- The result is RESULT.

I suspect it is the same issue as #59788
but could be something else

Pretty sure it's the same issue

https://gitlab.gnome.org/GNOME/tracker/issues/40#note_352864

Okay that's good news then :)

msg in #nixos-dev from me btw

@arianvp Did these go away with the tracker bump?

Yes


Configure Azure PipelinesThis pipeline configuration builds the application and produces a build for the Release configuration.

This pipeline configuration builds the application and produces a build for the Release configuration.

 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.:x: cpetru85 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


ClassNotFoundException: javax.net.ssl.SSLContext from [Module "org.fusesource.mqtt:main"

Running into this issue with Wildfly 10 with wildfly-camel v.4 while defining an MQTT endpoint. Pretty much stumped at this point. I've made several attempts to add various jars and dependencies to the org.fusesource.mqtt module, but no luck. Based on the note in the wildfly-camel wiki on endpoint security, I'm chalking this up as a bug.

Actually, I think I understand what's going on here now -- need to pass the SSLContext to the endpoint manually like:
    @Override
    public void configure() throws Exception {
        SSLContext sslContext = SSLContext.getInstance("TLS");

        MQTTConfiguration conf = new MQTTConfiguration();
        conf.setSslContext(sslContext);
        conf.setSubscribeTopicNames("/em/selfiecam/server");

        MQTTComponent comp = new MQTTComponent();
        MQTTEndpoint endpoint = new MQTTEndpoint("tcp://localhost:1883", comp, conf);

        from(endpoint)
                .transform(body().convertToString())
                .to("log:output")
                .to("mock:result");
    }