Unable to install from pip

Hey,
There's a bug with the bundled cairo version with matplotlib that makes the graph cut off at scaled resolutions. This all seems to work fine on latest version of mplplot on my local machine, so I was thinking of bundling mplcairo with application Graphs for the backend, at least until that issue is fixed.
However, I need to bundle mplplot in my Flatpak. In the end, it tries to install it either through pip from source, or using a wheel as published on PyPi. There's no wheels available for Linux on aarch64 architectures unfortunately, and I don't own any aarch64 devices and cannot build these myself. So I was trying to compile this from source with pip.
Unfortunately, here I am running into issues. Just trying on my direct environment, Python 3.11.3 I'm getting the following output:
⬢[sjoerd@toolbox ~]$ python3 -m pip install mplcairo
Defaulting to user installation because normal site-packages is not writeable
Collecting mplcairo
  Using cached mplcairo-0.5.tar.gz (93 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib>=2.2 in ./.local/lib/python3.11/site-packages (from mplcairo) (3.6.2)
Requirement already satisfied: pillow in ./.local/lib/python3.11/site-packages (from mplcairo) (9.3.0)
Requirement already satisfied: pycairo>=1.16.0 in /usr/lib64/python3.11/site-packages (from mplcairo) (1.23.0)
Requirement already satisfied: contourpy>=1.0.1 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (1.0.6)
Requirement already satisfied: cycler>=0.10 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (4.38.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (1.4.4)
Requirement already satisfied: numpy>=1.19 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (1.23.4)
Requirement already satisfied: packaging>=20.0 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (21.3)
Requirement already satisfied: pyparsing>=2.2.1 in ./.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in /usr/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo) (2.8.2)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.11/site-packages (from python-dateutil>=2.7->matplotlib>=2.2->mplcairo) (1.16.0)
Building wheels for collected packages: mplcairo
  Building wheel for mplcairo (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [71 lines of output]
      /var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/wx.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/tk.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/qt.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/multipage.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/macosx.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/gtk_native.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/gtk.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/base.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/_version.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/_util.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/_backports.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      copying lib/mplcairo/__init__.py -> build/lib.linux-x86_64-cpython-311/mplcairo
      running build_ext
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-1xf00giz/mplcairo_b82e7a7e4c35426c80a6092b0e7f6261/setup.py", line 189, in <module>
          setup(
        File "/tmp/pip-install-1xf00giz/mplcairo_b82e7a7e4c35426c80a6092b0e7f6261/setupext.py", line 54, in __new__
          setuptools.setup(**kwargs)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 325, in run
          self.run_command("build")
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.ensure_finalized()
        File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 109, in ensure_finalized
          self.finalize_options()
        File "/tmp/pip-install-1xf00giz/mplcairo_b82e7a7e4c35426c80a6092b0e7f6261/setup.py", line 123, in finalize_options
          get_pkgconfig(f"--atleast-version={MIN_CAIRO_VERSION}", "cairo")
        File "/tmp/pip-install-1xf00giz/mplcairo_b82e7a7e4c35426c80a6092b0e7f6261/setup.py", line 57, in get_pkgconfig
          return shlex.split(subprocess.check_output(["pkg-config", info, lib],
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['pkg-config', '--atleast-version=1.11.4', 'cairo']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for mplcairo
  Running setup.py clean for mplcairo
Failed to build mplcairo
ERROR: Could not build wheels for mplcairo, which is required to install pyproject.toml-based projects
⬢[sjoerd@toolbox ~]$

In my Flatpak environment (on which Graphs will be compiled), I'm getting similar issues:
========================================================================
Building module python3-mplcairo in /var/home/sjoerd/.var/app/org.gnome.Builder/cache/gnome-builder/flatpak-builder/build/python3-mplcairo-28
========================================================================
Running: pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "mplcairo" --no-build-isolation
Using pip 23.1 from /usr/lib/python3.10/site-packages/pip (python 3.10)
Looking in links: file:///run/build/python3-mplcairo
Processing ./mplcairo-0.5.tar.gz
  Running command python setup.py egg_info
  /usr/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
    dist.fetch_build_eggs(dist.setup_requires)
  running egg_info
  creating /tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info
  writing /tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/requires.txt
  writing top-level names to /tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/top_level.txt
  writing manifest file '/tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/SOURCES.txt'
  listing git files failed - pretending there aren't any
  reading manifest file '/tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/SOURCES.txt'
  adding license file 'LICENSE.txt'
  writing manifest file '/tmp/pip-pip-egg-info-p0umywf3/mplcairo.egg-info/SOURCES.txt'
  Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib>=2.2 in /app/lib/python3.10/site-packages (from mplcairo) (3.7.1)
Requirement already satisfied: pillow in /app/lib/python3.10/site-packages (from mplcairo) (9.5.0)
Requirement already satisfied: pycairo>=1.16.0 in /usr/lib/python3.10/site-packages (from mplcairo) (1.23.0)
Requirement already satisfied: contourpy>=1.0.1 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (1.0.7)
Requirement already satisfied: cycler>=0.10 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (4.39.3)
Requirement already satisfied: kiwisolver>=1.0.1 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (1.4.4)
Requirement already satisfied: numpy>=1.20 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (1.24.2)
Requirement already satisfied: packaging>=20.0 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (23.1)
Requirement already satisfied: pyparsing>=2.3.1 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in /app/lib/python3.10/site-packages (from matplotlib>=2.2->mplcairo) (2.8.2)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=2.2->mplcairo) (1.16.0)
Building wheels for collected packages: mplcairo
  Running command python setup.py bdist_wheel
  /usr/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
    dist.fetch_build_eggs(dist.setup_requires)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-310
  creating build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/wx.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/tk.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/qt.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/multipage.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/macosx.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/gtk_native.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/gtk.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/base.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/_version.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/_util.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/_backports.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  copying lib/mplcairo/__init__.py -> build/lib.linux-x86_64-cpython-310/mplcairo
  running build_ext
  error: <urlopen error [Errno -3] Temporary failure in name resolution>
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /usr/bin/python3 -u -c '
  exec(compile('"'"''"'"''"'"'
  # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  #
  # - It imports setuptools before invoking setup.py, to enable projects that directly
  #   import from `distutils.core` to work with newer packaging standards.
  # - It provides a clear error message when setuptools is not installed.
  # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize

  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)

  __file__ = %r
  sys.argv[0] = __file__

  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"

  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/tmp/pip-install-bd6was80/mplcairo_524734b2e1c44ceca2a5540ab16a5795/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-_n6i0o8k
  cwd: /tmp/pip-install-bd6was80/mplcairo_524734b2e1c44ceca2a5540ab16a5795/
  Building wheel for mplcairo (setup.py) ... error
  ERROR: Failed building wheel for mplcairo
  Running setup.py clean for mplcairo
  Running command python setup.py clean
  /usr/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
    dist.fetch_build_eggs(dist.setup_requires)
  running clean
  removing 'build/lib.linux-x86_64-cpython-310' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.10' does not exist -- can't clean it
Failed to build mplcairo
ERROR: Could not build wheels for mplcairo, which is required to install pyproject.toml-based projects

I tried bundling all dependencies seperately into my Flatpak, but that doesn't change anything. It works fine with the wheel, but because we ship Graphs for both x86 and aarch64 architectures, this is not an option right now. The flatpak environment runs on Python 3.10.6. Which should be compatibile with mplcairo.
Do you have any ideas why the pip install seems to be broken?
Edit: Meant the aarch64 architecture that's an issue for me with the wheels. Got it confused with amd64 🤦

Just to add, the latest requirements are all installed:
`⬢[sjoerd@toolbox Graphs]$ pip install pybind11
Defaulting to user installation because normal site-packages is not writeable
Collecting pybind11
Using cached pybind11-2.10.4-py3-none-any.whl (222 kB)
Installing collected packages: pybind11
Successfully installed pybind11-2.10.4
⬢[sjoerd@toolbox Graphs]$ pip install pycairo
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pycairo in /usr/lib64/python3.11/site-packages (1.23.0)
⬢[sjoerd@toolbox Graphs]$ pip install git+https://github.com/matplotlib/mplcairoDefaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/matplotlib/mplcairo
Cloning https://github.com/matplotlib/mplcairo to /tmp/pip-req-build-qgfilen9
Running command git clone --filter=blob:none --quiet https://github.com/matplotlib/mplcairo /tmp/pip-req-build-qgfilen9
Resolved https://github.com/matplotlib/mplcairo to commit 44b09d7e4941dd19311a0b166452c408eab1aad6
Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib>=2.2 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from mplcairo==0.5.post27+g44b09d7) (3.6.2)
Requirement already satisfied: pillow in /var/home/sjoerd/.local/lib/python3.11/site-packages (from mplcairo==0.5.post27+g44b09d7) (9.3.0)
Requirement already satisfied: pycairo>=1.16.0 in /usr/lib64/python3.11/site-packages (from mplcairo==0.5.post27+g44b09d7) (1.23.0)
Requirement already satisfied: contourpy>=1.0.1 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (1.0.6)
Requirement already satisfied: cycler>=0.10 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (4.38.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (1.4.4)
Requirement already satisfied: numpy>=1.19 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (1.23.4)
Requirement already satisfied: packaging>=20.0 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (21.3)
Requirement already satisfied: pyparsing>=2.2.1 in /var/home/sjoerd/.local/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in /usr/lib/python3.11/site-packages (from matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (2.8.2)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.11/site-packages (from python-dateutil>=2.7->matplotlib>=2.2->mplcairo==0.5.post27+g44b09d7) (1.16.0)
Building wheels for collected packages: mplcairo
Building wheel for mplcairo (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [71 lines of output]
/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/_version.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/wx.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/tk.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/qt.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/multipage.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/macosx.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/gtk_native.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/gtk.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/base.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/_util.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/_backports.py -> build/lib.linux-x86_64-cpython-311/mplcairo
copying lib/mplcairo/init.py -> build/lib.linux-x86_64-cpython-311/mplcairo
running build_ext
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-qgfilen9/setup.py", line 153, in
setup(
File "/tmp/pip-req-build-qgfilen9/setupext.py", line 57, in setup
setuptools.setup(**kwargs)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 325, in run
self.run_command("build")
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.ensure_finalized()
File "/var/home/sjoerd/.local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "/tmp/pip-req-build-qgfilen9/setup.py", line 112, in finalize_options
get_pkgconfig(f"cairo >= {MIN_CAIRO_VERSION}")
File "/tmp/pip-req-build-qgfilen9/setup.py", line 46, in get_pkgconfig
return shlex.split(subprocess.check_output(["pkg-config", *args],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pkg-config', 'cairo >= 1.13.1']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mplcairo
Running setup.py clean for mplcairo
Failed to build mplcairo
ERROR: Could not build wheels for mplcairo, which is required to install pyproject.toml-based projects
`

Maybe useful information, but I tried this on my other development toolbox that is running the old Fedora 36 with Python 3.10.8, and there the pip install works fine. So it seems this maybe a Python 3.11 compatibility issue.
Then my issues with the Flatpak install from source may be a separate issue perhaps.

Further investigations gave me a way to get it installed on the Flatpak build, so that indeed seems a seperate issue. The issue with Pip in python 3.11 remains.
The "solution" with Flatpak is that I need to give it access to the network on build-time. Does mplcairo need network access during compilation? None of my other dependencies need this, so it seems a bit odd. Is it possible to obtain a version where this is not required, as I'm not sure if this is acceptable on Flathub where Graphs is published.
Just for future reference, the relevant (working) part of the manifest now looks like this:
            "name": "python3-mplcairo",
            "buildsystem": "simple",
	"build-options": {
		"build-args": [ "--share=network" ]
	},
            "build-commands": [
 		   "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"mplcairo\" --no-build-isolation"
            ],
            "sources": [
                {
		      "type": "file",
		      "url": "https://files.pythonhosted.org/packages/73/4c/d30237614ad1c6e7b6987346e72c60db61145a09e09dd8ff28217da390db/mplcairo-0.5.tar.gz",
		      "sha256": "3d2595431ec968399ac8d63ea4b6f35baecdd071a14a031d178da3cc83fe652e"
                }
            ]

I think the relevant info is at https://github.com/matplotlib/mplcairo#unix?
The following additional dependencies are required:

[...]

- cairo and FreeType headers, and pkg-config information to locate them.

  If using conda, they can be installed using ::

     conda install -y -c conda-forge pycairo pkg-config

  as pycairo (also a dependency) depends on cairo, which depends on freetype.
  Note that cairo and pkg-config from the ``anaconda`` channel will *not* work.

  On Linux, they can also be installed with your distribution's package manager
  (Arch: ``cairo``, Debian/Ubuntu: ``libcairo2-dev``, Fedora: ``cairo-devel``).

Raqm (≥0.2) headers are also needed, but will be automatically downloaded if
not found.

Thank you, installing cairo-devel  indeed got me further to problems with my gcc compiler. Installing the Development Tools group in my toolbox solved those remaining issues, and indeed it installed fine. The reason it worked fine from my Fedora 36 toolbox, is that I've had those tools already installed in there.
The problem with Flatpak probably has something to do with my manifest, it has happened before that it doesn't build nicely from source, and for those packages I usually just switched to the wheels. Either way that was not the core point of this issue and it's not definitely related to this module either, I thought they were hence naming that here as well. Installing from pip indeed works fine with the given instructions, my apologies for my poor reading comprehension when I went through this first. Closing this issue.

No worries, feel free to make any suggestions as to how this documentation could be made clearer (while sticking to a single-file README...).


Could it support generate data classes from avsc file?

Isn't that a bit out-of-scope of this project? Anyways @thake have made this project that you could use: https://github.com/thake/avro4k-compiler
Or just use avro java libs to read schema files  and generate from those schemas kotlin data classes with https://square.github.io/kotlinpoet/ for an example.  From my personal experiences kotlinpoet have quite neat API for generating kotlin classes compared to templating.
Probably in the end it doesn't really matter and code generating can be really use-case / project specific if you wan't enrich those generated classes with certain interfaces or metadata.  Anyways probably better to do it yourself?

@msampaioatbigw: Closing this issue as this is out of scope.
As already pointed out by @kossi you can take a look at https://github.com/thake/avro4k-compiler which is actually another project of mine. If you have any questions / issues with it, you can raise a issue there.


[Peer registration] long response if IP is not valid.

For replay this bag you need:
Test case

Go to SS an login under any account.
Go to 'Peer registration' and register peer with not valid IP.

Result: you can observe loading process, and you receive the Error message that this is not valid IP, only in a few minutes.

karaflogs2016-03-30 17_52_28.txt

Problem is the server doesn't respond, and our js side just throws error

Actually when we enter wrong url backend takes 15 sec, to respond that url is incorrect

Will be handled by this issue https://github.com/subutai-io/base/issues/590


Make scale in of htex_auto_scale more effective

Description
For htex_auto_scale instead of removing only 1 block at most in case there are more slots than tasks, remove try to remove many blocks so that the number of slots matches the number of tasks. This is of course still limited by how many blocks have reached the configured max_idletime.
Fixes #2195
Type of change
Choose which options apply, and delete the ones which do not apply.

Bug fix (non-breaking change that fixes an issue)

Adjusted the computation. Indeed I didn't take parallelism and min_blocks into the calculation.


Entering an invalid value for SSL when connecting to postgres crashes evidence

Steps To Reproduce
I'm using the template repo here: https://github.com/evidence-dev/template

npm install & npm run dev
Go to <IP_ADDRESS>:3000/settings
Select postgres, enter in some information, then enter in an invalid value for the SSL field (I entered "require" thinking it mapped to sslmode).
Observe network error and the following logs:

  Connection Test running.../Users/sean/Code/github.com/glaredb/reports/node_modules/pg/lib/connection.js:85
        if ('key' in self.ssl) {
                  ^

TypeError: Cannot use 'in' operator to search for 'key' in require
    at Socket.<anonymous> (/Users/sean/Code/github.com/glaredb/reports/node_modules/pg/lib/connection.js:85:19)
    at Object.onceWrapper (node:events:628:26)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I am also unable to start up evidence again as I'm met with the following:
% npm run dev

><EMAIL_ADDRESS>dev
> evidence dev --open /

Forced re-optimization of dependencies

  VITE v4.3.9  ready in 481 ms

  ➜  Local:   http://<IP_ADDRESS>:3000/
  ➜  Network: use --host to expose
  ➜  press h to show help
  orders_by_month running.../Users/sean/Code/github.com/glaredb/reports/node_modules/pg/lib/connection.js:85
        if ('key' in self.ssl) {
                  ^

TypeError: Cannot use 'in' operator to search for 'key' in require
    at Socket.<anonymous> (/Users/sean/Code/github.com/glaredb/reports/node_modules/pg/lib/connection.js:85:19)
    at Object.onceWrapper (node:events:628:26)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I removed the node modules and tried reinstalling, but still get the above. It seems like my invalid db configuration is sticking around, and I don't know where or how it's set (are settings persisted to a config file somewhere?).
Environment

Node version (node -v): v16.20.2
npm version (npm -v): 8.19.4
OS: macos
Browser: firefox
Database: postgres (well... trying to connect to glaredb using pg protocol)

Expected Behavior
Have evidence not exit on invalid value for 'SSL' field. Also have a way of understanding where these values are persisted/being read from so that I can manually remove the invalid configuration.
Actual Behaviour
See above errors.
Workarounds
Quick fix for me would be to know how I can reset my configuration. I don't have any EVIDENCE_* env vars set, so I'm not sure how evendence is reading the invalid value.

Figured out where to go for the settings configuration. Saw this in cloud:

Upload your evidence.settings.json file.
The file should be inside your project in the hidden folder  .evidence/template

I was looking at the docs previously and was not finding anything other than the environment vars.

This is an annoying state to reach, it's a bit of a trap.
I'm thinking there should be something like a "Evidence: Clear configurations and cache" kind of command in the VSCode extension that deletes almost everything in the .evidence/template folder, which would:

Purge the query cache
Purge the stored credentials
Purge any Svelte kit generated files

as this can normally rescue you from most situations

Separately, feels like we should do something to error handle the SSL inputs so that you can't get trapped

I think a "Clear ..." command in the vscode extension could be useful, but I'm also not using the extension (and so that wouldn't have helped me here).
What would have helped me:

Include a mention of evidence.settings.json in the docs site. I looked here first and searched "settings" to try to find something about where configuration is stored, and only found mentions of environment vars.
Include something in the template repo readme about where settings are saved.

I only learned about evidence.settings.json after checking the credentials stuff in evidence.app and seeing a snippet about it.


Validate supplied .tsv and .json files

As a user, when I upload my participants.tsv (and data_dictionary.json) file to the annotator, I want to receive a visual confirmation that the uploaded files have passed some validation, so that I immediately know whether there are any problems with the files before I start spending time on annotations.
When users upload participant.tsv and optional .json data dictionaries with our tool, the file upload interface currently filters available files on the file system by the correct file ending. However, users can either change that or upload a file with the correct file ending but the wrong content (e.g. a .tsv file that is in fact a .csv, etc).
We could validate the supplied file content before we proceed to the categorization page in order to avoid strange breaks when we try to parse the files and they turn out to be something other than what we expect.

I think this could be good to include in round 2 after the refactor.

@surchs Still thinking of this for refactor round 2? I'm thinking this might spill over into the next cycle depending on the rest of the phase 2 refactor tasks go from here until end of month.

When #597 is done, we could apply the same logic to validate the input data as well.


Git: bring back action to toggle between file and changes

Would be nice to have this useful toggle back that allows to jump between file and diff.

Fixed!

@joaomoreno awesome. the only thing is that the action does not show disabled when there are no changes (it used to). Is there already an issue for that?

Not yet, create!

https://github.com/Microsoft/vscode/issues/21131


WIP: [FEATURE] Add environment tests

Can one of the admins verify this patch?

ok to test

retest this please


Opt-in to rustc_private for rust-analyzer

https://github.com/rust-analyzer/rust-analyzer/pull/7891

Thank you for your PR!


Fix subscription used in template tests

Change azd init in test-templates.sh to explicitly accept a subscription ID.

/azp run azure-dev - template - tests

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
No changes detected.

/check-enforcer override


View component with optional parameters does not render with tag syntax if the optional parameters are omitted

Hi
If a view component's InvokeAsync method has optional parameters and if the optional parameters are not specified in the tag,  then the view component won't render.
For example, given the following InvokeAsync:
       public async Task<IViewComponentResult> InvokeAsync(
            Question question,
            bool hideComments = false,
            bool hideShare = false)
        {

            ViewData["hideComments"] = hideComments;
            ViewData["hideShare"] = hideShare;

            return await Task.FromResult(View(question));
        }

@await Component.InvokeAsync("QuestionActions", new {question = Model})
and
<vc:question-actions question="Model" hide-share="true" hide-comments="true" ></vc:question-actions>
will render but
<vc:question-actions question="Model"  ></vc:question-actions> won't render.
I am using netcoreapp1.1 and dotnet info gives:
.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.1

Duplicate of: https://github.com/aspnet/Mvc/issues/5541


fix: rename tailwind config import

Rename tailwind config import inside the package json file.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Limelight robot positioning

Description
The limelight needs a physical position to exist in. Determine how far back and which angle allows us to see key (Speaker, Amp) april tags.
Definition of done

The distance from the front of the robot to position the limelight
The angle the limelight wants to be pointed

Center robot at 16 inches high with a upward 45 degree angle does not work.
Offset from center at 20 inches high with a upward 30 degree angle would work.

Height is assumed from the camera lens to the floor.

Info provided to CAD:

Limelight lens height = 20 inches from floor
Limelight lens angle = 43.315 degrees -> round to 45 degrees


Implemented some new commands, plus replace mode

Apparently you only need to set Carre.Mode to Block in order to get into replace mode in monodevelop.

Looks good, didn't really realize the 'block' caret mode doubled as replace as well, good catch!
Just one thing, you forgot to commit the .csproj change for the new file. Do you want me to do it in the merge or do you want to update the pull request?
Also if you're interested in working with this add-in more, drop by the gitter channel.
Thanks!

Updated


Add support for the Kudu datastore in GoraExplorer

Add metadata analyzer feature in KUDU for GoraExplorer support.

Merged into master. Thank you, @mgov88 !


MariaDB has no configuration files

The MySQL container configuration has a "my.cnf" ready to use, but the MariaDB have none such file. The settings are in /etc/mysql/my.cnf but anythings in /etc/mysql/conf.d that end with .cnf will be loaded. Files in the conf.d directory can overwrite the default config.
So I'm more to add a file in /etc/mysql/conf.d/my.cnf so we still get the stock config from /etc/mysql/my.cnf .

@gagarine Sorry, I'm not sure I get what your proposing?

I will do a pull request.. going to be clearer ;)


A 1.7 version for the new update

Hi guys there isn't a new 1.7 version of the update but just for 1.8 and 1.9 I guess. I tried installing but it doesn't show any command so it is not working. Can someone give me a link for it?

New build was pushed to release page.
Note that 1.7.x branch is no longer under active maintenance so we cannot guarantee it will work properly. Remember to backup.
Also, please consider updating your server.


Mismatched join button hovering effect

What happened?

The hovering effect of the join button on the event's card is different than the rest of the buttons on the website. Keep in mind, that the color of the join button in the event card should be consistent with the ACM path.

The hover effect on both these buttons are different. To keep things consistent, I think we should go with the hover effect where the text changes colors instead of the background-color of the button. This might be possible by consolidating the buttons seen in the two screenshots into a single, shared button component.
Decision reached by @anhduy1202, @EthanThatOneKid, and others via Discord

PR: https://github.com/EthanThatOneKid/acmcsuf.com/pull/338


#1041 Enable receiving messages from different message groups i…

…n the same Batch for FIFO queues
:loudspeaker: Type of change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring

:scroll: Description

Added a new SqsContainerOptions option : messageGrouping. True by default. When false, a new MessageSinkAdapter is used. This adapter does not have grouping function.
I was wondering whether I should add the new option messageGrouping in the @SqsListener annotation or leave the configuration only in the factory.
Although the option is only relevant for FIFO Queues with a listener in batch mode, I've decided to put the option in @SqsListener, which will make it easier for library users to configure.
I don't know if the name messageGrouping is meaningful enough, I can change it if necessary.
:bulb: Motivation and Context

Fix the issue #1041
:green_heart: How did you test it?
I added a test in SqsFifoIntegrationTests. In this test, I configure a new listener with messageGrouping set to false. I send several messages from two different message groups.
In the listener, I verify that the batch of messages received contains messages from different message groups. Then, I check that all messages from each group have been received.
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[x] I updated reference documentation to reflect the change
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Thanks for the PR @alexisgra! Left a few comments for your consideration.

Thank you very much for the review @tomazfernandes !
I've made the changes and updated the doc. I remain available if other changes need to be made 😃

Thanks for the review @tomazfernandes !
I've updated the doc. I remain available if other changes need to be made !

Thanks a lot for the PR @alexisgra!
I did some polishing to speed up merging and opened a new PR: https://github.com/awspring/spring-cloud-aws/pull/1192, so I'll close this one.
Looking forward to more!


allow for post_trigger buffer to be set in block reads; add check on buffer size

@giulioungaretti @WilliamHPNielsen @jenshnielsen

@CJvanDiepen  looks good to me!

@giulioungaretti PR is passing code quality checks now


Adding SoC tests

This pull request adds two tests to the iCE40 architectures. They are;

PicoSoC - A small SoC based on the PicoRV32.
Murax - A small SoC based on the VexRISC core.

I added a README.md for the Murax case. Do you have the same details for PicoSoC?

So this is currently producing;
symbiflow-arch-defs/ice40/make/boards.mk:5: warning: overriding recipe for target 'symbiflow-arch-defs/third_party/icestorm//iceprog/iceprog'
symbiflow-arch-defs/ice40/make/tools.mk:6: warning: ignoring old recipe for target 'symbiflow-arch-defs/third_party/icestorm//iceprog/iceprog'
OUT_LOCAL = symbiflow-arch-defs/ice40/tests/picosoc//build-ice40--hx8k
OUT_LOCAL = symbiflow-arch-defs/ice40/tests/picosoc//build-ice40-top-routing-virt-hx8k

I assume because I pulled in your splitting incorrectly?


Publish ES5 compat. build

Hey!
I haven't actually gotten this theme to work quite right yet (still want to do some more testing to verify it's not on my end), but one thing I did notice is that ./lib/index.js is not transpiled to ES5, and so makes it slightly harder to consume by the end user.
Any chance we could move lib to src/ and then create a transpiled dist/ as part of the build step?
I'd be open to opening up a PR when I get some time, as well, if you're open to it.
Thanks and great job!

Hey Dustin,
glad you like the theme 🙂 Everything in the lib folder is ES2015 by design (see note in the reamde). But there is also a transpiled version available. Importing 'spectacle-theme-nova/bundle' should give you a ES5 compatible version. Although, the bundle is not "browser-ready". The output is a CJS module.
If you have any trouble let me know. If you can post an error message/stacke trace would be nice :)
To be honest, I myself never used the bundled version. I am only using this theme in conunction with  melodrama.
If the bundled version is not easy to use, let me know an we figure something out that is better suited for the use with ES5!

@DSchau did you resolve your issue? :)

Had a busy weekend, but I will revisit this week! Feel free to close the issue until I can provide better information!
Thanks!
On Jan 22, 2017, 9:27 AM -0600, Sebastian Sebald<EMAIL_ADDRESS>wrote:

@DSchau (https://github.com/DSchau) did you resolve your issue? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/sebald/spectacle-theme-nova/issues/5#issuecomment-274337478), or mute the thread (https://github.com/notifications/unsubscribe-auth/ADvi0i5XkwS9SBa3qp_vVKE_Mdq968q0ks5rU3VkgaJpZM4Lomc_).


[5.1] Jobs fail to run when a dependent model is deleted

If a Model is serialized in let's say Job A, and it is deleted in Job B before this job can run, it throws an exception during the __wakeup() call, throwing it back in queue infinitely.
The problems with the current Job system in this case:

You're unable to catch any Exceptions during the __wakeup() or deserialization phase
The serialization of the model is called with findOrFail()

https://github.com/laravel/framework/blob/5.1/src/Illuminate/Queue/SerializesModels.php#L65
[2015-06-20 18:03:22] production.ERROR: exception 'Illuminate\Database\Eloquent\ModelNotFoundException' with message 'No query results for model [KikFinder\Submission].' in /var/www/kikfinder.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:127
Stack trace:
#0 [internal function]: Illuminate\Database\Eloquent\Builder->findOrFail('127')
#1 /.../bootstrap/cache/compiled.php(11013): call_user_func_array(Array, Array)
#2 /.../vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(65): Illuminate\Database\Eloquent\Model->__call('findOrFail', Array)
#3 /.../vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(65): KikFinder\Submission->findOrFail('127')
#4 /.../vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(40): KikFinder\Jobs\Admin\DeleteSubmission->getRestoredPropertyValue(Object(Illuminate\Contracts\Database\ModelIdentifier))
#5 [internal function]: KikFinder\Jobs\Admin\DeleteSubmission->__wakeup()
#6 /.../vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(38): unserialize('O:37:"KikFinder...')

I don't see what the issue is. They only go back in the queue if they haven't been retried enough times?

Not throwing an exception here would be incorrect. We need to indicate that waking up the object has failed.

throwing it back in queue infinitely.

Looks like a configuration issue on your side to me?

I still believe that there should be a way to either handle the exception, or to pass it as null.

Since it will continue to always be null, retrying isn't going to do anything in this case.

or to pass it as null.

We definitely don't want that. That's why it was changed to findOrFail.

retrying isn't going to do anything in this case.

That's not our logic though. You configure the retrys.

@GrahamCampbell @EvanDarwin This is actually an issue with you're dealing with Soft Deletes. If you try to pass a soft-deleted model into a queued job, it will fail because findOrFail() won't find it - but the model is a perfectly valid model and is still usable.
For example, we have a common class that handles marking models as deleted on the form submission. It then fires a ModelWasDeleted event. I am trying to set up a listener for that event that will queue a job with the deleted event to clean up extra data in the background - but it's failing because I am passing the deleted model into it.
A simple work-around is to pass in the ID, rather than the model itself. However, this breaks our usual pattern and the change in behaviour when using SerializesModels isn't really expected.

@valorin the workaround I used was to override the getRestoredPropertyValue() function and including the ::withTrashed() method when finding the object.

Or you could also do something similar to this in the case that the object is actually permanently deleted, and anyone else looking at this issue:
    /**
     * Override this to catch in the case that the model is already deleted
     */
    protected function getRestoredPropertyValue($value)
    {
        if($value instanceof ModelIdentifier) {
          $model = (new $value->class)->find($value->id);
          return ($model) ? $model : null;
        } else {
          return $value;
        }
    }

Or remove SerializeModels for deleted resources?

Hey thanks @EvanDarwin for that snippet, it was really helpful. This would be really helpful for large transactions in some scenarios.

@EvanDarwin I've tried override getRestoredPropertyValue this generate an error :
[2015-10-08 10:47:57] local.ERROR: exception 'ErrorException' with message 'Undefined property: Illuminate\Contracts\Database\ModelIdentifier::$user'

The model returned is empty nut its not deleted :'(

Thanks @EvanDarwin

@EvanDarwin where are you overwriting that method? Does it get placed inside the job class? or on the model? or were you referring to something else?
I have jobs that run and work with softDeleted data but it is failing because it can not findOrFail with trashed on the job. I would like to have certain jobs include trashed items.
What are your thoughts?

@johnpaulmedina I no longer use Laravel but I believe the code went into the actual Job class.

I made a new trait and overrode the method:
use SerializesModels, SerialisesDeletedModels {
    SerialisesDeletedModels::getRestoredPropertyValue insteadof SerializesModels;
}

use Illuminate\Contracts\Database\ModelIdentifier;

trait SerialisesDeletedModels
{
    protected function getRestoredPropertyValue($value)
    {
        if ($value instanceof ModelIdentifier) {
            $model = new $value->class;

            if (method_exists($model, 'withTrashed')) {
                return $model->withTrashed()->findOrFail($value->id);
            }

            return $model->findOrFail($value->id);
        } else {
            return $value;
        }
    }
}

Thanks @valorin for the example. This works for me, while running Laravel 5.2:

namespace App\Traits;

use Illuminate\Contracts\Database\ModelIdentifier;

/**
 * Class SerialisesDeletedModels
 * @see https://github.com/laravel/framework/issues/9347#issuecomment-165647596
 */
trait SerialisesDeletedModels
{
    /**
     * @param $value
     * @return mixed
     */
    protected function getRestoredPropertyValue($value)
    {
        if (!$value instanceof ModelIdentifier) {
            return $value;
        }

        if (is_array($value->id)) {
            return $this->restoreCollection($value);
        }

        $instance = new $value->class;
        $query = $instance->newQuery()->useWritePdo();

        if (property_exists($instance, 'forceDeleting')) {
            return $query->withTrashed()->find($value->id);
        }

        return $query->findOrFail($value->id);
    }
}

@emielmolenaar is there any reason you used find on the withTrashed query, but findOrFail on the final query?
    if (property_exists($instance, 'forceDeleting')) {
        return $query->withTrashed()->find($value->id);
    }

    return $query->findOrFail($value->id);

I guess because findOrFail will throw an exception on models that have been soft-deleted. The withTrashed()->find($value->id) "fixes" this by including soft-deleted models.

Right, but could you not have done withTrashed()->findOrFail to throw an exception if the model truly does not exist (not even in the 'trashed' part of the collection)? Just want to make sure I understand!

Good one. I guess I could have used withTrashed()->findOrFail(), but in this case I only used soft-deleting models so a record would always exist.
If you use a mix of soft-delete and "hard-delete" models, then withTrashed()->findOrFail() instead of withTrashed()->find() might be a good option; but you should do some tests to verify the wanted behaviour.

@emielmolenaar I don't believe that to be true, there's are plenty of perfectly valid use cases for retrieving a soft-deleted model such as offloading analysis of the model to the task queue. (An example would be analyzing a deleted Submission, etc.)

When you use soft-delete models and a job gets queued with a non-existing (i.e. no database record) soft-deleted model in it then there is a serious problem: that is a situation that theoretically should not exist :smile:

@emielmolenaar: You've obviously never worked with an app that throws jobs into the queue which could be delayed for processing by minutes or even hours. In one of my apps, it was a common occurrence for a user to create or update a record (which triggers a queued job), and then delete the record. If my queue was flooded (which is common, and the reason I'm using queues), then it's definitely possible the queue job tries to revive a record that has since been deleted.
It's got nothing to do with "a serious problem" in the app - but timing. Queued jobs can be delayed, and records can be deleted at any time - especially when users are involved. You need to handle all cases.

@emielmolenaar sorry, ignore my last. I miss-read your comment.


go run main.go generates errors

checked out the code using gh, running  "go run main.go"
ubuntu@ip-xxx-xxx-xxx-xxx:~/racketeer/server$ go run main.go
main.go:6:2: package RNS/serve is not in GOROOT (/usr/local/go/src/RNS/serve)
main.go:7:2: package RNS/types is not in GOROOT (/usr/local/go/src/RNS/types)
This is a plain vanilla Ubunti 18.04, nothing but Go on it (fresh instance for the purpose of testing - go1.17.1 linux/amd64).
VS Code also throws this error when inspecting the code, which seems to be related.

You should have export GOPATH pointing to where your Go workspace (e.g. /User/dev/go)
Compile code:

Clone the repo: got clone <this repo path>
2.Navigate to the server component: cd racketeer/server
Build the code: GO111MODULE=on go build -o bin/server.exe

No joy.  See two screenshots below.  The instructions work and I've done the required "go gets" which led to a successful build but then an error on execution.

Even when run the executable as sudo

and just to confirm that there is nothing else listening on port 3000 (shouldn't be since this is a clean AWS instance)

and I'm a C# / JS guy with no experience whatsoever with Go, so don't feel bad about pointing out silly mistakes I'm making.

No worries. The documents are not clear as to how SSL keys are found.
Run:
$ server -H <IP_ADDRESS> -P 3001 -s
This will start server on IP/Port with the TLS support.
Please make sure that there is a keys folder right next to the server executable which contains TLS certs. In the future there will be an option to point to correct directory with keys. Right now, it's a hardcoded assumption here
In the above example (launching server from ./bin ) place certificates in keys directory inside ./bin. Take a look at ./dist/gencert.sh key generation script to get self-signed certs, or extract from Letsencrypt/etc. for the host/domain.


Floating Panel Windows can be hard to resize under Linux

Panel Windows on Linux are sometimes hard to resize, particularly when there are many widgets (like the Media Info Panel) or one that calculates its size all the time (Like the Python Panel).
Need to fix it ideally before v1.0.0.

Improved  in v0.9.4.


Question: Is it possible to use P# on a Linux system?

Either through Mono or .NET Core. The instructions I've seen depend on Visual Studio...

Closing as its already answered.


Fix redact for environment ( or perhaps other provider ) variables that expand to empty string

Expected Behavior

Given a configuration that users the .env provider with a configuration containing any
variable that mapss to the empty string
FOO=""

Redaction should ignore the variable.
Current Behavior
$ cat test.txt
This is a test
$ cat test.txt| teller redact
**REDACTED**T**REDACTED**h**REDACTED**i**REDACTED**s**REDACTED** **REDACTED**i**REDACTED**s**REDACTED** **REDACTED**a**REDACTED** **REDACTED**t**REDACTED**e**REDACTED**s**REDACTED**t**REDACTED**

Possible Solution
Preprocess and remove variables that expand to the empty string.

Steps to Reproduce

Create a .teller.yml with an env provider as above
Create a non empty test.txt file as above
Redact the file with teller
Every character will contain an unwanted **REDACTED**

Context
Ideally, environment variables should not expand to the empty string - but this will not always be practicable or possible
Specifications

Version: $ teller version

Teller 1.5.6
Revision 7b714bc2f1d5e14920f2add828fdf7425148ff6b, date: 2022-10-13T08:02:44Z

Platform:

 uname -a | teller redact
Darwin **REDACTED** 22.6.0 Darwin Kernel Version 22.6.0: Wed Oct  4 21:25:26 PDT 2023; root:xnu-87<IP_ADDRESS>1.17~4/RELEASE_X86_64 x86_64

Thanks, should be fixed with Teller 2.0 now.


design

This is a derived design.
I have build a CLI to automating & using this design.
It is time for a simple UI. Rename this repo to v6 (keeping the CLI work as intented)
All the versions till this is at https://github.com/abhijithvijayan/website_old
I prefer next.js over gatsby for the awesome product it is and next supports SSG, SSR, file-based routing............

Closing.


Freeze of app in background on Yosemite

We are building messaging app and we need to alway keep connection and provide updates to app, but after couple of minutes Yosemite freeze app completely.
How to avoid this?

You can try to disable app suspension:
https://github.com/atom/electron/blob/master/docs/api/power-save-blocker.md#powersaveblockerstarttype


Support getting array element and other kinds of json path in get_json_object

Describe the bug
To align with vanilla spark.

A patch was proposed in https://github.com/oap-project/arrow/pull/149.
@jackylee-ch, please have a review and verify the functionality again. Thanks!

Fixed.


refactor remove load memlimit since it is never used

Proposed changes
It is needed to pick to branch 21, because we will depend on it to do spill disk.

run buildall

run cloudut


login problem

its shows "Instagram call checkpoint for this action" in igdm please help

Yep having the same problem, the program does nothing atm except showing errors on login :/


mysql: : Write 5041 beans in channel 0: Error 1390 (HY000): Prepared statement contains too many placeholders

What happened:
https://github.com/juicedata/juicefs/actions/runs/5174034823/jobs/9319904723
runner@fv-az794-769:~/work/juicefs/juicefs$ ./juicefs load mysql://root:root@(<IP_ADDRESS>)/test  2M_emtpy_files.dump
2023/06/05 06:52:01.542308 juicefs[2953] <INFO>: Meta address: mysql://root:****@(<IP_ADDRESS>)/test [interface.go:494]
2023/06/05 06:52:01.930637 juicefs[2953] <INFO>: Loading from file ... [dump.go:332]
2023/06/05 06:52:02.104711 juicefs[2953] <FATAL>: Write 5041 beans in channel 0: Error 1390 (HY000): Prepared statement contains too many placeholders [sql.go:3761]

runner@fv-az794-769:~/work/juicefs/juicefs$
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
Cloud provider or hardware configuration running JuiceFS:
OS (e.g cat /etc/os-release):
Kernel (e.g. uname -a):
Object storage (cloud provider and region, or self maintained):
Metadata engine info (version, cloud provider managed or self maintained):
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Others:

Fixed by #3757


Improve handling of stale homebrew/core clones

brew gist-logs <formula> link OR brew config AND brew doctor output
$ brew config
HOMEBREW_VERSION: 4.1.2-15-gf56f27b
ORIGIN: https://github.com/Homebrew/brew
HEAD: f56f27b0d65968edbb9d22b56db13021ca6ac56d
Last commit: 38 minutes ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: dd0746f4307228e1cd5d35c74ece2b6c9efbd911
Core tap last commit: 3 weeks ago
Core tap branch: master
Core tap JSON: 27 Jul 15:50 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.88.1 => /usr/bin/curl
macOS: 13.4.1-arm64
CLT: <IP_ADDRESS>.1.1683849156
Xcode: 14.3.1
Rosetta 2: false

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Verification

[x] My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.
[X] I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?
Note: as seen above, my brew doctor does output some warnings, but these are all PHP-related which is not dependent on Python.
Install<EMAIL_ADDRESS>as a dependency of brew install aws-sam-cli.
Interestingly, the installer is looking for setuptools-67.6.1-py3-none-any.whl:
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>
Navigating to the directory, I see a similarly-named file:
$ ls<EMAIL_ADDRESS>pip-23.2.1-py3-none-any.whl		setuptools-68.0.0-py3-none-any.whl

Renaming this file to match the file it's looking for then yields a missing pip-23.0.1-py3-none-any.whl:
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>
Renaming pip-23.2.1-py3-none-any.whl to this filename then yields a missing wheel-0.40.0-py3-none-any.whl:
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>
I don't use Python outside of this so I'm not really sure what these errors are even about, but it seems like some sort of incorrectly-versioned dependency is being installed. I do have<EMAIL_ADDRESS>installed successfully.
What happened (include all command output)?
$ brew install<EMAIL_ADDRESS>Running brew update --auto-update...
==> Auto-updated Homebrew!
==> Updated Homebrew from 4c612ab32 to f56f27b0d.
No changes to formulae or casks.
==> Fetching<EMAIL_ADDRESS>==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/manifests/3.11.4_1-1
##################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/blobs/sha256:0b34eff80378cb1157e1fefee56a89160e7a805226c32a2f24b09d5d17c1710e
##################################################################################################################################### 100.0%
==> Pouring<EMAIL_ADDRESS>==><EMAIL_ADDRESS>-Im ensurepip
==><EMAIL_ADDRESS>-Im pip install -v --no-deps --no-index --upgrade --isolated --target=/opt/home
Last 15 lines from<EMAIL_ADDRESS>dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 643, in _prepare_linked_requirement
hash = hash_file(local_file.path)[0].hexdigest()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/utils/misc.py", line 616, in hash_file
with open(path, "rb") as f:
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>Warning: The post-install step did not complete successfully
You can try again using:
brew postinstall<EMAIL_ADDRESS>==> Caveats
Python has been installed as
/opt/homebrew/bin/python3
Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed into
<EMAIL_ADDRESS>You can install Python packages with
pip3 install
They will install into the site-package directory
/opt/homebrew/lib/python3.11/site-packages
tkinter is no longer included with this formula, but it is available separately:
brew install<EMAIL_ADDRESS>gdbm (dbm.gnu) is no longer included in this formula, but it is available separately:
brew install<EMAIL_ADDRESS>dbm.ndbm changed database backends in Homebrew Python 3.11.
If you need to read a database from a previous Homebrew Python created via dbm.ndbm,
you'll need to read your database using the older version of Homebrew Python and convert to another format.
dbm still defaults to dbm.gnu when it is installed.
For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺<EMAIL_ADDRESS>3,281 files, 61.9MB
==> Running brew cleanup<EMAIL_ADDRESS>Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
$ brew postinstall<EMAIL_ADDRESS>==> Postinstalling<EMAIL_ADDRESS>==><EMAIL_ADDRESS>-Im ensurepip
==><EMAIL_ADDRESS>-Im pip install -v --no-deps --no-index --upgrade --isolated --target=/opt/homebrew/lib/python3.11/site-packages<EMAIL_ADDRESS><EMAIL_ADDRESS>Last 15 lines from<EMAIL_ADDRESS>dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 643, in _prepare_linked_requirement
hash = hash_file(local_file.path)[0].hexdigest()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pip/_internal/utils/misc.py", line 616, in hash_file
with open(path, "rb") as f:
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>Warning: The post-install step did not complete successfully
You can try again using:
brew postinstall<EMAIL_ADDRESS>What did you expect to happen?
Successful install with no errors.
Step-by-step reproduction instructions (by running brew commands)
brew update
brew upgrade
brew install<EMAIL_ADDRESS>brew postinstall<EMAIL_ADDRESS>

you did not see the warning message about your stale homebrew/core clone

@carlocab is this something we've ever done? Agreed the others were bugs.

your homebrew/core clone is not being updated even if brew developer is on

Should be resolved by https://github.com/Homebrew/brew/pull/15780. Looking at post_install now.

postinstall is using a stale homebrew/core clone

Should be resolved by https://github.com/Homebrew/brew/pull/15781

Y'all are awesome 🔥


libcanard refers to nonexistant sources

During CMake migration I found it refers to sources not present on libcanard repo: canard_nuttx.c and .h
Maybe this was actually using a fork?

The script downloads an old version that had those files: https://github.com/UAVCAN/libcanard/tree/5ad65c6a4efda60cda7a8f0512da0f465822bbb8/drivers/nuttx

If it will build with the legacy-v0 branch that is what should be used. If not we should work on making it work legacy-v0.

The script downloads an old version that had those files: https://github.com/UAVCAN/libcanard/tree/5ad65c6a4efda60cda7a8f0512da0f465822bbb8/drivers/nuttx

You're right. I didn't realize it was in a subdirectory.


use connection count in getnetworkinfo instead of getpeerinfo

ref: https://github.com/btcsuite/btcd/pull/1800

Codecov Report

Merging #26 (3294f10) into main (4a213e5) will decrease coverage by 3.92%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   27.73%   23.80%   -3.93%
==========================================
  Files           1        1
  Lines         119      105      -14
==========================================
- Hits           33       25       -8
+ Misses         81       77       -4
+ Partials        5        3       -2

Impacted Files
Coverage Δ

mackerel-plugin-bitcoin.go
23.80% <100.00%> (-3.93%)
:arrow_down:

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 4a213e5...3294f10. Read the comment docs.


⚠ Bofrost.nl has degraded performance

In 7df235c, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1135 ms

Resolved: Bofrost.nl performance has improved in 7cfbf0e after 10 minutes.


Comic Book Mime Types

Is your feature request related to a problem? Please describe
As it is expected to be able to open files located on the host system in the next release, I anticipate and ask you to be careful to manage two Type Mimes currently managed by ChromeOS and which are specific to Comic Books.
Describe the solution you'd like
The new mime types to support are:
application/vnd.comicbook+zip
application/vnd.comicbook-rar
They correspond to the file extensions cbz and cbr
<intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="content" />

                <data android:mimeType="application/vnd.comicbook+zip"/>
                <data android:mimeType="application/vnd.comicbook-rar"/>
</intent-filter>

Describe alternatives you've considered
These are the old historical mime types that are supported by all comic reader apps:
application/x-cbr
application/x-cbz
These two are quite rare and have no official alternatives, they are 7zip and Tar archives.
application/x-cb7
application/x-cbt
Please specify the version of Windows Subsystem for Android
2211.40000.11.0

We are not restricting any mime type, and the mime type is decided by Android framework by looking into the file extension.
If Android identifies the file as specific mimetype and the application support that mimetype, it will work on WSA.

Thank you!


internal/do not load test environment from the .m2 local repository

The test environment is generated to the test-environment.zip:

After running the test, the test-environment.zip is loaded from the .m2 local repository. It mustn't be loaded from the .m2 but from the /target folder, because after command: mvn package the test env is created to the /target.

Please when next it happens run the same command
mvn instal ... > out.txt
and send the out.txt to gather new information
del.txt


pkg/private/common: move IfIDType out of private/common and to its own package

Given that IfIDType represents generic interface IDs as used in segments distributed by the control service, it seems that it shouldn't be private either, even if it currently can be. So the new package isn't private.

This change is


Add parameter current frequency

Could you add one more parameter to the line - current frequency.

@oleggogol can you please provide me with an example screenshot of the entity containing this value?
Where exactly in the parameter line would you locate the frequency?

if I understood you correctly,
I am sending a screenshot:

@oleggogol the requested change is now available in the the prerelease 2.2.0-dev.1.
I will keep this issue open until it is officially released in the stable channel.

Thanks for the quick update.


Dependency management

Hi @gernest,
not very important but I thought I'd brought up adding a dependency manager like glide or dep. What's your take on it?

dep sounds good to me


UI focus indicator missing for keyboard navigation

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
v2.5.x and v3.0.x and master
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app?
Demo
What browser and OS are you using?
ChromeOS 85 stable
What are the manifest and license server URIs?
"Angel One" or any demo content
What did you do?

Play the content, then use the tab key to navigate to the UI controls
What did you expect to happen?
There should be some visual indication of what has keyboard focus
What actually happened?
No indicator appears

I'm working on it @joeyparrish

Thanks!

@joeyparrish can you please add the gsoc label over this issue?

I have a fix for this in review now.  Thanks, @CodeDotJS, for the PR that started the conversation and investigation into this.


Stopping the transcoder?

Can we make a public method to stop the transcoder? For example, if I am saving an HLS stream to file, I probably want to stop it gracefully before the event ends.

sound great,
but may be difficult


Update helm task test to use same repo

depends on PR #179
remove use of external repo to make changes to test easier in the future

looks like the test failed.

Needs pr #179 to be merged in first for this test to pass

/retest


--device cpu inference is single-threaded

only 1 thread is active during CPU inference
also it sometimes freezes when run like that :(

added
torch.set_num_threads(17)
to inference.py and it fixed the problem :)


Add support for Python

Could it also support Cython. Thanks!

Any progress on this?

Hi @lohmander, sorry to report that I made no progress on this.
I'm not familiar with Python, I've never used it actually so the motivation is lacking a little bit here.
Also, like for Rust or other languages, PR are welcome.
I'm going to have long flight very soon, so this will be an opportunity to work on this :)

Hi,
Gave a stab at this issue, I had a good surprise so far, it seems that without any modification the python support is not that bad.
See below a side by side comparison between vim (on the left) and atom (on the right).

@rakr Hi! Sorry for my inactivity. It does indeed look pretty good already! Seems like it'd only require some minor tweaks to take it to 100%. Unfortunately I won't have time to look at this for a couple of weeks (gonna be traveling). But might be able to take a look once I'm back.


how can i config if i to not autorised a mob to go outside ?

I see in your code plugin.cs that i can config probability for mob to go outside and disable, but i don't know how without modifying the code is it possible to do it by menuing ?

sorry, i find how to modify config with thunderstore have a good day


Transfer ownership to an Org

@defunctzombie You are in the envious position of having a super popular module with a long history. But it doesn't look like you have been able to keep this project properly maintained. The npm module hasn't been updated in 4 years, and this module no longer has all the same features that the core "util" module provides. As @CMCDragonkai points out, forking is undesirable because the fork would no longer have the coveted "util" package name on npm. Many of us would love to see some of the outstanding issues closed and PRs merged. Would it be possible to transfer stewardship from your personal Github account to a group org, as well as transfer the npm package ownership to a group? I know both @mikeal and @sindresorhus - who contributed to the promisify PR are well established member in the node.js community and would be responsible co-maintainers. I'm obviously lesser known but have co-maintained tree-kill which is also downloaded a lot and was in a similar situation two years ago when I offered to co-maintain it. I don't have a strong opinion about what org util should belong to (browserify? a new one?) or who the members are, I just would like it to be owned and maintained by the community so we can start merging some of the outstanding PRs.

@mikeal @sindresorhus do you want to take over maintaining?
I would also be happy with this module moving to the node.js organization.

I don't have a strong opinion about what org util should belong to (browserify? a new one?)

It should not belong to browserify.

I would also be happy with this module moving to the node.js organization.

You mean https://github.com/nodejs? That actually makes the most sense to me as well.

A simple solution is to also add extra maintainers.

Waiting for a response from the two names I referenced above; if you want to ping them about this.

I just pinged 'em. 🎺

Hey, I'd be happy to help maintain this too, as I'm fairly active in the browserify space these days.

@goto-bus-stop great! I have added you as a collaborator. I'll still gate the NPM publish until I've seen a few of the changes land and then can add you there as well! Just ping me as needed.

I am going to consider this issue closed for now.


ROX-24977: Ensure scanner is deployed in compatibility tests

Description
Check that scanner is deployed when running compatibility tests since some tests rely on scanner.
User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change
Ran compatibility tests, checked the artifacts, everything looks good as it should.

/test gke-version-compatibility-tests

/test gke-version-compatibility-tests

Compatibility tests passing, lets get the others green too.
/retest

/test gke-version-compatibility-tests

/test gke-version-compatibility-tests

/test gke-version-compatibility-tests

I've looked at the compatibility test failure and it's the good old TopNav failure.
The CertExpiryTest is passing with the new changes asserting that scanner is ready, see the artifacts and search for it.

It looks like there are still some errors in the log:
CertExpiryTest > Test Scanner cert expiry STANDARD_OUT
    12:20:29 | INFO  | CertExpiryTest            | CertExpiryTest            | Starting testcase: Test Scanner cert expiry
    12:20:30 | DEBUG | CertExpiryTest            | Helpers                   | Ran: ./scripts/ci/is-scanner-v2-available.sh stackrox
    Exit: 0
    Stdout: pod/scanner-86b4bb5449-tlqt6 condition met

    Stderr: ./scripts/ci/is-scanner-v2-available.sh: line 6: /tests/e2e/lib.sh: No such file or directory
    ./scripts/ci/is-scanner-v2-available.sh: line 13: info: command not found
    ./scripts/ci/is-scanner-v2-available.sh: line 14: wait_for_object_to_appear: command not found
    ./scripts/ci/is-scanner-v2-available.sh: line 15: wait_for_object_to_appear: command not found
    ./scripts/ci/is-scanner-v2-available.sh: line 16: info: command not found

and the CI is :x:.

/test gke-version-compatibility-tests

/test gke-version-compatibility-tests

/test gke-version-compatibility-tests

Okay, this time the build log looks good.
CertExpiryTest > Test Central cert expiry PASSED

CertExpiryTest > Test Scanner cert expiry STANDARD_OUT
    15:27:05 | INFO  | CertExpiryTest            | CertExpiryTest            | Starting testcase: Test Scanner cert expiry
    15:27:06 | DEBUG | CertExpiryTest            | Helpers                   | Ran: ./scripts/ci/is-scanner-v2-available.sh stackrox
    Exit: 0
    Stdout: INFO: Tue Oct  1 15:27:05 UTC 2024: Waiting for Scanner V2 deployment to appear in namespace stackrox...
    INFO: Tue Oct  1 15:27:05 UTC 2024: ** Scanner V2 is deployed in namespace stackrox
    pod/scanner-5d6fd797-wx8xf condition met

    Stderr:
    15:27:06 | INFO  | CertExpiryTest            | CertExpiryTest            | Ending testcase```

The failure of gke-qa-e2e-tests link is related to ROX-26311 and a potential fix has been merged already.

The failure of gke-qa-e2e-tests link is related to ROX-26311 and a potential fix has been merged already.

In that case I'm rebasing against master. If CI is green now I'll merge the PR.
/test gke-version-compatibility-tests


Added a else block to avoid Crashing

Thank you for your contribution.
Before submitting this PR, please make sure:

[ ] PR description and commit message should describe the changes done in this PR
[ ] Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
[ ] Latest Code from master or specific release branch is merged to your branch
[ ] No unwanted\commented\junk code is included
[ ] No new warning upon build solution
[ ] Code Summary\Comments are added to my code which explains what my code is doing
[ ] Existing unit test cases are passed
[ ] New Unit tests are added for your development
[ ] Sanity Tests are successfully executed for New and Existing Functionality
[ ] Verify that changes are compatible with all relevant browsers and platforms.
[ ] After creating pull request there should not be any conflicts
[ ] Resolve all Codacy comments
[ ] Builds and checks are passed before PR is sent for review
[ ] Resolve code review comments
[ ] Update the Help Library document to match any feature changes

Summary by CodeRabbit

Bug Fixes

Improved the reliability of status message display when message keys are not found.
Enhanced the formatting of status messages with arguments.
Ensured status messages are correctly logged and displayed in console when applicable.

Please change target branch to master as this fix won't be included in current beta


FW-861 Enable FSK-FEC 25kbps for TSCH link using 120ms slot duration

changed slot duration to 120 ms
disabled channel hopping
adapted EB portion to slot duration: use 4 for 120 ms or 10 otherwise.
adapted radio watchdog parameters to slot duration

Just fixed them, sorry forgot to undo the changes.

@minarady1 two things:
Is this PR the one we tested last week?
Could you confirm you are using a 160ms, but not a 120ms, since I saw comments in the code saying 120ms

@minarady1  I have left lots comments. It seems this PR is actually not ready yet. There are lots of things that not related what the title of this PR.  I will leave this PR for now. And resume to review when the comments are resolve. Sounds good?

Thanks Tengfei, sorry I was not pushing to git correctly and I pushed irrelevant changes to you. I will make a new push.

@minarady1 do you still want to keep this PR? As the timing for FSK will be in the PR FW-850.


Example of hyperlinked grid

Ref #277

Description
Example of how to create clickable link in Grid, use case is typical for drill-down scenario.
Fixes # (issue)
#277
Type of change

[ ] Bugfix
[x] Feature

Checklist

[x] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
[x] I have added a description following the guideline.
[x] The issue is created in the corresponding repository and I have referenced it.
[ ] I have added tests to ensure my change is effective and works as intended.
[ ] New and existing tests are passing locally with my change.
[x] I have performed self-review and corrected misspellings.

Additional for Feature type of change

[ ] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

 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.Lars Bruun-Hansen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks, @lbruun. Much appreciated!
We seem to have an issue with the build, I'll get that sorted out so we can get this merged asap.


test: executing skipped tests on CE

Executing skipped tests in CE

/ci-test-limit

/ci-test-limit


Removing an extension should close its sidebar if visible

This case is only present when extensions are opened inside a sidebar, as right-click on the browserAction button closes the popup with the default behaviour.

Issue fixed at https://github.com/ltilve/chromium/commit/607652975035c2458a43fa4970adba1049749a08


fix: Fixing networkwatcher kql file name and deactivating VPN recommendation from ExR Circuits

Overview/Summary
Network watcher query file name missing a character.
PRP Leadership decided to drop VPN recommendation from ExR Circuits.

Regarding the network watcher query file name, I already created an issue and a PR a week ago.

#346
#347

Hi @rodrigosantosms, please approve @tksh164's PR if you get a chance.


Always set 'RunAsNonRoot' explicitly on init container

Fix #1894
Always set RunAsNonRoot explicitly on webhook's init container. Before it was only set when its value was true.
This caused Init:CreateContainerConfigError status on some cases.
How to reproduce this

Deploy the operator in cloudNativeFullStack or applicationMonitoring
Deploy the deployment sample below
Check the pods status (kubectl get pod php-musl-.. -n sample -o yaml
See the error message

Deployment sample
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: php-musl
  name: 02-php-musl
  namespace: sample
spec:
  replicas: 2
  selector:
    matchLabels:
      app: php-musl
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        oneagent.dynatrace.com/technologies: php
        oneagent.dynatrace.com/flavor: musl
        oneagent.dynatrace.com/failure-policy: fail
      labels:
        app: php-musl
    spec:
      securityContext:
        runAsNonRoot: true
      containers:
        - image: docker.io/php:fpm-alpine
          securityContext:
            runAsUser: 0
            runAsGroup: 0
          imagePullPolicy: Always
          livenessProbe:
            failureThreshold: 3
            tcpSocket:
              port: 9000
            initialDelaySeconds: 600
            periodSeconds: 30
            successThreshold: 1
            timeoutSeconds: 2
          name: app
          env:
            - name: DT_DEBUGFLAGS
              value: debugBootstrapNative=true
          ports:
            - containerPort: 9000
              protocol: TCP
          readinessProbe:
            failureThreshold: 3
            tcpSocket:
              port: 9000
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 1
          resources:
            requests:
              memory: 64Mi
            limits:
              memory: 128Mi
      restartPolicy: Always
      terminationGracePeriodSeconds: 30

WIP: Fixing unit tests


[Question] Unable to add more than 3 buttons in ThumbnailCard

I am trying to create ThumbnailCard with 4 buttons (CardAction imBack). According to the documentation, both the Thumbnail and HeroCard have a limit of 5 buttons. But the card is not showing more than 3 buttons. Also i am unable to show complete text in card itself (around 100-200 characters).
Thanks
Sachin

What SDK are you using node/.NET, and what channel(s)?

i am using Node and Testing on Skype.

@Sachin-Intap According to the Skype documentation at https://dev.skype.com/bots - under section 6 "Cards and actions > CardActions > Hints and tips" it describes the limitations of the number of buttons that can be displayed depending on the other content included in the card.
The reason is because you can only use three buttons when including the other content like image, title, subtitle, text, etc.
Hints and tips

Cards can include up to 6 buttons, depending on how many other text and media elements are included:

Image, title, subtitle, text – 3 buttons
Title, subtitle, text – 5 buttons
Text or image only – 6 buttons

Thanks
"Title, subtitle, text – 5 buttons" will work here. But i am still unable to show complete text in card.


How can I configure chainWebpack on developing theme?

Question
Since the chainWebpack on PluginApi removed, is there any way to configure it on developing theme? Actually what I want is to enable jsx-next for vuepress-next

It's removed from plugin API because we want to decouple with webpack. It's still available in user config: bundlerConfig.chainWebpack.
Optional choices:

Provide a util function for theme users to set bundlerConfig.chainWebpack in their config file.

Pre-compile your theme files, so users do not need to compile them again when developing / building, which will speed up your theme.

We are planning to implement the second one in default theme.

A known issue is that, the layouts directory of your theme only accept .vue files for now. We'll modify the layout resolving in alpha stage.

BTW, we have migrated to esbuild-loader, and the tsx support is enabled. But it has not been tested.

https://github.com/vuepress/vuepress-next/blob/main/docs/reference/bundler/webpack.md#chainwebpack


Add :appname/ to the precompile list instead of */:appname/. refs #51.

As discussed with @rwz in #51, this commit no longer causes subfolders with the same name as an app to be compiled.

Released 0.0.17


Remove remnants of bitcoin v0.29

Follow-up to #2356
We've migrated almost all of the codebase to bitcoin v0.30, but there are a few places remaining where we're using v0.29 which require some more care to remove:

PartiallySignedTransaction no longer implements Encodable or Decodable, which is why we're currently converting to/from the v0.29 version when encoding/decoding:

https://github.com/fedimint/fedimint/blob/93c23e154b4faf27e5b3835696d381fd190cabf5/fedimint-core/src/encoding/btc.rs#L48-L67
Ideally we would be able to use impl_encode_decode_bridge!(bitcoin::psbt::PartiallySignedTransaction); like we did prior to the migration to v0.30 but I'm not sure how feasible that is.

bitcoin::network::constants::Magic is encoded/decoded in reverse byte order to v29 (which doesn't have a struct, but instead just uses a u32). See here for details:

https://github.com/fedimint/fedimint/blob/93c23e154b4faf27e5b3835696d381fd190cabf5/fedimint-core/src/bitcoin_migration.rs#L15-L39

bitcoin::hashes::hex::format_hex was removed in v30. For simplicity, we've simply left v29 around to rely on this single function. Let's find a way to retain this behavior without needing v29.

Fixed by #6326


Inventory splitting

Added support to split items and support for putting gold in purses/chests and bags

We need to make sure that the alembic head will not split in multiple parts, please make changes to the revision number upgrade/downgrade as needed if the model file changes before the merge