[BUG] Not Adding Up All Points Correctly

Describe the bug
"Points are wrongly calculated imo (says 23 but I should have 70) and it says that I'm not considered as a human meanwhile I see a stamp "verified human""
To Reproduce
This maybe because already meets human amount
Expected behavior
points to show totla number of points
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
crans.near

@codingshot the copy for description is wrong but the score is correct. The calc is an avarage of (sum amount of checks) / total checks.

The score should be the total score (not the average)

Right. I'll change it.

Still looking at an average. Pls make me human.

Looks a lot better. Many thanks!!


Better naming of variable options in placeholder legend

The placeholder legend at the right side of the frontend function editor contains a list of variables at the bottom.
At the moment the selectable options for inserting variable code snippets are "Read" and "Update".
This is the same as the options for collections.
But I think it would be more suitable to use "Read value" and "Write value" as this naming is also used for form fields.

Makes more sense this way, agreed. Is implemented.


Cannot Download on Mac M1

@ksugar I am having issues downloading cellsparse on my Mac M1 using the instructions provided. I get the following error:
Building wheel for stardist-sparse (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for stardist-sparse (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [152 lines of output]
:4: DeprecationWarning:
    `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    of the deprecation of `distutils` itself. It will be removed for
    Python >= 3.12. For older Python versions it will remain present.
    It is recommended to use `setuptools < 60.0` for those Python versions.
    For more details, see:
      https://numpy.org/devdocs/reference/distutils_status_migration.html

  /private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          By 2025-Mar-03, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running bdist_wheel
  running build
  running build_py
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/version.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/rays3d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/sample_patches.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/nms.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/__init__.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/matching.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/bioimageio_utils.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/utils.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  copying stardist/big.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/plot
  copying stardist/plot/plot.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/plot
  copying stardist/plot/render.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/plot
  copying stardist/plot/__init__.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/plot
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/models
  copying stardist/models/model3d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/models
  copying stardist/models/model2d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/models
  copying stardist/models/__init__.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/models
  copying stardist/models/base.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/models
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/scripts
  copying stardist/scripts/__init__.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/scripts
  copying stardist/scripts/predict2d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/scripts
  copying stardist/scripts/predict3d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/scripts
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/geometry
  copying stardist/geometry/__init__.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/geometry
  copying stardist/geometry/geom3d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/geometry
  copying stardist/geometry/geom2d.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/geometry
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/data
  copying stardist/data/__init__.py -> build/lib.macosx-11.1-arm64-cpython-311/stardist/data
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/kernels
  copying stardist/kernels/stardist2d.cl -> build/lib.macosx-11.1-arm64-cpython-311/stardist/kernels
  copying stardist/kernels/stardist3d.cl -> build/lib.macosx-11.1-arm64-cpython-311/stardist/kernels
  creating build/lib.macosx-11.1-arm64-cpython-311/stardist/data/images
  copying stardist/data/images/mask2d.tif -> build/lib.macosx-11.1-arm64-cpython-311/stardist/data/images
  copying stardist/data/images/mask3d.tif -> build/lib.macosx-11.1-arm64-cpython-311/stardist/data/images
  copying stardist/data/images/img3d.tif -> build/lib.macosx-11.1-arm64-cpython-311/stardist/data/images
  copying stardist/data/images/img2d.tif -> build/lib.macosx-11.1-arm64-cpython-311/stardist/data/images
  copying stardist/data/images/histo.jpg -> build/lib.macosx-11.1-arm64-cpython-311/stardist/data/images
  running build_ext
  building 'stardist.lib.stardist2d' extension
  >>> compiling with '-fopenmp' failed
  building 'stardist.lib.stardist2d' extension
  >>> compiling with '-Xpreprocessor -fopenmp' failed
  >>> compiling with OpenMP support failed, re-trying without
  building 'stardist.lib.stardist2d' extension
  Traceback (most recent call last):
    File "/opt/anaconda3/envs/cellsparse-api/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/opt/anaconda3/envs/cellsparse-api/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/anaconda3/envs/cellsparse-api/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 438, in build_wheel
      return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 426, in _build
      return self._build_with_temp_dir(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 407, in _build_with_temp_dir
      self.run_setup()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
      exec(code, locals())
    File "<string>", line 80, in <module>
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 183, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
      dist.run_commands()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
      self.run_command(cmd)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 995, in run_command
      super().run_command(command)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/command/bdist_wheel.py", line 381, in run
      self.run_command("build")
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 995, in run_command
      super().run_command(command)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 995, in run_command
      super().run_command(command)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 99, in run
      _build_ext.run(self)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
      self.build_extensions()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 476, in build_extensions
      self._build_extensions_serial()
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 502, in _build_extensions_serial
      self.build_extension(ext)
    File "<string>", line 53, in build_extension
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 264, in build_extension
      _build_ext.build_extension(self, ext)
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 557, in build_extension
      objects = self.compiler.compile(
                ^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/numpy/distutils/ccompiler.py", line 89, in <lambda>
      m = lambda self, *args, **kw: func(self, *args, **kw)
                                    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/numpy/distutils/ccompiler.py", line 272, in CCompiler_compile
      jobs = get_num_build_jobs()
             ^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/numpy/distutils/misc_util.py", line 91, in get_num_build_jobs
      from numpy.distutils.core import get_distribution
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/numpy/distutils/core.py", line 24, in <module>
      from numpy.distutils.command import config, config_compiler, \
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/numpy/distutils/command/config.py", line 19, in <module>
      from numpy.distutils.mingw32ccompiler import generate_manifest
    File "/private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-build-env-xia83o31/overlay/lib/python3.11/site-packages/numpy/distutils/mingw32ccompiler.py", line 28, in <module>
      from distutils.msvccompiler import get_build_version as get_build_msvc_version
  ModuleNotFoundError: No module named 'distutils.msvccompiler'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for stardist-sparse
Building wheel for cellpose (setup.py) ... done
Created wheel for cellpose: filename=cellpose-0.1.dev621+g5098105-py3-none-any.whl size=170599 sha256=0b99bf4b32336f24a8f2cd3024909dfdadd64a520a651db665f631442d56e0e7
Stored in directory: /private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-ephem-wheel-cache-30twmsan/wheels/31/4b/46/91befb9700a702f1a673e1722ca9db17b37e6a8002bf53353c
Building wheel for elephant (setup.py) ... done
Created wheel for elephant: filename=elephant-0.5.2-py3-none-any.whl size=69492 sha256=a753c8f735ba35a9acc095b4521b6d0abcb9c33842dbe2af6b17efe752f8d636
Stored in directory: /private/var/folders/pv/1b4v_5xx1zdcx6nfk94r99scvc5cld/T/pip-ephem-wheel-cache-30twmsan/wheels/a9/b1/bf/091cb728623cdf01d15767a8c88977adf5ff26dba7255f03b0
Successfully built cellsparse-api cellsparse cellpose elephant
Failed to build stardist-sparse
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (stardist-sparse)

@ksugar I downgraded python to 3.10 and was able to install. However, then I cannot launch the server and get the following error:
Traceback (most recent call last):
File "/opt/anaconda3/envs/cellsparse-api/bin/uvicorn", line 8, in
sys.exit(main())
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/main.py", line 412, in main
run(
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/main.py", line 579, in run
server.run()
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/server.py", line 66, in run
return asyncio.run(self.serve(sockets=sockets))
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/server.py", line 70, in serve
await self._serve(sockets)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/server.py", line 77, in _serve
config.load()
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/config.py", line 435, in load
self.loaded_app = import_from_string(self.app)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/uvicorn/importer.py", line 19, in import_from_string
module = importlib.import_module(module_str)
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/cellsparse_api/main.py", line 3, in
from cellsparse_api.routers import (
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/cellsparse_api/routers/cellpose_router.py", line 6, in
from cellsparse.runners import CellposeRunner
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/cellsparse/runners/init.py", line 2, in
from cellsparse.runners.stardist_runner import StarDistRunner
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/cellsparse/runners/stardist_runner.py", line 4, in
from stardist.models import (
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/stardist/init.py", line 15, in
from .geometry import star_dist,   polygons_to_label,   relabel_image_stardist, ray_angles, dist_to_coord
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/stardist/geometry/init.py", line 5, in
from .geom2d import star_dist, relabel_image_stardist, ray_angles, dist_to_coord, polygons_to_label, polygons_to_label_coord
File "/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/stardist/geometry/geom2d.py", line 11, in
from ..lib.stardist2d import c_star_dist
ImportError: dlopen(/opt/anaconda3/envs/cellsparse-api/lib/python3.10/site-packages/stardist/lib/stardist2d.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '___kmpc_critical'


Release v0.26.0

Rebundle telemetry into builds when configured.
Use EventBridge scheduler for AWS

Codecov Report
Patch and project coverage have no change.

Comparison is base (8ff98f0) 54.66% compared to head (09e51a7) 54.66%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #432   +/-   ##
=======================================
  Coverage   54.66%   54.66%
=======================================
  Files          24       24
  Lines        1586     1586
=======================================
  Hits          867      867
  Misses        653      653
  Partials       66       66

Flag
Coverage Δ

unittests
54.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


feat(ssr): delay sending endtags to right before closing stream

I was trying to add a <script type="application/jd+json"> to my page, with the onCompleteAll callback, but when streaming, everything that gets written after the shell appears after the  closing tags. It does work, but according to the HTML spec it does result in a parse error^after-after-body.
This is typically not a problem with browsers, they handle this gracefully, but it may be a problem with search engine crawlers. User agents may just abort the parser. This PR delays sending everything after the </body> end tag until right before it closes the stream.
We could also make it a bit more smart and remove the </body> and </html> tags instead and place them at the end. If someone then happens to render some data after the body or html end tag, it would show up in the body, just like the browser would parse it anyways.

Yeah I probably hadn't hit this because with async/or defer stream all the resources I think it ends up in the right order. Which I'd use in no-JS or crawler scenarios. And basically leveraging the self healing aspect of HTML has been the trick streaming in general I've never thought about it much. This is probably worth considering.

Closing this as solid now allows per-request decision to do either async or stream rendering, which can be used to async render for bots/crawlers, which satisfies my use case


Unable to deploy using the drone cli

Our application's drone.yaml file is currently in drone v0.8.0 and has yet to be migrated to v1.0.0. My drone cli is version 1.1.0. Do I need to downgrade my drone cli to v0.8.0 or is this backwards compatible? Both drone deploy and drone build promote dont work, I get this error: invalid character '<' looking for beginning of value. Can anyone provide some support on this?

:wave: hey there, per our issue template, for end-user support please use one of our support channels, such as our chatroom or our mailing list.

see https://discourse.drone.io/t/drone-orgsecret-add-failing-on-windows/4832/2


""` syntax suggestion

I really don't want this to just become a String.dedent() function so I'll give this suggestion a friend from a discord server came up with:
{
	let str0 = """
		no expression dedented string
	"""

	let str1 = ""`
		${expression}s allowed dedented string
	`""
}

(the " can be interchangeable with ')
this is currently always a syntax error and so should be completely backwards compatible

Not so far than Python
a = """Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua."""
print(a)

or F#
let x = """
myline1
myline2
myline3"""

Thanks for the suggestion! I don't personally love it this syntax, but I think the several attempts to come up with a syntax by community members points to a strong desire for some syntax form. I'll bring this up as a possibility in the next presentation.

I'm collapsing this into https://github.com/tc39/proposal-string-dedent/issues/40 so that we can collect all syntax discussions in one place.


Stuck Mise with flag --verbose

Describe the bug
If you add an environment variable in the env table (in the .toml file), the value of which is computed through the command, then when you call any mise command with the --verbose flag, everything hangs on this line:
[DEBUG] ARGS: /Users/ernest0n/.local/bin/mise install --verbose

If you remove the --verbose flag, there are no problems, the values of computed variables are determined correctly.
To Reproduce

Add a line to the tool file:

[env]
MY_VARIABLE = "{{ exec(command:'echo 123') }}"

Run mise install --verbose

Expected behavior
Executing the command does not freeze
mise doctor output
version: 2024.3.1 macos-arm64 (0d95fde 2024-03-04)
activated: yes
shims_on_path: no

build_info:
  Target: aarch64-apple-darwin
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Mon, 4 Mar 2024 22:02:06 +0000
  Rust Version: rustc 1.76.0 (07dca489a 2024-02-04)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-apple-darwin22.0)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/Library/Caches/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml
  ~/Projects/okko/okkoios/Gemfile
  ~/Projects/okko/okkoios/.mise/config.toml

plugins:
  bun        (core)
  bundler    https://github.com/jonathanmorley/asdf-bundler.git#a461ac4
  deno       (core)
  go         (core)
  java       (core)
  node       (core)
  python     (core)
  ruby       (core)
  swiftgen   https://github.com/younke/asdf-swiftgen.git#072ce84
  swiftlint  https://github.com/klundberg/asdf-swiftlint.git#79f2c6e
  tuist      https://github.com/asdf-community/asdf-tuist.git#6bfab6d
  xcodes     https://github.com/younke/asdf-xcodes.git#9f037bf

toolset:
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>

env_vars:
  MISE_SHELL=zsh

settings:
  activate_aggressive = true
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = false
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_compile = false
  python_default_packages_file = "/Users/ernest0n/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = true
  ci = false
  debug = false
  trace = false
  log_level = "info"
  python_venv_auto_create = false

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

Additional context
The reason why I need to use computed env variables:
I want to install ruby by explicitly passing the path to openssl installed via brew.
To do this I need to set the value of the RUBY_CONFIGURE_OPTS variable (using ruby-build) in the value of which I need to insert the result of the command brew --prefix openssl@3

I updated to the latest version (2024.3.8) and the problem is still there


Native extensions are deleted during build and can not be used

Reference: https://github.com/kontena/pharos-cluster/issues/823#issuecomment-440645953
It's entirely possible that I don't understand the build process correctly, but to me it seems like https://github.com/pmq20/ruby-packer/blob/master/lib/compiler.rb#L860-L862 is deleting all the *.{a,dylib,so,dll,lib,bundle} from the squashfs filesystem, which,  I believe, include the compiled output of native extensions?
When I look inside the squashfs, I can see the gem extension dir indeed does not contain the *.bundle:
puts Dir.glob('/__enclose_io_memfs__/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/bcrypt-3.1.12/**/*').join($/)
/__enclose_io_memfs__/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/bcrypt-3.1.12/gem.build_complete
/__enclose_io_memfs__/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/bcrypt-3.1.12/gem_make.out

On my local system there's bcrypt_ext.bundle in there too.
And as it is not there in the squashfs, if I do require 'bcrypt', which does require 'bcrypt_ext', the program dies and says:
/__enclose_io_memfs__/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- bcrypt_ext (LoadError)

Can confirm that modifying the lines referenced above to skip ruby extension directories does fix the problem.

did you use rubyc version v0.4.0?

@iamsimakov No, one compiled from master.

so, just try it, master branch is unstable maybe )


dash doesn't like the yahoo page

When using scrape_yahoo on debian with sh linked to dash 0.5.7, the output file is empty most of the time.
Testing
sh -c 'echo "$(wget https://help.yahoo.com/kb/SLN23997.html -q -O -)"'
mostly gives an incomplete page (output stops somewhere in the css styles). Without the echo and $() there is nothing missing.
I assume this is due to some Unicode characters or null bytes that dash doesn't like, changing shebang to bash solves the problem for me. Using a pipe directly between wget to grep seems to work too, but maybe there is a cleaner solution.

I can confirm that this happens consistently. The shebang interpreter should be changed to /bin/bash to solve this issue. In the meantime, if anybody else looks for the soluton, you can run the scrape_yahoo script from cron by running it via bash <path-to>/scrape_yahoo.

Hi, @drybjed. The original script was re-written a while ago to rely on /bin/sh instead of Bash so that it could run on more systems. I can't replicate the issue, since I'm running the script on a CentOS box and /bin/sh seems to be parsing the Yahoo data fine.
Any other suggestions for fixing the problem for Debian users while still keeping the script as "universal" as possible?

Downloading to a temporary file might be an option - wget/curl can write directly to files, grep can read from files, so no redirection from the shell would be needed.

If /bin/sh != bash then scrape_yahoo does not work as it is a bash script and not e.g. a dash script.


Add Rails/HashKeyValueRoute cop

This is a cop for the routing style deprecated by the following pull request:

https://github.com/rails/rails/pull/52422

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[ ] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

FYI, it was reverted in rails/rails@5c0b7496ab32c25c80f6d1bdc8b32ec6f75ce1e4

As shown in the information provided by @zzak, the deprecation was reverted. Since the reason for prioritizing this syntax is now unclear, I will close this. Thank you for opening this PR.


Pr/0000 mqtt ping rsp

Added event for MQTT ping response and showed it in application.
While TCP packets may be dropped because of the TCP timeout on NAT firewall (which is ubiquitous in IoT), the TCP link may be invalidated without any disconnection. The introduced event can help application to learn whether the TCP link is still valid.

@pkchan : Can you please edit the title of this PR to describe its purpose/content?


Use object type with name matching entity name by default

Is your feature request related to a problem?
When I added a second object type for ObjectType<User>, named ActiveUser, in addition to the existing User object type, my existing queries returning IQueryable<User> and Task<User?> started returning the ActiveUser object type.
(13.0.0-preview.52)
The solution you'd like
I assume that the engine finds two object types mapped to the User entity – if so, it should select the object type with a name matching the entity type by default. f.e., if the entity type is User and there is an object type with the same name (User), then use that object type, otherwise ...
... maybe it should also throw when there's no matching object type and there is more than one object type mapped to the same entity? Just selecting an arbitrary object type from a list seems unexpected.

Entity type
Object type(s)
Use object type

User
User
User

User
AppUser
AppUser (only one matching type)

User
User, AppUser
User (name matches)

User
PrivateUser, PublicUser
(exception)

Product
Hot Chocolate

I think it's rare that the type and the entity are named exactly the same. I think inferring here does more harm then good. For example if you were to rename the entity you would suddenly get a different object type.
You are using the Analyzer that's registering the types automatically, right? I think this is where the issues lies. Normally you don't have this problem, since you can just register one "default" type and specify the other types explicitly for certain fields.
IMO it would be better to just introduce a heuristic through which the analyzer determines the default type to register. This default type of entity X is then automatically applied to all return types of entity X. If you have a second type for entity X you need to explicitly set the field returning entity X to be of that second type. I think this would be the "safest" route to go.
@michaelstaib what do you think?

I think it's rare that the type and the entity are named exactly the same.

Really? I expected the opposite. 🙂

For example if you were to rename the entity you would suddenly get a different object type.

Only if one existed. Also the type selection is already unpredictable, based on whichever type was added last (I think).

You are using the Analyzer that's registering the types automatically, right?

Correct ...
public static IRequestExecutorBuilder AddApplicationTypes(this IRequestExecutorBuilder builder)
{
    builder.AddTypeExtension<Application.Modules.Users.Mutations.UserMutations>();
    builder.AddTypeExtension<Application.Modules.Users.Types.UserQueries>();
    builder.AddType<Application.Modules.Users.Types.UserProfileType>();
    builder.AddType<Application.Modules.Users.Types.UserType>();
    builder.AddType<Application.Modules.Core.Types.CountryType>();
    builder.AddType<Application.Modules.Users.Types.ActiveUserType>();
    return builder;
}

Is there any way to set a default type, so that I don't have to do ugly stuff like [GraphQLType("[User!]")] or [GraphQLType(nameof(User))] on all queries?
I thought that something like .BindRuntimeType<User>("User") might work, but it doesn't.
The only other option that I can think of would be to actually create an ActiveUser entity, and somehow map that to the same DB table without duplicating mapping data. Not even sure if that is possible yet.

Adding the ability to specify a default type was what I was proposing above 😅
I think at the moment you sadly have to specify the type explicitly...

I found a workaround:
    .AddType<UserType>()
    .AddApplicationTypes()

i.e. Manually register the type that you want to be the default, and then call the Add*Types method.
I still think the default behaviour could be more defensive, and throw when there is more than one type registered with no default set.

With default you mean which type is binding Implicitly?

One potential runtime issue here would be that, if you combined ActiveUser and User into a union the GraphQL engine would no longer be able to infer the type from the runtime type and you would be forced to implement the IsOfType resolution ... same goes for interfaces.

With default you mean which type is binding Implicitly?

Well, if there's a way to specify which of multiple types is bound to the runtime type, then it becomes explicit. It can remain implicit when there's only one type. I guess that BindRuntimeType can't be used for this purpose?

One potential runtime issue here would be that, if you combined ActiveUser and User into a union the GraphQL engine would no longer be able to infer the type from the runtime type and you would be forced to implement the IsOfType resolution ... same goes for interfaces.

Not sure if I understand, but a union would probably require a separate runtime type for ActiveUser anyway?

In GraphQL you can have unions an interfaces ... like
union Users = User | ActiveUser

If they have the same runtime time then there is no way for the GraphQL engine to pick a winner. This is done by calling IsOfType on the GraphQL type. So if there is a a property that can distinguish between the two states or something from the resolver context then this is possible again. But if you do not take care of things like this you will get impossible runtime behavior.

@glen-84 Not really. You can define interfaces and unions without a common runtime type. Best example for this is the node field. In the relay case i think we can make it work as we encode the type in the IDs. But this one for example can become tricky
type User {username: String}
type ActiveUser {username:String}

union Users = User | ActiveUser

type Query { users: [Users] }

{
    users {
        ... on ActiveUser { username }
       ... on User {username }
}

At the moment I am thinking of something like ...
public class FooType : ObjectType<Foo>
{
    protected override void Configure(IObjectTypeDescriptor<Foo> descriptor)
    {
         descriptor.BindTypeExplicitly()
    }
}

we already have a mechanism like this for the scalar.
If we add the same behavior to the object types then also BindRuntimeType would make sense for these types.
BindRuntimeType could than be used to force casting or conversion behavior.

📌

📌


Regular

Regular Category, Epi and Mono morphisms.  Needed for Pretopos.

Should we maybe pull the Regular morphisms into records? Seems like it might be a bit easier to work with long term.

Good point. [And exactly why I'm now switching to doing PRs myself, to get this kind of feedback.]


Filtering is not happening for range_number

Hi,
I'm trying to use range_number in my data table. It seems like it's not working.
Below is test page created.
JSFiddle - http://jsfiddle.net/UvjnT/3289/
Please suggest me if I'm missing anything

remove the searching: false, , it disables the searching ability in your table
in case of further question related to datatables you their forum / stackoverflow


apt-key is deprecated

I'm following along with the guide and when I come to run the first wget command
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
The command completes with an error simply stating apt-key is deprecated.
I'm running Ubuntu 20.04 on a Raspberry Pi

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

ID: 5634d572-0020-808b-693a-13addc8861d9
Version Independent ID: 136bab7d-d4d1-1e82-ba89-be2020bc784b
Content: Ubuntu: Install SQL Server on Linux - SQL Server
Content Source: docs/linux/quickstart-install-connect-ubuntu.md
Product: sql
Technology: linux
GitHub Login: @VanMSFT
Microsoft Alias: vanto

@amvin87 - Hey Amit, can you please help with this? It looks like we need to re-work the quickstart for apt-key add. Thanks!
#reassign:amvin87

You cannot install SQL Server on ARM like (Raspberry Pi), if you want to install SQL Server on Raspberry pi, please run SQL edge which is supported on ARM. https://azure.microsoft.com/en-in/products/azure-sql/edge/#features

As apt-key add still works for our supported platforms, I am closing this issue for now.


Reduce time delay between header and rest of the plot.

While this may be strictly less efficient, it makes the header to be plotted roughly at the same time to the rest of the plot, which makes seamless transitions when updating the chart by just re-plotting on top. (otherwise you see the title for a split of a second and then the rest).
When plotting with a loop and a complex enough chart (with title) it should be apparent, you fit the terminal to be exactly on the size of the plot, expecting a clean update, but you get a tittle first and then the rest, breaking the stream-like plotting experience.

Hi @PabloRuizCuevas thanks for the PR! 😄
I like the idea, especially if I imagine streaming the output to a log analysis platform like Splunk, then you would like all the lines in the plot to have exactly the same time stamp, not just a similar one.
Let me think about the best way to do this, with the least amount of code duplication. (Your code breaks interactive mode, I think, but I will test.)

Nice, I made very cool looking plots of market order books so far, with this change it looks fantastic how they update without you to realize that the entire new plot is being generated, maybe i find the way of uploading a gif here.

There is a small amount of hacking in this plot for getting the colors etc right.
Thinking it a bit more, I see that you are already erasing the previous lines in the interactive mode, which may open the door to update the data of the plot without generating more and more plots in the terminal. What I was doing now is fitting the terminal to the size to ensure I don't see the old ones, but with a clean update, the size of the terminal won't matter.
Tell me if I can help implementing any of this things.

Hi, I was looking at the code and the issue you raised with the interactive mode, I reworked it and test that the interactive mode still works.
Also changed a bit the structure that may facilitate a bit a possible update/ generator function.

A possible updater would look like this:
def plot_gen(**kwargs):
    """

    """
    ys, xs, n_kwargs = yield
    while True:
        series: MultiSeries = MultiSeries(xs=xs, ys=ys)
        options: Options = validate_and_transform_options(series=series, kwargs=kwargs)
        print(_generate_plot_str(series, options))
        ys, xs, n_kwargs = yield
        if n_kwargs:
            kwargs.update(n_kwargs)
        _erase_previous_lines(options)

gen = plot_gen(title='test')
next(gen)
gen.send([1,2,5,3,2])
gen.send([1,2,5,3,2], {'title'='new title'})

but I let it out of this pr as is getting long, and this would be a change in the external api of the library, so better to make another pr for it.

I finally had a look and think I found a way to make your idea work without loss of efficiency / duplicate computation. It's now live as v0.12.8. Feel free to take a look!
Thanks so much again for the idea and initiative! Sorry that I did not end up using the actual commits, but all credit to you!


ChainDB now inherits from HeaderDB to avoid duplication

ChainDB unnecessarily duplicated all methods from HeaderDB; by inheriting we avoid that duplication. More importantly, it allows us to use a HeaderDB in LightChainSyncer and a ChainDB in FastChainSyncer/RegularChainSyncer (#980)
Depends on #976

Can you rebase now that https://github.com/ethereum/py-evm/pull/976 is merged.

Rebased


Allow rewriting some parts of Texture2ds and CompressedTexture2ds

Adds Texture2d::write and CompressedTexture2d::write.
Close #417

Thank you for being so fast!
However, as you said it's probably faster to just generate a new texture every frame instead of editing existing ones.

I'll still merge this. Being able to write over an existing texture is useful too.


Meeting 2024-01-18

update readme with how to use the package
update readme with the instructions to run tests
make sure that .toml dependencies are up to date
include to show test coverage of functions

for submission:

create release with all commits made since last release
include link to repo and release itself in the pdf
release of week 2: 1.0.0


Accept "CI" environment variable

This is more of a nice to have thing. We can accept the env variable and later act on it, like setting --verbose flags, not using colors and failing instead of asking for interactive input

Out of scope


WIP: add fwd operator to somato dataset

Follows #5105

Can you push a commit that touches tutorials/plot_sensors_time_frequency.py or some other example that uses somato? Just fix some typo or some small formatting problem. It will cause CircleCI based on the git diff to build the example.

Is this still WIP? +1 for merge from me


ci: added linters

Currently both clippy and rustfmt are running
on nightly. Also the corresponding suggestions recommended
by clippy has been applied
( Probably should wait for a rebase after https://github.com/paperclip-rs/paperclip/pull/339 is merged )

I've merged #339

I've merged #339

Awesome, thank you. I guess this one should be fine as well.
I applied the fixes recommended by clippy + everything is running by default on nightly
( kept it the same as travis version, in case we need to migrate to stable, that would be really easy )


I can't find my ScreenRecording in Aves.

Answer to your question:
I can't find them in the app.
Hello there, I'm Win2 from Google PlayStore.
Here's the problem...
The phone I'm using is Infinix Note 12 G96.
I screen recorded a game I'm playing and when I saved it, the record doesn't appear in the gallery.
I went to my phone's file manager and opened the record there with Aves. It opened and I was able to play it, but it still doesn't appear in the app.
It's not in the "Collection", it's not in the "Video" tag either, and there's no Album for it in the app.
This happened before, months before but I decided to let it slide since it's not that much of a problem and I can use my phone's built-in gallery, and I figured that it will probably be fixed in the next update.

Thanks for following up.
Usually, when media does not appear in Aves, it is for one of these reasons:

there's a ".nomedia" file next to the media, so the system Media Store doesn't register them
the system Media Store hasn't registered them yet but it will eventually, it's just a delay (often happens on older devices, or when files are created by badly written apps)
the items are hidden within Aves via one of the filters in Settings > Privacy > Hidden filters.

Could you double-check your issue is not for one of these reasons?
Could you please follow instructions in the app About > Bug Report section and attach here your logs and system info? Also, do you use a custom ROM?

Follow Up:
Looks like the reason is the 3rd reason.
I don't remember hiding the filter and I'm sure I didn't do it on purpose,
so I must have accidentally hidden it / clicked on it along with the other
tags I'd hidden before.
Thanks for the help! I'm really glad since there's been some apps where the
developer doesn't respond haha.
and no, I'm not using custom ROM.

Message ID: @.***>

I'm glad the mystery is solved!

I'm unable to access the videos and pictures that's on my SD Card.
I already check the Hidden Items and it wasn't there.
I tried opening the videos through File Manager, I'm able to view it but it
still isn't displayed on the app.
Is there a solution or reason for this?

@Distant-User I can only point you to what I've mentioned above. If you say it's not hidden at the app level, maybe it's the Media Store that is not updated. How did you get that media on your SD card? Was it a long time ago?


Allow custom armor materials to have knockback resistance

In Vanilla, the knockback resistance attribute is limited to Netherite armor (governed by a material == ArmorMaterials.NETHERITE check). This limitation should be removed.
A sample mixin: https://github.com/Leo40Git/quilt-standard-libraries/blob/feature/armor-rendering/library/rendering/entity_rendering/src/testmod/java/org/quiltmc/qsl/rendering/entity/test/mixin/ArmorItemMixin.java

bump


cleanup unused envoy options

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @timonwong. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@timonwong: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
77aae0eee2dda00002b5c7f45990e1bd74608798
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I think there is no need to add release note

/release-note-none

/retest


Strange collision box vs box in version 0.7.1

I have observed a strange behavior when multiple boxes hits a larger floor box.
Version 0.7.1 behaves different from 0.6.0, in a way that hint some issue in 0.7.1.
When boxes hits the floor in 0.6.0, then the boxes tumbles around, but in  0.7.1 the boxes bounce in a structured manner and with some weird rotations in the set of boxes.
0.6.0
0.7.1
The only difference in the videos are the version of react. The videos are using the following glm::vec3( 0.0f, 10.0f + i*0.001f, i*1.0f ) as spawn position.
I version 0.7.1 it is possible to control the weird rotation of boxes. This is possible by changing the spawn position of the boxes. If the y-axis is set to i*0.0f the all boxes seems to do the weird rotation and if y-axis uses i*0.2f, then a smaller amount do the weird rotation. Hint, they hit the ground out of 'sync'.

Thanks for reporting this. Could you post the code that you use to create the floor box (position/orientation and size of the BoxShape) and the code that you use to create the smaller boxes (size of the BoxShape) ?

I will try to show how the boxes are created. The boxes and floor uses the same code, except for the floor to be static and the boxes dynamic, but the code is wrapped into various interfaces.
The box is 100, 1, 100, but tried to make it 10, 1, 10 without any difference. Still got the weird rotation where multiple boxes rotate equally. Rotation is glm::quat( glm::vec3( 0.0f, 0.0f, 0.0f ) ) where the quat is copied into a reactphysics quaternion when the physics object is created.

I added a terrain to see how the objects behave.
It seems that some orientation is intermixed following the falling capsule.
Terrain/Capsule
I also changed the order of object creation which changes the behaviour.
I have made a diff of 0.6.0 and 0.7.1 and can see that major changes has been made to the memory management. Can it be assume that I can call getTransform of a list of rp3d::RigidBody pointers in order to get the body transform?

I found an issue with my rendering, which explain the additional rotation seen in the previous gif animation. Now I do not have the additional rotation. Sorry for the noise.
I still get the initial impact rotation when boxes hit each other when the normals of the hitting surfaces are parallel. This can still be seen in the following gif.
Fixed additional roration/initial box impact rotation
I am unsure if the box impact rotation is expected. I can always as some small random rotation to box creation to avoid the rotation show on the three small boxes hitting the box floor.

Good job for fixing your rendering issue. It seems much better now in your video. I do not really see anything wrong in this video.
Do you also have a video of your first case (box floor) ?

I have made two videos showing the difference between random rotation on the boxes and boxes without rotation. Boxes are spawned at the same plane.
No rotation
Random rotation

I am not sure what is causing this rotation.


Documentation / Default settings

Hello and thank you for this great tool! I now have my covers always synched.
Regarding documentation, there is an inversion between the default TX/RX values of the documentation/image (GD00/GD02) and the initial default config in  application (GD02/GD00).
So by stupidly following the procedure, we manage to read the frames, but not to pair a new shutter.

I think that's incorrect too, but the help has been revised once before.
Maybe this is a problem of different understanding?

Maybe it's easier with picture ....
From https://github.com/rstrouse/ESPSomfy-RTS/wiki/Simple-ESPSomfy-RTS-device we have :

TX is GD00 (pin 13) et RX is GD02 (pin 12)
But from default config (radio page and doc) 👍

TX is GD02 (pin 12) et RX is GD00 (pin 13)
So obviously reading the doc let's user to correct values, but that' a pitfall

Version 2.0.0 has been released and the default TX/RX pin mappings have been flipped.


[AutoPR eventgrid/data-plane] Update event schema for azure storage event grid notification 2.0

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7502

(message created by the CI based on PR content)


[help!] envoy forwards traffic to the tcp secondary transparent proxy through tcp_proxy, but before envoy receives the response, the tcp secondary transparent proxy sends a FIN and disconnects the connection.

I want to realize the requirements of 【pod outbound -> envoy -> tcp transparent proxy -> target website】
This is my TCP packet capture information:

envoy -> tcp transparent proxy

17:07:47.649719 IP <IP_ADDRESS>.38184 > iZ7xvj2m1pwoytdowmcrjxZ.7892: Flags [S], seq 808239914, win 64860, options [mss 1410,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0
17:07:47.649765 IP iZ7xvj2m1pwoytdowmcrjxZ.7892 > <IP_ADDRESS>.38184: Flags [S.], seq 490212783, ack 808239915, win 65160, options [mss 1460,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>,nop,wscale 7], length 0
17:07:47.649775 IP <IP_ADDRESS>.38184 > iZ7xvj2m1pwoytdowmcrjxZ.7892: Flags [.], ack 1, win 507, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
17:07:47.649823 IP <IP_ADDRESS>.38184 > iZ7xvj2m1pwoytdowmcrjxZ.7892: Flags [P.], seq 1:78, ack 1, win 507, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 77
17:07:47.649831 IP iZ7xvj2m1pwoytdowmcrjxZ.7892 > <IP_ADDRESS>.38184: Flags [.], ack 78, win 509, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
17:07:50.925246 IP iZ7xvj2m1pwoytdowmcrjxZ.7892 > <IP_ADDRESS>.38184: Flags [F.], seq 1, ack 78, win 509, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
17:07:50.925381 IP <IP_ADDRESS>.38184 > iZ7xvj2m1pwoytdowmcrjxZ.7892: Flags [F.], seq 78, ack 2, win 507, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
17:07:50.925405 IP iZ7xvj2m1pwoytdowmcrjxZ.7892 > <IP_ADDRESS>.38184: Flags [.], ack 79, win 509, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0

tcp transparent proxy -> website

17:07:47.666327 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [S], seq 635071276, win 64240, options [mss 1460,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0
17:07:47.671942 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [S.], seq<PHONE_NUMBER>, ack 635071277, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
17:07:47.671965 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [.], ack 1, win 502, length 0
17:07:47.672220 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [P.], seq 1:284, ack 1, win 502, length 283
17:07:47.677818 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [.], ack 284, win 237, length 0
17:07:47.838263 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [P.], seq 1:4321, ack 284, win 237, length 4320
17:07:47.838311 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [.], ack 4321, win 491, length 0
17:07:47.838324 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [P.], seq 4321:5657, ack 284, win 237, length 1336
17:07:47.838333 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [.], ack 5657, win 485, length 0
17:07:47.839854 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [P.], seq 284:348, ack 5657, win 501, length 64
17:07:47.839900 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [P.], seq 348:438, ack 5657, win 501, length 90
17:07:47.840015 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [P.], seq 438:537, ack 5657, win 501, length 99
17:07:47.845489 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [.], ack 348, win 237, length 0
17:07:47.845527 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [.], ack 438, win 237, length 0
17:07:47.845699 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [.], ack 537, win 237, length 0
17:07:50.924939 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [P.], seq 5657:5681, ack 537, win 237, length 24
17:07:50.925007 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [.], ack 5681, win 501, length 0
17:07:50.925068 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [F.], seq 5681, ack 537, win 237, length 0
17:07:50.925160 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [P.], seq 537:561, ack 5682, win 501, length 24
17:07:50.925195 IP iZ7xvj2m1pwoytdowmcrjxZ.58672 > <IP_ADDRESS>.21015: Flags [F.], seq 561, ack 5682, win 501, length 0
17:07:50.930819 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [R], seq<PHONE_NUMBER>, win 0, length 0
17:07:50.930850 IP <IP_ADDRESS>.21015 > iZ7xvj2m1pwoytdowmcrjxZ.58672: Flags [R], seq<PHONE_NUMBER>, win 0, length 0

I don’t understand why the tcp secondary proxy disconnected from envoy before receiving a response from the target website.
17:07:50.925246 IP iZ7xvj2m1pwoytdowmcrjxZ.7892 > <IP_ADDRESS>.38184: Flags [F.], seq 1, ack 78, win 509, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0

According to my understanding, shouldn't the connection to the proxy server be disconnected after the response is returned to envoy? Is this related to the configuration of envoy?
If anyone can help me I would be grateful~

I don't think this is related to Envoy.


Release notes for v3.5.1

Changes since v3.5.0

Add pod creation integration test (https://github.com/lensapp/lens/pull/449)
Fix kubernetes api requests to work with non-"namespaces" pathnames (https://github.com/lensapp/lens/pull/450)
Handle invalid metric response properly (https://github.com/lensapp/lens/pull/464)
Display namespace defined in kubeconfig always in the namespace selector (https://github.com/lensapp/lens/pull/472)
Make sure that secret is defined before trying to decode (https://github.com/lensapp/lens/pull/479)
Update Helm to 3.2.4 (https://github.com/lensapp/lens/pull/487)
Revert select component (https://github.com/lensapp/lens/pull/488)
Fix pasting unicode into terminal sometimes not working (https://github.com/lensapp/lens/pull/492)
fix parseApi to not throw and to match apiVersion more specifically (https://github.com/lensapp/lens/pull/496)
Open external links in web browser (https://github.com/lensapp/lens/pull/506)
special case /namespace/ in parseApi, add test (https://github.com/lensapp/lens/pull/509)
Fix kubectl binary version check (https://github.com/lensapp/lens/pull/510)

you mother tucker. come to me house
Dne st 24. 6. 2020 13:05 uživatel Lauri Nevala<EMAIL_ADDRESS>napsal:

Merged #517 https://github.com/lensapp/lens/pull/517 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lensapp/lens/pull/517#event-3476980107, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APZ3PYAOFLXF7FMPC3HYB43RYHMXFANCNFSM4OGQ5CDA
.


An article link is broken.

Thank you for very nice repository in advance.
bye the way, I found  a link(https://zhuanlan.zhihu.com/p/67466552) was broken  in chapter 1-2.
could you please fix it?

I close because  found same issue someone


Karma unit tests fail with Angular 4 and older browsers

OS?
Linux, Ubuntu 16.10
Versions.
@angular/cli: 1.0.0-rc.0
node: 7.5.0
os: linux x64
@angular/common: 4.0.0-rc.2
@angular/compiler: 4.0.0-rc.2
@angular/core: 4.0.0-rc.2
@angular/forms: 4.0.0-rc.2
@angular/http: 4.0.0-rc.2
@angular/platform-browser: 4.0.0-rc.2
@angular/platform-browser-dynamic: 4.0.0-rc.2
@angular/router: 4.0.0-rc.2
@angular/cli: 1.0.0-rc.0
@angular/compiler-cli: 4.0.0-rc.2
Repro steps.
ng new App -ng4
cd App
npm i karma-phantomjs-launcher --save-dev
edit karma.conf.js to require karma-phantomjs-launcher
edit karma.conf.js to set PhantomJS as browser
ng test --single-run
The log given by the failure.
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  SyntaxError: Unexpected token 'const'
  at webpack:///src/app/app.component.ts:1:0 <- src/test.ts:57831

I observed several other similar errors when testing on Saucelabs, but that one above appears the most often for me and I was able to reproduce it locally.
Firefox 45.0.0 (Linux 0.0.0) ERROR
  SyntaxError: invalid for/in left-hand side
  at webpack:///~/@angular/compiler/@angular/compiler/testing.es5.js:298:0 <- src/test.ts:66290

Firefox 48.0.0 (Mac OS X 10.8.0) ERROR
  SyntaxError: missing = in const declaration
  at webpack:///~/@angular/compiler/@angular/compiler/testing.es5.js:298:0 <- src/test.ts:66290

Chrome 48.0.2564 (Linux 0.0.0) ERROR
  Uncaught SyntaxError: Unexpected token =
  at webpack:///~/@angular/core/@angular/core/testing.es5.js:194:0 <- src/test.ts:18647

IE 11.0.0 (Windows 10 0.0.0) ERROR
  Syntax error
  at webpack:///~/@angular/core/@angular/core/testing.es5.js:42:0 <- src/test.ts:18495

Safari 6.2.8 (Mac OS X 10.8.5) ERROR
  SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
  at webpack:///~/@angular/core/@angular/core/testing.es5.js:10:0 <- src/test.ts:18463

Mention any other details that might be useful.
I'm using PhantomJS to simulate an older browser, I get the same error from IE11, Safari 6, Chrome 48 and Firefox 48 on Saucelabs with my project
Tests do run correctly on latest Chrome, Firefox and Edge
I suspect this has something to do with Typescript not being properly compiled to ES5.

The full log of my project build can be found here: https://travis-ci.org/Ionaru/EVE-Track/jobs/206996897

@Ionaru see #5065
@hansl would that be possible to look into this issue, please ? it really blocks upgrade to RC as running tests with PhantomJS is not possible anymore.

The (recently introduced) tsconfig.spec.json has a target "target": "es6".
You probably want to target es5 in your use case.

I tried that, but the error still existed, I also tried setting testTsconfig to use the same tsconfig as my application, but without success.

Hmm, weird, it solved it for me...
Yeah the multiple tsconfig issue in IDEs is known (see comment and response here https://github.com/angular/angular-cli/issues/5046#issuecomment-282746041 and issue https://github.com/angular/angular-cli/issues/5175)

@Ionaru I got PhantomJS working in RC1 and Angular 2.4.x.
I set "target": "es5", in tsconfig.spec.json and also uncommented
import 'core-js/es6/object';
import 'core-js/es6/array';
import 'intl';

in polyfills.ts
Note, you need to install intl.
If you use Angular 4.x, then uncomment only these:
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/string';
import 'core-js/es6/array';

The changes in polyfills are in line with having the values in there commented out. If you need/want to support other browsers uncomment what is needed.
The change to output es5 instead of es6 should happen and I will push up a PR shortly.

having this issue with @angular/cli 1.6.8 and @angular 5.2.3
tsconfig.spec.ts has es5 as a target


[AJ-438] minimal script to populate WDS configs from vault

https://broadworkbench.atlassian.net/browse/AJ-438
Running this script with:
./scripts/write-config.sh dev populates all dev configs to the config/ path.
Currently, there is one 'dummy-secret' which is populated to dummy-secret.json

could you add a few sentences to the README.md or make a DEVELOPMENT.md that details how to run this script? I realize it's simple and mostly self-explanatory, but it would be good to start the documentation so there's a place to add more details later when/if this script becomes more complex.

Agreed and updated!


In AS API, PUT /transactions/* endpoint doesn't specify if the event was sent as a state event

as indicated in https://github.com/matrix-org/matrix-react-sdk/pull/1453 and https://github.com/vector-im/riot-web/issues/5176, a user can send an event that has a type that matches a state event (e.g. m.room.topic) as a timeline event.  Obviously, this won't change the room's state, but since PUT /transactions/* doesn't indicate whether the event was sent as a state event or a timeline event, it could result in a confused AS if this happens, as the AS may think that the state has changed when it actually hasn't.

It should be possible to distinguish a state event by the presence of a state_key field?

It should be possible to distinguish a state event by the presence of a state_key field?

Yeah, I guess that works.  Maybe that could be documented somewhere.

Yeah. It's in https://matrix.org/speculator/spec/HEAD/client_server/unstable.html#state-event-fields ("The presence of this key makes this event a State Event"), but I very much agree it's impossible to find there.


Does not work under Fedora Linux

hi,
could you provide any details what exactly "does not work"?

It works, but it's a bit of a mess.  It shows many errors on code that works.  I'm a noob at C#, so this may be trivial, for example,
public class Whatever : MonoBehaviour {
Whatever and MonoBehavior are flagged as errors.
Hovering over Whatever shows:
Predefined type 'System.Void' is not defined or imported [Assembly-CSharp]
Whatever
Hovering over MonoBehavior gives:
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. [Assembly-CSharp]
UnityEngine.MonoBehaviour
Other crazy stuff is broken like:
bool turn = true;
Predefined type 'System.Boolean' is not defined or imported [Assembly-CSharp]

This sounds like an issue with pathing to the reference libraries ...i spun up an ubuntu vm the other day so I'll see about installing a copy of Unity on it to see if i see anything immediate.

Thanks!  most appreciated.  What's odd is the code completion/assist seems to work fine, at least as far as I've used it.  Also, I'm using Unity 5.4beta if that matters.
If I can do anything to help, let me know.

Did you installed the additional mono assemblies? Try installing mono-complete package (mono-project site explains how in Fedora) which installs all additional assemblies and such

I'm closing the ticket due to inactivity :/ reopen with details 👯

Same thing is happening with me. If someone found out the solution please help me out too.


Error installing Jupyter via conda in Win10

Julia 1.0.3
IJulia 1.20.0
Executing transaction: done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.
Rolling back transaction: done

LinkError: post-link script failed for package defaults::qt-5.9.7-vc14h73c81de_0
location of failed script: C:\Users\avik\AppData\Local\Temp\Scripts\.qt-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:
stderr: Not a conda environment: C:\Users\avik\AppData\Local\Temp"

return code: 1

Should be fixed nowadays?   I've installed on Windows 10 recently with no problems.


Lock contention in ChecksumAndSignatureVerificationOverride

Version: 7.6
Gradle daemon thread dumps:

redacted: javadoc_sources_fetching.txt
full thread dump: 263413723__40470019__326790.txt

This is a follow up on https://issuetracker.google.com/263413723, where Android Studio sync never finished. It seems like there is a significant lock contention in case of detected failures. Summary of blocked threads:

ChecksumAndSignatureVerificationOverride.java:138 - 46 threads
ChecksumAndSignatureVerificationOverride.java:167 - 24 threads
ChecksumAndSignatureVerificationOverride.java:168 - 1 thread

This was triggered during parallel model building at the stage when AdditionalClassifierArtifactsModelBuilder runs.

Just an idea that might improve the situation is, that we don't have a global state for hasFatalFailure = new AtomicBoolean() and failures = LinkedHashMultimap.create(), but we would return that from verifyConcurrently.
So we do something like: https://github.com/gradle/gradle/commit/694455d03ae7c663fa351c88d4043738ff0335ec. This change slightly changes the behavior. Because previously some threads could write to failures just between https://github.com/gradle/gradle/blob/52a4a90ab62436781119953987be65c056865360/subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/ChecksumAndSignatureVerificationOverride.java#L166-L167, but now that will be checked later. But maybe this slight difference is not important.

Any updates here? In our checkout, we hit this constantly.


feat(card): add time range and period options

Summary

Adds support for additional time ranges in Card Header

Acceptance Test (how to verify the PR)

Adjust a time series range in the Dashboard basic story.

The visual defects visible in the screenshots above (some datapoint circles are floated off the chart) is due to a re-render bug in carbon charts -- we anticipate this being fixed today or tomorrow

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-beta.9 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.71.0 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


updated certificate resource is not processed by cert-manager

Describe the bug:
I updated an existing certificate to add dnsNames which was the same value as for what I had for common name and also added duration and renewBefore. Looking at the status of the certificate, I don't think cert-manager picks up my changes because the notAfter and notBefore are old and lastTransitionTime is also old.
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"cert-manager.io/v1","kind":"Certificate","metadata":{"annotations":{},"labels":{"app.kubernetes.io/instance":"vault"},"name":"vault","namespace":"vault"},"spec":{"commonName":"vault.vault.svc.cluster.local","dnsNames":["vault.vault.svc.cluster.local"],"duration":"8760h","issuerRef":{"kind":"ClusterIssuer","name":"selfsigning-issuer"},"renewBefore":"360h","secretName":"vault-certificate","subject":{"organizations":["test"]}}}
  creationTimestamp: "2020-10-09T21:00:05Z"
  generation: 2
  labels:
    app.kubernetes.io/instance: vault
  name: vault
  namespace: vault
  resourceVersion: "129976015"
  selfLink: /apis/cert-manager.io/v1/namespaces/vault/certificates/vault
  uid: 5e8869d8-482f-4955-b3cf-c606cdef380d
spec:
  commonName: vault.vault.svc.cluster.local
  dnsNames:
  - vault.vault.svc.cluster.local
  duration: 8760h0m0s
  issuerRef:
    kind: ClusterIssuer
    name: selfsigning-issuer
  renewBefore: 360h0m0s
  secretName: vault-certificate
  subject:
    organizations:
    - test
status:
  conditions:
  - lastTransitionTime: "2020-10-09T21:00:16Z"
    message: Certificate is up to date and has not expired
    reason: Ready
    status: "True"
    type: Ready
  notAfter: "2020-12-29T02:55:54Z"
  notBefore: "2020-09-30T02:55:54Z"
  renewalTime: "2020-12-14T02:55:54Z"
----
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"cert-manager.io/v1","kind":"ClusterIssuer","metadata":{"annotations":{},"labels":{"app.kubernetes.io/instance":"cert-manager"},"name":"selfsigning-issuer"},"spec":{"selfSigned":{}}}
  creationTimestamp: "2020-10-09T20:59:59Z"
  generation: 1
  labels:
    app.kubernetes.io/instance: cert-manager
  name: selfsigning-issuer
  resourceVersion: "113232116"
  selfLink: /apis/cert-manager.io/v1/clusterissuers/selfsigning-issuer
  uid: 2090bf0e-73ae-4a45-b680-205405f36380
spec:
  selfSigned: {}
status:
  conditions:
  - lastTransitionTime: "2020-10-09T21:00:16Z"
    reason: IsReady
    status: "True"
    type: Ready

There is no indication on cert-manage logs on why the updated certificate resource was not picked up cert-manager
$kubectl -n cert-manager logs cert-manager-7749655fd7-jpwrq
I1112 00:05:13.602394       1 start.go:74] cert-manager "msg"="starting controller"  "git-commit"="219b7934ac499c7818526597cf635a922bddd22e" "version"="v1.0.2"
W1112 00:05:13.602437       1 client_config.go:608] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I1112 00:05:13.603344       1 controller.go:161] cert-manager/controller/build-context "msg"="configured acme dns01 nameservers" "nameservers"=["<IP_ADDRESS>:53"]
I1112 00:05:13.603978       1 controller.go:124] cert-manager/controller "msg"="starting leader election"
I1112 00:05:13.604086       1 metrics.go:162] cert-manager/controller/build-context/metrics "msg"="listening for connections on" "address"={"IP":"::","Port":9402,"Zone":""}
I1112 00:05:13.604532       1 leaderelection.go:243] attempting to acquire leader lease  cert-manager/cert-manager-controller...
  Using the inClusterConfig.  This might not work.
I1112 00:05:16.749901       1 controller.go:161] cert-manager/controller/build-context "msg"="configured acme dns01 nameservers" "nameservers"=["<IP_ADDRESS>:53"]
I1112 00:05:16.750523       1 controller.go:124] cert-manager/controller "msg"="starting leader election"
I1112 00:05:16.750677       1 metrics.go:162] cert-manager/controller/build-context/metrics "msg"="listening for connections on" "address"={"IP":"::","Port":9402,"Zone":""}
I1112 00:05:16.751146       1 leaderelection.go:243] attempting to acquire leader lease  cert-manager/cert-manager-controller...

Expected behaviour:
The updated resource should be processed by cert-manager and new secret should be created.
Steps to reproduce the bug:

Deploy 1.0.2 cert-manager with two cert-manager replicas
Create self signed cluster issuer
Create a certificate without SAN and don't specify custom TTL
After the certificate and the secret are created, then update the certificate resource with SAN and custom TTL, then re-apply the resource

Anything else we need to know?:
Environment details::

Kubernetes version: 1.16.13
Cloud-provider/provisioner: EKS
cert-manager version: 1.0.2
Install method: static manifests

/kind bug

/priority important-soon


Extend #27 with secure stack placement

With this bug fixed, there is still a precision problem. When the precision is too large (e.g. precision=1) the findboxesleft function can't detect boxes to the left of an ultra thin stack. But when the precision is too narrow (e.g. precision=4) adjacent boxes which overlap slightly with the current stack make the is_secure function return false because the right side of the box is not exactly equal to the X position of the current stack.

The preceding problem is solved by making sure stack dimensions aren't smaller than the precision. However, there are still cases where a stack is not secure and it can be confirmed visually that there is no stack it is resting againts. This needs further investigation.


Fixed a bug that occur when using iDeep in chainer/link.py

Fixed a bug that occur when using iDeep in chainer/link.py

Jenkins, test this please.

Thanks! I will write tests in another PR.

LGTM!


Use an absolute path to reference heroku-metrics-agent.jar

This might be what caused https://support.heroku.com/tickets/522311. But a good idea either way.

Are we sure we're always running with the slug at /app ?
Maybe $HOME would be better? AFAIK we always point $HOME to where the slug is.

This didn't fix the problem, and the changes that did fix the problem conflict with this PR. I'm going to close it and revisit with the $HOME idea.


Avoid "not large enough" checks for Windows drives that report themselves as 0.0 GB

See https://github.com/resin-io-modules/drivelist/issues/142
In summary, WMI sometimes fails to detect the real size of the drive, and detects a unreasonably small drive size (e.g. 8 MB) that gets coerced into 0.0 GB by the Etcher UI.
We have a real fix for this (which involves to re-write drivelist on C++), but let's make Etcher not take the size of these problematic drives into consideration for now.

Umm nope, this is in fact opposite to what @alexandrosm was suggesting in gitter!
We don't want to filter out (ignore) drives that report themselves as 8MB, we want to ignore the size they report, and allow any-size-image to be written to them anyway.

Yeah, my bad, I totally mixed things up. I'll rephrase the issue.

basically we should set a "minimum plausible drive size" and ignore any responses that are below that, simply reporting them as "unknown size", and as a result, not applying any size checks

...and there's then a nice symmetry between drives who's size we don't know, with images who's size we don't know ;-)

Please see https://github.com/resin-io/etcher/pull/1574#issuecomment-315054168


npm install issue

failed with this \src\create_string.cpp(17): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot
convert argument 1 from 'v8::Localv8::Value' to 'const v8::String::Utf8Value &

Please make sure you are on node version 10.16.0


Linux desktop app fails to run on TAILS and Whonix.

Hi,
version: Nault-1.9.7-Linux.AppImage
output:
[2473:0214/091506.103104:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_Nault-hdAgji/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)

Did you check that?
You need to make sure that /tmp/.mount_Nault-hdAgji/chrome-sandbox is owned by root and has mode 4755

Did you check that?
You need to make sure that /tmp/.mount_Nault-hdAgji/chrome-sandbox is owned by root and has mode 4755

Yes, but when I check /tmp, after the app fails, this directory did not exist.
I run another app with appimage "format" and it runs without problems.
Thanks for your comment.

Can you check if another app that uses electron works via AppImage? For example https://github.com/lensapp/lens

Did you check that?
You need to make sure that /tmp/.mount_Nault-hdAgji/chrome-sandbox is owned by root and has mode 4755

Yes, but when I check /tmp, after the app fails, this directory did not exist.
I run another app with appimage "format" and it runs without problems.
Thanks for your comment.

Can you check if another app that uses electron works via AppImage? For example https://github.com/lensapp/lens
Could be related to electron/electron#17972

Lens-4.0.8.AppImage fails in the same way, also TAILS and Whonix.
Greetings.


test/e2e: allow release PRs to pass CI

Description of the change:

test/e2e/main_test.go: use testArgs struct for test args; add local-repo flag to specify the local repo path if the SDK is not in $GOPATH/src/github.com/operator-framework/operator-sdk

test/e2e/memcached_test.go: remove any 'replace' directives for the SDK repo in memcached-operator's go.mod file before adding one for the e2e test

hack/tests/e2e-{ansible,helm}.sh: same as above.

Motivation for the change: release PR's will fail because the release tag they are pinning in go.mod does not exist yet. This change removes the release tag pin (ex. replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk vX.Y.Z) before adding a replace line for the PR sha/branch. This is essentially what the e2e code was doing when dep was the default dependency manager.
The command line -local-repo is necessary for devs working on the SDK repo in a path other than $GOPATH/src/replace github.com/operator-framework/operator-sdk. The $GOPATH requirement still remains, but will be removed soon, at which point -local-repo will be especially useful.

I think we may also need to account for the Helm and Ansible e2e tests. They also failed in the v0.8.1 release PR. It looks like its the operator-sdk migrate tests that fail due to the missing tag.
See https://travis-ci.org/operator-framework/operator-sdk/builds/535849739

@joelanford added a go mod edit -dropreplace before vendoring/adding a replace for ansible and helm e2e.

/cc @joelanford @AlexNPavel @LiliC @hasbro17
PTAL

On further consideration, I've realized this PR depends on #1470 and removing the SDK's dependency on vendor/.
operator-sdk new will error in Go e2e tests in a release PR because the release tag does not exist; we currently have no way of preventing the SDK from calling go mod vendor so this will occur unless we skip vendoring on project initialization. I propose we wait until #1470 is merged, and make a separate PR that adds the --vendor flag from #1475 so we can modify the go.mod file prior to running downstream e2e setup, like we do in hack/tests/e2e-{ansible,helm}.sh.
@hasbro17 @AlexNPavel @joelanford @LiliC @theishshah wdyt?

/hold

It seems like the two PRs in question are merged, is this ready for review again?

@LiliC there are a few updates I need to make first.

/hold cancel

This is more for us but do we need to mention the --local-repo flag in the doc/dev/running-the-testing.md file?
I know it's probably not glanced at often enough but we can add a line on how to pass the --local-repo flag to the makefile args.
https://github.com/operator-framework/operator-sdk/blob/master/doc/dev/testing/running-the-tests.md#running-the-tests


Fix area title position

Put the area title card inside the vertical stack so everything matches up in the desktop view. Fixes  #49

After this fix, should we create a new release?

@DigiLive I see,
My main issue is that the readme shown is not the correct one and I get lots of messages because of that. I think its time to release 1.0.0
I am a bit biased here considering that bug doesn't affect me


CodeChef STARTER (Recent Problems)

Adding some recent questions of CodeChef STARTER.
Requesting to merge it.

Please merge this file.


restore helm unittests

For some reason the unit-tests are quite outdated and are not working anymore. This PR restores the unittests and provides a GitHub Actions workflow to run it on PRs

Cool - happy to have a PR that fixes unit tests, but this PR also includes other additional changes. Could you separate those out?
Also, what does the __snapshot__ directory do and why the snap file extension after yaml?\

Additional changes? You mean fixes in deployment.yaml and typos in values.yaml?
the snapshots will be the generated version that defines the current truth. If you plan to change anything that would change the output, the test will fail because it might be a regression. You can now review the changes in the output of the helm untittest run and decide if you want it or not. If you want to continue with the changes you can run helm unittest -u to update the snapshots. The files will also be commited in to the repo. The yaml.snap files are auto-generated by the tests.
All of that is documented in https://github.com/helm-unittest/helm-unittest

Yes, I would like an PR that only contains the changes needed for updating the unit tests. Other changes we can talk about in separate PRs.
Thanks for the explanation on snapshots, that sounds good.

Just following up - would like to get this merged.

Ping?

Sorry this is a bit off-topic, but just curious @MichaelSp , is SAP using DMS? :)

Sorry for the delay here. I couldn't find the time yet to split the PR and timewise it doesn't seem to get any better... (maybe you can accept it in one PR?)
@polarathene AFAIK they are not using DMS 🤣

@MichaelSp understood - if I find some time I'll see what I can do.

Finally I was able to polish this PR a bit. One thing I noticed:
readonly is not a valid param according to the spec https://kubernetes.io/docs/concepts/storage/volumes/. The correct param would be readOnly. I assume this field is ignored, but since I assume the state should not be readOnly, I took the liberty to remove that.

@cfis pong :)

Oh sorry, totally missed your last update. Thanks for updating!


Fix Issue #115 + Fix a KeyError bug that occurs on new accounts

Fixes #115 : Seems like the actual release_pokemon API call wasn't being made. Just added that in..
Also, fixed a bug at the bottom of bot.py the playerData will not return certain keys like poke_stop_visits if it was never used before..

Great! We were confusing about the RELEASE.


Rename Identity to Recipient - fix #43

I hope that's better :)

Sweet, thanks :)

You're welcome :)


Crash in graphviz generation of in certain state machine guard case

The Umple code below (that is set to generate GraphViz from a state diagram with guards) fails and results in the following stack trace:
java.util.NoSuchElementException
	at java.base/java.util.TreeMap.key(TreeMap.java:1324)
	at java.base/java.util.TreeMap.firstKey(TreeMap.java:289)
	at java.base/java.util.TreeSet.first(TreeSet.java:394)
	at cruise.umple.compiler.Guard.add(Guard.java:132)
	at cruise.umple.compiler.Guard.getQueuedExpression(StateMachine.ump:301)
	at cruise.umple.compiler.Guard.getExpression(StateMachine.ump:337)
	at cruise.umple.compiler.GvStateDiagramGenerator.appendStateMachineRecursively(GvStateDiagramGenerator.java:580)

The method public ArrayDeque getQueuedExpression() in stateMachine.ump is probably the place to start the search.
generate GvStateDiagram "./GvStateDiagram/" --override-all;
// Simple UML state machine of a tic-tac-toe or noughts and crosses game
class TicTacToe {
 state {
   Start{}
   Start {
     xPlays [o()] -> xWin;
     xPlays [i()] -> oTurn;
     xPlays [o()] -> tie;
   }
   oTurn {
     oPlays [i()] -> oWin;
     oPlays [true] -> xTurn;

   }
   xWin {
   }
   oWin {
   }
   tie {
   }
 }
 // The following need to be implemented
 Boolean o() {return false;}
 Boolean i() {return true;}
}

Fixed in #1184


windows_user_privilege resource, add action not completing correctly

Description
Using the add action in the windows_user_privilege resource results in a Windows error
Chef Version
I have tried Chef client 16.9.29 and 17.1.35
Platform Version
I have tested and experienced this issue on Windows 2012R2, 2016 and 2019
Replication Case
Utilize the following in a recipe:
windows_user_privilege "Ensure 'Deny log on as service' includes 'Guests'" do
  privilege 'SeDenyServiceLogonRight'
  users 'Guests'
  action :add
end

I have tested this against multiple privileges.  I have also tried a number of different builtin groups such as Administrators.
Utilizing the :set and :clear actions do work just fine
Client Output
       Chef::Exceptions::Win32APIError
       -------------------------------
       No mapping between account names and security IDs was done.
       ---- Begin Win32 API output ----
       System Error Code: 1332
       System Error Message: No mapping between account names and security IDs was done.
       ---- End Win32 API output ----

Stacktrace

Closing this issue.  This was an oversight in regards to the resource parameters being different for the :set action and the :add action.
Resource is working as intended


inheriting other styles

Any text I place within the <mechanical-ragger> element won't inherit the other styles on my site. For example:

<mechanical-ragger>
    This URL won't be styled like my other links.
</mechanical-ragger>

As far as I understand it, mechanical-ragger creates an autonomous custom element, which won't inherit anything from other HTML elements. But I'd love to be able to integrate this tool's ragging with all my existing styles. Thanks!

Thanks for the bug report! This should be fixed now.
Try out v0.5.0.

@danielgamage thanks for the fix, and for the fantastic writing tool!


Allow httpx to use proxies

Dear team,
Related to https://github.com/opensanctions/yente/issues/84, since the switch to httpx for data retrieval we cannot use our proxy anymore and therefore cannot update Yente. Could you please add the option to specify a proxy, as in: https://www.python-httpx.org/advanced/proxies/ ?
for example
with httpx.Client(proxy=YENTE_PROXY) as client:     ...
where YENTE_PROXY is an env var.
Thank you very much!

My apologies, I seem to be having a different issue. httpx does accept the environmental variables HTTP_PROXY and HTTPS_PROXY as aiohttp does (see: https://www.python-httpx.org/environment_variables/).
I will close this issue.

Good day,
This might be related. I've found that the the async client does not respect the HTTP_PROXY env var.
I'm running an data update and it fails in 3.8.4  where it worked in 3.7.x
Here is what I did:

set the HTTP_PROXY and HTTPS_PROXY env vars
run the proces
I get vague error messages . HTTPX.connect errors (but no details, quite frustrating!)
manually running a httpx.get works. so the proxy is set correctly.

When I added a proxy arg here:  https://github.com/opensanctions/yente/blob/main/yente/data/util.py#L134
the update process just works.
Can we pass the proxy env if it exists?

Thank you very much, @RMHogervorst - I've opened up for setting YENTE_HTTP_PROXY to explicitly set a proxy if it isn't automatically found by httpx. PR for it here if you want to check the implementation: https://github.com/opensanctions/yente/pull/428
Does that look like it will fix it for you?


Add debug log for latency on server

As per fragmental's request simply outputs the ping of each client from the server. Currently outputs the ping every 5 seconds but can be adjusted on the Table Networking Prefab.

Thanks!


Is it possible to create an image for Openstack

A kvm qcow2 ?
If not with your repo can you point me in the right direction?
Much thanks

There is an OpenStack builder for packer so it should be pretty trivial except if there are guest additions for kvm?


Enable OAuth for Facebook Login

@mfatihm , is there any progress about Facebook Login? @kirbiyik implemented the frontend part of it but we could not add it into website.


Fix step action

Added perform(scrollTo) before the submit button is clicked as the keyboard hides the button and the test fails.
Updated Gradle version.

Thanks!


FlowValue missing from render.

https://twitter.com/RadekMaziarka/status/1213430676617416705
I have some problems with the flow with a label. The app draws flow but it doesn't draw text. Am I the only one who have this problem?

I think it's still not working:

@rmaziarka could you try
Start Component+'insert text'<>
Here is an example.  It's related to future/past/both evolution links - if a component has evolved or not.
https://onlinewardleymaps.com/#h3OpwFgJzdakzyEC79


One of the videos is hidden by privacy settings

Hello!
I've been looking through the hiring page before my screening call with a recruiter and it looks like one of the videos in "Still hungry? 🍔"  section is hidden by privacy settings.
I guess hungry.adoc file should be updated :)

The video title is Picnic: Tech’s answer to groceries to be more specific.

Hello. Thanks for your suggestion, and sorry for the late reply. We just archived this project, so I'm closing this issue.


Add system project ID to global values when any Helm chart is installed

When project monitoring is installed, the UI automatically adds the system project ID to the ProjectHelmChart.

The project ID would be added to the YAML for the Prometheus Federator chart. Currently it's a text box so we could add global.cattle.clusterID automatically.
@catherineluse to update with the location.

This install.vue component is where we normally add a bunch of standard "global values" for Helm charts that get installed through Rancher: https://github.com/rancher/dashboard/blob/master/pages/c/_cluster/apps/charts/install.vue#L785
To add the system project ID, I think we would have to go to the addGlobalValuesTo function and add something like:
setIfNotSet(global, 'systemProjectId', systemProjectId);

Changed the issue title to be more accurate - this will affect all helm charts.

Pass verified in 2.6-head Commit ID 132b182