pip3 install flybirds  安装报错subprocess-exited-with-error

Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [1102 lines of output]
Ignoring numpy: markers 'python_version == "3.6"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8"' don't match your environment
Collecting setuptools
Using cached setuptools-63.2.0-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting scikit-build
Using cached scikit_build-0.15.0-py2.py3-none-any.whl (77 kB)
Collecting cmake
Using cached cmake-3.22.5-py2.py3-none-macosx_10_10_universal2.macosx_10_10_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (75.2 MB)
Collecting pip
Using cached pip-22.1.2-py3-none-any.whl (2.1 MB)
Collecting numpy==1.19.3
Using cached numpy-1.19.3.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting packaging
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting distro
Using cached distro-1.7.0-py3-none-any.whl (20 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml): started
Building wheel for numpy (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
    × Building wheel for numpy (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [1058 lines of output]
        Running from numpy source directory.
        numpy/random/_bounded_integers.pxd.in has not changed
        numpy/random/_philox.pyx has not changed
        numpy/random/_bounded_integers.pyx.in has not changed
        numpy/random/_sfc64.pyx has not changed
        numpy/random/_mt19937.pyx has not changed
        numpy/random/bit_generator.pyx has not changed
        Processing numpy/random/_bounded_integers.pyx
        numpy/random/mtrand.pyx has not changed
        numpy/random/_generator.pyx has not changed
        numpy/random/_pcg64.pyx has not changed
        numpy/random/_common.pyx has not changed
        Cythonizing sources
        blas_opt_info:
        blas_mkl_info:
        customize UnixCCompiler
          libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        blis_info:
          libraries blis not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        openblas_info:
          libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        atlas_3_10_blas_threads_info:
        Setting PTATLAS=ATLAS
          libraries tatlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        atlas_3_10_blas_info:
          libraries satlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        atlas_blas_threads_info:
        Setting PTATLAS=ATLAS
          libraries ptf77blas,ptcblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        atlas_blas_info:
          libraries f77blas,cblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        accelerate_info:
          libraries accelerate not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
        Library accelerate was not found. Ignoring
          libraries veclib not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
        Library veclib was not found. Ignoring
          FOUND:
            extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
            extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
            define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

          FOUND:
            extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
            extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
            define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

        non-existing path in 'numpy/distutils': 'site.cfg'
        lapack_opt_info:
        lapack_mkl_info:
          libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        openblas_lapack_info:
          libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        openblas_clapack_info:
          libraries openblas,lapack not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        flame_info:
          libraries flame not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib']
          NOT AVAILABLE

        atlas_3_10_threads_info:
        Setting PTATLAS=ATLAS
          libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries tatlas,tatlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries lapack_atlas not found in /usr/local/lib
          libraries tatlas,tatlas not found in /usr/local/lib
          libraries lapack_atlas not found in /usr/lib
          libraries tatlas,tatlas not found in /usr/lib
        <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
          NOT AVAILABLE

        atlas_3_10_info:
          libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries satlas,satlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries lapack_atlas not found in /usr/local/lib
          libraries satlas,satlas not found in /usr/local/lib
          libraries lapack_atlas not found in /usr/lib
          libraries satlas,satlas not found in /usr/lib
        <class 'numpy.distutils.system_info.atlas_3_10_info'>
          NOT AVAILABLE

        atlas_threads_info:
        Setting PTATLAS=ATLAS
          libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries ptf77blas,ptcblas,atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries lapack_atlas not found in /usr/local/lib
          libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
          libraries lapack_atlas not found in /usr/lib
          libraries ptf77blas,ptcblas,atlas not found in /usr/lib
        <class 'numpy.distutils.system_info.atlas_threads_info'>
          NOT AVAILABLE

        atlas_info:
          libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries f77blas,cblas,atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
          libraries lapack_atlas not found in /usr/local/lib
          libraries f77blas,cblas,atlas not found in /usr/local/lib
          libraries lapack_atlas not found in /usr/lib
          libraries f77blas,cblas,atlas not found in /usr/lib
        <class 'numpy.distutils.system_info.atlas_info'>
          NOT AVAILABLE

          FOUND:
            extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
            extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
            define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

        /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
          warnings.warn(msg)
        running bdist_wheel
        running build
        running config_cc
        unifing config_cc, config, build_clib, build_ext, build commands --compiler options
        running config_fc
        unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
        running build_src
        build_src
        building py_modules sources
        building library "npymath" sources
        Could not locate executable gfortran
        Could not locate executable f95
        Could not locate executable f90
        Could not locate executable f77
        Could not locate executable xlf90
        Could not locate executable xlf
        Could not locate executable ifort
        Could not locate executable ifc
        Could not locate executable g77
        Could not locate executable g95
        Could not locate executable pgfortran
        don't know how to compile Fortran code on platform 'posix'
          adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath' to include_dirs.
        None - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_internal.h']
        building library "npysort" sources
          adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common' to include_dirs.
        None - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_sort.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_partition.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_binsearch.h']
        building library "npyrandom" sources
        building extension "numpy.core._multiarray_tests" sources
        building extension "numpy.core._multiarray_umath" sources
          adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath' to include_dirs.
          adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath' to include_dirs.
          adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common' to include_dirs.
        numpy.core - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/funcs.inc', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/simd.inc', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/loops.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/matmul.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/clip.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_internal.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/templ_common.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/__ufunc_api.h']
        building extension "numpy.core._umath_tests" sources
        building extension "numpy.core._rational_tests" sources
        building extension "numpy.core._struct_ufunc_tests" sources
        building extension "numpy.core._operand_flag_tests" sources
        building extension "numpy.fft._pocketfft_internal" sources
        building extension "numpy.linalg.lapack_lite" sources
        building extension "numpy.linalg._umath_linalg" sources
        building extension "numpy.random._mt19937" sources
        building extension "numpy.random._philox" sources
        building extension "numpy.random._pcg64" sources
        building extension "numpy.random._sfc64" sources
        building extension "numpy.random._common" sources
        building extension "numpy.random.bit_generator" sources
        building extension "numpy.random._generator" sources
        building extension "numpy.random._bounded_integers" sources
        building extension "numpy.random.mtrand" sources
        building data_files sources
        build_src: building npy-pkg config files
        running build_py
        creating build/lib.macosx-10.9-universal2-3.9
        creating build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/conftest.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/version.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/_globals.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/dual.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/_distributor_init.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/ctypeslib.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/matlib.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying numpy/_pytesttester.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        copying build/src.macosx-10.9-universal2-3.9/numpy/__config__.py -> build/lib.macosx-10.9-universal2-3.9/numpy
        creating build/lib.macosx-10.9-universal2-3.9/numpy/compat
        copying numpy/compat/py3k.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
        copying numpy/compat/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
        copying numpy/compat/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
        copying numpy/compat/_inspect.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
        creating build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
        copying numpy/compat/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
        copying numpy/compat/tests/test_compat.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
        creating build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/umath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/fromnumeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_dtype.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_add_newdocs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_methods.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_internal.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_string_helpers.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_asarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/records.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/setup_common.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/memmap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/overrides.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/getlimits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_dtype_ctypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/defchararray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/machar.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/einsumfunc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/umath_tests.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_ufunc_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_exceptions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/numerictypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/_type_aliases.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/cversions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/arrayprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
        creating build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_numerictypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_scalar_methods.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_scalarmath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_item_selection.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_machar.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_unicode.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_arrayprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_scalarbuffer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_indexerrors.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_print.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_half.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_mem_overlap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_errstate.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_records.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_scalarinherit.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
        copying numpy/core/tests/test_indexing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests

你好，为了更快的调查问题，请提供相关的环境信息
环境信息

Python version
OS
Flybirds version
如果本地曾安装过 numpy，请提供numpy version

MacBook Pro, MAC OS 12.2. Apple M1 Pro

numpy version:
1.22.3

你遇到的这个问题很可能和 Apple M1有关，解决方案参考以下链接
https://github.com/scipy/scipy/issues/13409


Support iPhone X navigation bar

Fix the iPhone X notch hiding the photo index in navigation bar title
Refs: https://github.com/inspace-io/INSPhotoGallery/issues/36#issuecomment-345510157

I pushed a version 1.2.4


Passing a block to Shrine::UploadedFile#open is now optional.

Please review this. I think this is what you wanted.

It would be nice to be able to call Shrine::UploadedFile#open without a block, i.e. to make the block optional.

For the test I copied #to_io but I'm not sure why the object_id will be different for the same instance... could you explain what you are testing for here?
# uploaded_file_test.rb - L241 and L377
assert_equal uploaded_file.object_id, uploaded_file.object_id

Thanks, this is exactly what I had in mind!
Note that when you return in the method, the ensure block will still get executed. This means that the current code will return the closed IO object. So we should probably figure out a different strategy.

For the test I copied #to_io but I'm not sure why the object_id will be different for the same instance... could you explain what you are testing for here?

Thanks for noticing that, it was accidental, the assertion should have been that #to_io memoizes the underlying IO object:
assert_equal uploaded_file.to_io.object_id, uploaded_file.to_io.object_id

I fixed this now in master.


Upgrade forbiddenapis to version 3.3

This also cleans up signatures files to make use of new wildcard method signatures feature.
I did not open an issue as this is trivial and is more build maintenance. I will commit this to 9x and main branch. I can also backport to 9.0, opinions?

Can you update main/gradle/validation/forbidden-apis/commons-io.commons-io.all.txt as well?

Can you update main/gradle/validation/forbidden-apis/commons-io.commons-io.all.txt as well?

The copy methods? I don't know them, so I kept untouched.

Can you update main/gradle/validation/forbidden-apis/commons-io.commons-io.all.txt as well?

The copy methods? I don't know them, so I kept untouched.

better now?

9.x and main for now, or should i merge to 9.0, too? I am not uptodate how far we are with the release.

9x is fine, this doesn't need to be in 9.0 - we're trying to get smoke tests off the ground so less to perturb them is better


AnimationData.java soulreaper axe

Added Soulreaper Axe animation for slash and slash spec.

Let me know @ngraves95

Did you mean to close this PR? Looks fine to me - I'll merge if you re-open it.

Oh woops. Yeah I'll re-open

@ngraves95  https://github.com/ngraves95/attacktimer/pull/30
I made a new one since I couldn't re-open this.


Graphiql page appears blank / doesn't allow accept inputs

Hi Graphiql team,
My teams has been experiencing a sporadic issue when on page load, the graphql inputs are all greyed out and doesn't allow us to input anything. Sometimes a page reload fixes the issues, but when it stays stuck over many reload tries, I usually end up opening the chrome browser inspector then reload. That tends to fix the issue (and haven't been able to catch any errors reported in console because it fixes it).
Any chance you can investigate - it wasn't an issue until some of our customers starting experiencing the same.
We utilize react in our stack and happy to provide additional info. Here is a screenshot showing all fields as a bit grayed out

Thanks

Closing for now to investigate internally as we suspect it might be something specific to our stack. Will re-open with details if we determine it might be something with the library.


Kolors-Virtual-Try-On code release？

great job ！！！

are the weights for virtual tryon going to be available anytime soon?


Add optional color setting for axis

Title says it all.  I added this feature to a local set of the code, however not really able to create a pull-request for it in its current state.  I am going to try and work some this weekend and create an official pull request.
Explanation: The background of my graphs are a non-white color and the black axis' are hard to read.  Adding a configurable color option that defaults to black would be a nice enhancement.

+1. Would be great if the options object could have one more settings called axisColor that would set the color of the axis and its text. Currently we are doing it by CSS but it's more of a dirty hack. Our site has a dark theme and we can't use the default black color for axis.

Yes, Obliviously


Battery Extends above 100 %

Describe the bug
When charging the battery icon will spill over the battery symbol.
Screenshots

Versions:

macOS version: 10.14.5
Pock version:  0.6

That's what happens if you keep your MacBook attached to the charger all night long! 😅
Joking apart, I'll surely take a look into this. Thanks for pointing it out!

@pigigaldi just wanted to update and close this out. I haven't been able to reproduce this in some time. Not sure what update took care of it but it is working as expected!


Your requirements could not be resolved to an installable set of packages.

How do you use Sentry?
Self-hosted / on-premises
SDK version
4.9.2
Steps to reproduce
composer update -W
Expected result
Problem 1
- Root composer.json requires sentry/sentry-symfony ^4.9.2 -> satisfiable by sentry/sentry-symfony[4.9.2].
- sentry/sentry-symfony 4.9.2 requires symfony/psr-http-message-bridge ^1.2||^2.0 -> found symfony/psr-http-message-bridge[v1.2.0, v1.3.0, v2.0.0, ..., v2.3.1] but these were not loaded, likely because it conflicts with another require.
Actual result
Now I have installed symfony/psr-http-message-bridge v2.2.0.

My hunch is that the recent change in Symfony caused this. I opened https://github.com/symfony/symfony/issues/51192 for further clarification.
I assume this will be resolved once 6.4 is tagged, but this has yet to happen.
https://github.com/getsentry/sentry-symfony/pull/750

This issue seems to be caused by Symfony Flex. As a workaround, you can add "symfony/psr-http-message-bridge": "^2.3"  to the require section of your project. This should make the error disappear while we're working on a more permanent solution.

Thanks, @derrabus add "symfony/psr-http-message-bridge": "^2.3" to require worked perfectly.
I wish json allowed for comments, so I could reference this issue as to why I installed that!

Thanks, @derrabus add "symfony/psr-http-message-bridge": "^2.3" to require worked perfectly.
I wish json allowed for comments, so I could reference this issue as to why I installed that!

I usually use the git commit for that. True, it's a little less convenient but works for me.

Released in 4.12.0


External Postgres DB connection (with ssl) does not work

Hi, experience some issues with latest version of Plausible.
Refuses to work with external PostgreSQL DB connection (with ssl) (hosted on DigitalOcean cloud).
Have Plausible v2.0.0 deployed (works normally, with locally installed clickhouse and external postgresql), and today started the upgrade procedures to v2.1.0, did everything mentioned in release v2.1.0, but got several errors/issues with starting new plausible container.
Using DATABASE_URL to pass PG connection string, tried firstly same string as was used for v2.0.0 (checked with echo $DATABASE_URL, all is ok):
DATABASE_URL=postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?ssl=true
and got:
13:10:41.090 [error] Postgrex.Protocol (#PID<0.196.0>) failed to connect: ** (DBConnection.ConnectionError) ssl connect: TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA
 - {:tls_alert, {:unknown_ca, ~c"TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA\n"}}
13:10:41.090 [error] Postgrex.Protocol (#PID<0.168.0>) failed to connect: ** (DBConnection.ConnectionError) ssl connect: TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA
 - {:tls_alert, {:unknown_ca, ~c"TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA\n"}}
13:10:41.090 [error] Postgrex.Protocol (#PID<0.167.0>) failed to connect: ** (DBConnection.ConnectionError) ssl connect: TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA
 - {:tls_alert, {:unknown_ca, ~c"TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA\n"}}
13:10:41.379 [error] Postgrex.Protocol (#PID<0.204.0>) failed to connect: ** (DBConnection.ConnectionError) ssl connect: TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA
 - {:tls_alert, {:unknown_ca, ~c"TLS client: In state wait_cert at ssl_handshake.erl:2133 generated CLIENT ALERT: Fatal - Unknown CA\n"}}
** (MatchError) no match of right hand side value: {:error, "killed"}
    (plausible 0.0.1) lib/plausible_release.ex:47: anonymous fn/2 in Plausible.Release.createdb/0
    (elixir 1.16.0) lib/enum.ex:2528: Enum."-reduce/3-lists^foldl/2-0-"/3
    (plausible 0.0.1) lib/plausible_release.ex:46: Plausible.Release.createdb/0
    nofile:1: (file)
    (stdlib 5.2) erl_eval.erl:750: :erl_eval.do_apply/7

Then, added sslmode=require:
DATABASE_URL=postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?sslmode=require&ssl=true
and got same errors.
Then, tried to add sslmode=verify-ca and /app/ca-cetificate.crt (valid) and
DATABASE_URL=postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?sslmode=verify-ca&sslrootcert=/app/ca-certificate.crt&ssl=true
and got same errors.
Tried also several fixes by ChatGPT and Google search, nothing helps, can anyone help with that?
Setup:
Plausible: plausible/community-edition:v2.1.0
Variables:
    DATABASE_URL: postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?sslmode=verify-ca&sslrootcert=/app/ca-certificate.crt&ssl=true
    or
    DATABASE_URL: postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?sslmode=required&ssl=true
    or
    DATABASE_URL: postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?ssl=true
    or
    DATABASE_URL: postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)

    CLICKHOUSE_DATABASE_URL: http://$(CLICKHOUSE_USER):$(CLICKHOUSE_PASSWORD)@plausible-events-db:8123/$(CLICKHOUSE_DB)

    DB_USER: plausibledbuser
    DB_HOST: ********
    DB_PORT: ********
    DB_PASSWORD: ********
    DB_NAME: plausible

    GOOGLE_CLIENT_ID: ********
    GOOGLE_CLIENT_SECRET: ********

    BASE_URL: ********
    SECRET_KEY_BASE: ********
    TOTP_VAULT_KEY: ********
    CLICKHOUSE_PASSWORD: ********

    MAILER_ADAPTER: "Bamboo.Mua"
    MAILER_EMAIL: ********
    SMTP_HOST_ADDR: ********
    SMTP_HOST_PORT: ********
    SMTP_USER_NAME: ********
    SMTP_USER_PWD: ********
    SMTP_HOST_SSL_ENABLED: "false"

    DISABLE_REGISTRATION: "invite_only"

Clickhouse: clickhouse/clickhouse-server:<IP_ADDRESS>-alpine
Variables:
    CLICKHOUSE_PASSWORD: ********

👋 @Mark24Slides
The error says that you need to add custom cacerts from digitalocean. Please see https://github.com/plausible/analytics/discussions/3849#discussioncomment-8632836 for more details.

ssl=true, entrypoint.sh db createdb skip and DATABASE_CACERTFILE=/app/ca-certificate.crt does not work

Sorry, but I don't see DATABASE_CACERTFILE in your post. Could you please try it first?

Make sure to recreate the container for the updated env vars to take effect.

Added new path for DATABASE_CACERTFILE, and on the second or third restart, stated to work (envs vere not changed, magic)

@ruslandoga Checked ui and data, looks like v2.1.0 is online


Dev timber update

Sorry for two commits. I just realized now that Jake released a new Timber version 16 hours ago.

:+1:

Could you also then release 0.4.1?

I will release 0.5.0 on weekend (new FPS module)

:+1:

Awesome! Thanks for keeping this awesome library alive.


Backup-DBADatabase Fails to backup to URL with BackupFileName parameter specified

Bug Report

General Troubleshooting steps

[x] Verified running the latest release of dbatools?
[x] Verified errors are not related to permissions?
[x] Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Version Information

Operating System (Name|Version): See attached ComputerInfoOutput.txt file
PowerShell Version: 5.1.14393.1944
SQL Server (Edition|Version): Microsoft SQL Server 2017 (RTM-CU3-GDR) (KB4052987) - 14.0.3015.40 (X64)   Dec 22 2017 16:13:22   Copyright (C) 2017 Microsoft Corporation  Developer Edition (64-bit) on Windows Server 2016 Datacenter 10.0  (Build 14393: ) (Hypervisor)

Steps to Reproduce

[x] Attach any screenshots (if possible/allowed)
[ ] Attach logs generated by dbatools (Get-DbatoolsLog)
[x] Attach output from PowerShell console (if possible/allowed)

Attached screenshot of PowerShell window that has log entries, backup command and verbose output.

Issue Backup-DBADatabase command that backs up to URL and uses the BackupFileName parameter, example as follows;
Backup-DbaDatabase -SqlInstance winsql-0 -AzureBaseUrl https://.blob.core.windows.net/databasebackups/ -Type Full -Database SalesArchive -BackupFileName salesarchivebackup.bak -Verbose
This results in the following error being reported;
WARNING: [Backup-DbaDatabase][18:59:56] SQL Server cannot write to the location https:\.blob.core.windows.net\databasebackups
The backup does not take place.
Problem to solve
Allow database backup file name to be specified when backing up to URL.
Additional information
ComputerInfoOutput.txt

Ty John!

Afternoon,
You need to provide the AzureCredential parameter. That's the name of the SQL Credential needed for the connection.
The underlying SMO only supports the older style BACKUP TO URL style azure backups - https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/sql-server-backup-to-url

Hi John, did the credential bit above help out?

Closing as guessing that fixed it


ADD NEW PROJECT: Password generator and manager

I want to add a project callled password generator and manager. It is created using tkinter and it allows us to generate passwords as well as store them in a json file....so that if we forget them, there would be some records
Please assign me @debarshee2004 @Ritam0

Best of Luck and Happy Coding.

Password generator


Feature/GitHub actions

First version of github action integration.
However there are a few things to be decided:

when should the tests run?
should the documentation use the github pages approach with the gh_pages branch?

When this is merged, it needs to be  squashed. Otherwise the history will be flooded by all the commits.

When this is merged, it needs to be  squashed. Otherwise the history will be flooded by all the commits.

conan remote add dice-group https://api.bintray.com/conan/dice-group/tentris
might be wrong. Should it be
conan remote add dice-group https://api.bintray.com/conan/dice-group/dice-hash
?

conan remote add dice-group https://api.bintray.com/conan/dice-group/tentris
might be wrong. Should it be
conan remote add dice-group https://api.bintray.com/conan/dice-group/dice-hash
?


Fix flaky tests

Sample run : https://dev.azure.com/ms/azure-devops-cli-extension/_build/results?buildId=28226&view=ms.vss-test-web.build-test-results-tab

Closing as per above merged PR. This fixes the genuine issue but not the test which was failing due to timing issue.


Fix FOP index range support #2214

Can this be cherry-picked to hotfix/2.2.3?

Yep, it cherry-picks cleanly to hotfix/2.2.3.

Cherry-picked into hotfix/2.2.3 at 37e77ff.


Lock is not preventing concurrent acquiring

asyncio.Lock() is not preventing concurrent acquiring of the lock.
Circuitpython version: Adafruit CircuitPython 7.3.3 on 2022-08-29; Adafruit Feather Bluefruit Sense with nRF52840
main.py:
import asyncio

async def lock_test(name, lock, sleep_time=0):
    print(name, 'start')
    async with lock:
        print(name, 'acquired lock')
        if sleep_time:
            await asyncio.sleep(sleep_time)
    print(name, 'released lock')
    return name

async def main(yield_mode):
    lock = asyncio.Lock()

    lock.yield_mode = yield_mode
    print('Lock test yield mode:', yield_mode)

    results = await asyncio.gather(
        asyncio.create_task(lock_test('A', lock, sleep_time=0.1)),
        asyncio.create_task(lock_test('B', lock, sleep_time=0.1)),
    )
    print('Task results:', results)

yield_mode = True
asyncio.run(main(yield_mode))

yield_mode = False
asyncio.run(main(yield_mode))

Output:
main.py output:
Lock test yield mode: True
A start
A acquired lock
B start
A released lock
B acquired lock
B released lock
Task results: ['A', 'B']
Lock test yield mode: False
A start
A acquired lock
B start
B acquired lock
A released lock
Traceback (most recent call last):
  File "asyncio/core.py", line 214, in run_until_complete
  File "main.py", line 8, in lock_test
  File "/lib/asyncio/lock.py", line 91, in __aexit__
  File "/lib/asyncio/lock.py", line 51, in release
RuntimeError: Lock not acquired

You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Crash into the HardFault_Handler.

When await core.sleep(0) is used in acquire(), task B is able to acquire the lock even though task A has not yet released the lock. This then leads to the exception when B tries to release the lock that was already released by A.
As a test I modified asyncio/lock.py to show that going back to using yield works while using await core.sleep(0) does not.
# SPDX-FileCopyrightText: 2019-2020 Damien P. George
#
# SPDX-License-Identifier: MIT
#
# MicroPython uasyncio module
# MIT license; Copyright (c) 2019-2020 Damien P. George
#
# This code comes from MicroPython, and has not been run through black or pylint there.
# Altering these files significantly would make merging difficult, so we will not use
# pylint or black.
# pylint: skip-file
# fmt: off
"""
Locks
=====
"""

from . import core

# Lock class for primitive mutex capability
class Lock:
    """Create a new lock which can be used to coordinate tasks. Locks start in
    the unlocked state.

    In addition to the methods below, locks can be used in an ``async with``
    statement.
    """

    def __init__(self):
        # The state can take the following values:
        # - 0: unlocked
        # - 1: locked
        # - <Task>: unlocked but this task has been scheduled to acquire the lock next
        self.state = 0
        # Queue of Tasks waiting to acquire this Lock
        self.waiting = core.TaskQueue()
        self.yield_mode = True

    def locked(self):
        """Returns ``True`` if the lock is locked, otherwise ``False``."""

        return self.state == 1

    def release(self):
        """Release the lock. If any tasks are waiting on the lock then the next
        one in the queue is scheduled to run and the lock remains locked. Otherwise,
        no tasks are waiting and the lock becomes unlocked.
        """

        if self.state != 1:
            raise RuntimeError("Lock not acquired")
        if self.waiting.peek():
            # Task(s) waiting on lock, schedule next Task
            self.state = self.waiting.pop_head()
            core._task_queue.push_head(self.state)
        else:
            # No Task waiting so unlock
            self.state = 0

    async def acquire(self):
        """Wait for the lock to be in the unlocked state and then lock it in an
        atomic way. Only one task can acquire the lock at any one time.

        This is a coroutine.
        """

        if self.state != 0:
            # Lock unavailable, put the calling Task on the waiting queue
            self.waiting.push_head(core.cur_task)
            # Set calling task's data to the lock's queue so it can be removed if needed
            core.cur_task.data = self.waiting
            try:
                if self.yield_mode:
                    yield
                else:
                    await core.sleep(0)
            except core.CancelledError as er:
                if self.state == core.cur_task:
                    # Cancelled while pending on resume, schedule next waiting Task
                    self.state = 1
                    self.release()
                raise er
        # Lock available, set it as locked
        self.state = 1
        return True

    async def __aenter__(self):
        return await self.acquire()

    async def __aexit__(self, exc_type, exc, tb):
        return self.release()

@tekktrik can you take a look at this? The change appears to have been introduced by a PR about "add docstrings" which is odd. https://github.com/adafruit/Adafruit_CircuitPython_asyncio/pull/19/files#diff-6c3d301ce3f21e806072e5b6da07862be0327e8fb5245117013252c725224348R72

Based on a quick read, "yield" in the context of cp/mp asyncio seems to mean "don't schedule me ever, something else will manually schedule me" while "await asyncio.sleep(0)" means "reschedule me as soon as possible". However, I think that's not CPython compatible; yield in an async def is a way of writing an async generator, since python 3.6: https://stackoverflow.com/questions/37549846/how-to-use-yield-inside-async-function

I'll take a look.  The change was made to help get the linter pass, or something like that.

If it needs to be changed back, I didn't have any reason of my own to change them as I did.

I had to change several yield inside the asyncio library to asyncio.sleep(0) when I was proting it

I think they have different semantics in Circuit/MicroPython.

Closed by #30


Fixed the Go import package alignment because the github project moved

Fixed the Go to point to github.com/lestrrat-go/jwx which prevents
go get -v from working in the Docker builds

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1529/
Test PASSed.

@dewrich is this PR still valid?  If so, can you please fix the merge issues?


Add script to print json with accepted talk abstracts

I have one problem: I can't test this unless it is from the server.
How do I pull this code into the server?

You can test this locally by putting the p3.db into data/site/ and then running python manage.py runserver.

Oh, you don't even have to run the server :-)
Just run "python manage.py accepted_talk_abstracts".


Ubuntu 16.04

Just a heads up. Ubuntu 16.04 has moved from Python 2.7 to Python 3.x and merln/vim doesn't work with the newer Python.

Thanks for the information, git version should work with both python2 and python3.

I've just came across this problem.  With Merlin 2.3.1 and a fresh install of Kubuntu 16.04 I get the message Error: Required vim compiled with +python.  However, after opam pin add merlin --dev-repo, the message becomes Error: Required vim compiled with +python or +python3. Any ideas?

Update: branch beta is Merlin 2.3.1 with various bugfixes and support for python3.
@darioteixeira: can you share the output of :version?

@def-lkb: Okay, so I switched from Merlin#master to Merlin#beta, but the problem remains.  In fact, the output of :version is exactly the same:
:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 08 2016 11:38:28)
Included patches: 1-1689
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl             +cmdline_info    +eval            +insert_expand   +modify_fname    -mzscheme        +rightleft       +terminfo        +wildignore
+arabic          +comments        +ex_extra        +job             +mouse           +netbeans_intg   -ruby            +termresponse    +wildmenu
+autocmd         +conceal         +extra_search    +jumplist        -mouseshape      +packages        +scrollbind      +textobjects     +windows
-balloon_eval    +cryptv          +farsi           +keymap          +mouse_dec       +path_extra      +signs           +timers          +writebackup
-browse          +cscope          +file_in_path    +langmap         +mouse_gpm       -perl            +smartindent     +title           -X11
++builtin_terms  +cursorbind      +find_in_path    +libcall         -mouse_jsbterm   +persistent_undo +startuptime     -toolbar         -xfontset
+byte_offset     +cursorshape     +float           +linebreak       +mouse_netterm   +postscript      +statusline      +user_commands   -xim
+channel         +dialog_con      +folding         +lispindent      +mouse_sgr       +printer         -sun_workshop    +vertsplit       -xsmp
+cindent         +diff            -footer          +listcmds        -mouse_sysmouse  +profile         +syntax          +virtualedit     -xterm_clipboard
-clientserver    +digraphs        +fork()          +localmap        +mouse_urxvt     -python          +tag_binary      +visual          -xterm_save
-clipboard       -dnd             +gettext         -lua             +mouse_xterm     -python3         +tag_old_static  +visualextra     -xpm
+cmdline_compl   -ebcdic          -hangul_input    +menu            +multi_byte      +quickfix        -tag_any_white   +viminfo
+cmdline_hist    +emacs_tags      +iconv           +mksession       +multi_lang      +reltime         -tcl             +vreplace
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FO
RTIFY_SOURCE=1
Linking: gcc   -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl

@darioteixeira your vim is compiled without support for python (the two entries in the output of :version that say -python and -python3).
I don't know Debian/Ubuntu very well so I'm not sure how to get a package with python support.

I tried removing vim on Ubuntu 16.04 and installing vim-gnome which is compiled for Python3 and I still have problems with the latest Merlin. Here's version's blurb..

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 08 2016 11:38:28)
Included patches: 1-1689
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version with GTK2-GNOME GUI.

Error: Required vim compiled with +python
Error detected while processing /home/gerard/.opam/4.02.1/share/merlin/vim/ftplugin/ocaml.vim:
line    2:
E117: Unknown function: merlin#Register

@raphael-proust: Yes, the problem likely stems from just a small change in the Vim package between (K)Ubuntu 15.10 and (K)Ubuntu 16.04.  Indeed, running apt-cache search vim | grep "^vim" | grep py yields a bunch of interesting packages:
vim-athena-py2 - Vi IMproved - enhanced vi editor - with Athena GUI (Python2)
vim-gnome-py2 - Vi IMproved - enhanced vi editor - with GNOME2 GUI (Python2)
vim-gtk-py2 - Vi IMproved - enhanced vi editor - with GTK2 GUI (Python2)
vim-gtk3-py2 - Vi IMproved - enhanced vi editor - with GTK3 GUI (Python2)
vim-nox-py2 - Vi IMproved - enhanced vi editor - with scripting languages support (Python2)
vim-python-jedi - autocompletion tool for Python - VIM addon files

After installing vim-nox-py2, issuing :version inside Vim now tells me that python is supported. Also, Merlin seems to be working fine.  Thanks!

@G4143: this is stable version of Merlin, you need to use the git one.
opam pin add merlin https://github.com/the-lambda-church/merlin#beta

I tried darioteixeira's solution "vim-nox-py2" on Ubuntu 16.04 and it work! That's for the help everyone and thank-you merlin maintainers.


Migrate state-specific data to globals in python transforms

Problem
There is data required for state-specific transforms that winds up in the prepare script instead of inside the transform  object where it is re-usable in tests.
Make these objects global:

Input field list
Separator
Date format string

Update the prepare python scripts
Update the integration test script
References
Progress on: #56

Done with transform1.1


feat: edit labelmap with contour

Context

Changes & Results

Testing

Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

[] I have run the yarn build:update-api to update the API documentation, and have
committed the changes to this PR. (Read more here https://www.cornerstonejs.org/docs/contribute/update-api)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] "OS:
[] "Node version:
[] "Browser:

Outdated, merged elsewhere


test yetus 0.12.0

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 21s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ Other Tests _

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

25m 11s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2499

Optional Tests
dupname asflicense hadoopcheck xml

uname
Linux 1a38bb64d6be 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
HBASE-25152 / 604f4d77e6

Max. process+thread count
62 (vs. ulimit of 30000)

modules
C: hbase-common U: hbase-common

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  3s
Docker mode activated.

-0 :warning:
yetus
0m  2s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ HBASE-25152 Compile Tests _

+1 :green_heart:
mvninstall
4m  5s
HBASE-25152 passed

+1 :green_heart:
compile
0m 23s
HBASE-25152 passed

+1 :green_heart:
shadedjars
7m  7s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 22s
HBASE-25152 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 45s
the patch passed

+1 :green_heart:
compile
0m 22s
the patch passed

+1 :green_heart:
javac
0m 22s
the patch passed

+1 :green_heart:
shadedjars
7m  6s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 20s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 54s
hbase-common in the patch passed.

27m 34s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2499

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 3d1e89deaa93 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
HBASE-25152 / 604f4d77e6

Default Java
AdoptOpenJDK-1.8.0_232-b09

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/testReport/

Max. process+thread count
221 (vs. ulimit of 30000)

modules
C: hbase-common U: hbase-common

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 19s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ HBASE-25152 Compile Tests _

+1 :green_heart:
mvninstall
4m 40s
HBASE-25152 passed

+1 :green_heart:
compile
0m 29s
HBASE-25152 passed

+1 :green_heart:
shadedjars
7m 16s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 22s
hbase-common in HBASE-25152 failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 26s
the patch passed

+1 :green_heart:
compile
0m 28s
the patch passed

+1 :green_heart:
javac
0m 28s
the patch passed

+1 :green_heart:
shadedjars
7m 12s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 20s
hbase-common in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
1m 40s
hbase-common in the patch passed.

29m 26s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2499

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 52260b254741 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
HBASE-25152 / 604f4d77e6

Default Java
AdoptOpenJDK-11.0.6+10

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-common.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/testReport/

Max. process+thread count
268 (vs. ulimit of 30000)

modules
C: hbase-common U: hbase-common

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2499/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Did it work?
This work related to #1531 ? If so close it out?

Did it work?
This work related to #1531 ? If so close it out?

Yes it worked. Let's finish the work in HBASE-24200.


BUG: Unable to drag effect from Item to Actor

Whilst dragging an effect from one Actor to another Actor works, dragging an effect between an Item and an Actor does not work.

Core Foundry only supports drag-and-drop of Active Effects between Actors.

See Actor#_onDragStart and Actor#_onDrop


ssh contrib doesn't interact

I don't understand what i'm doing wrong but my case is basic.
I'm simply trying to run ssh
import sys
from sh.contrib import ssh
import logging

logging.basicConfig(level=logging.INFO)

def ssh_interact(content, stdin):
    sys.stdout.write(content.cur_char)
    sys.stdout.flush()

cmd = ssh("<IP_ADDRESS>", interact=ssh_interact)

print(cmd)

cmd.wait()

While running it looks like
$ python3 contrib_ssh.py

INFO:sh.command:<Command '/usr/bin/ssh <IP_ADDRESS>', pid 43938>: process started

If to run the command in a shell, ssh asks the question
$ ssh <IP_ADDRESS>

The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ED25519 key fingerprint is SHA256:w+chO1NXZkCcSSkcN8k5CyeusreCMGT3TmFaDpIAlPI.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])?

And this is what i expect to see from ssh() for interaction later on, but now the process is hanged on.

https://amoffat.github.io/sh/tutorials/interacting_with_processes.html

https://amoffat.github.io/sh/tutorials/interacting_with_processes.html

What i'm doing wrong in general?
Should i interact with a process manually not using sh.contrib.ssh?

This is more of a support issue than a bug with the sh software. If you or your company would like to purchase a support package, reach out to me at my email. Otherwise we can leave the issue open for a bit to see if someone else will debug it with you.

I didn't that you sell OSS.

The software is free and has been for 12 years


[mysql] allow to use a customized database instead of default one

hi,
thanks for creating such great tool. It is really saved lots of time to do integration test.
However, we found that you use default "mysql" database (it also called mysql) as your default database.
https://github.com/ory-am/dockertest/blob/master/mysql.go#L35
url := fmt.Sprintf("%s:%s@tcp(%s:%d)/mysql", MySQLUsername, MySQLPassword, ip, port)

As you may knew, mysql stored user's information and privileges into that database as well.
That would be an issue if we share the same table names.
I think it is better to let caller decide which one of databases should be used.
And, when mysql container is up, we can create the database if it is not default one.
Let me know your concerns.
If you accept PR, I can send one.

Love that! We should do the same for postgres!


Package registration

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/96750
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 603e3c6c8b17f6bc1119ec73ab214d96ed873dee
git push origin v0.1.0


Icon and Heading Alignment Inconsistency Fixed https://github.com/CircuitVerse/CircuitVerse/issues/4353

Fixes https://github.com/CircuitVerse/CircuitVerse/issues/4353
changes made in this PR -  Consistent alignment of icons and headings in the sidebar.

@tanmoysrt  please review


Add dropdownbutton form field convenience class

Fixes #16497 originally created by @ihildebrandt.

cc @HansMuller for review


Unable to deserialize into a vec of untagged enum

Hello,
I have defined structs like this:
#[derive(Deserialize, Debug)]
#[serde(untagged)]
#[serde(rename_all = "PascalCase")]
enum ElementResult {
	Success(ElementSuccess),
	Error(ElementError),
}

#[derive(Deserialize, Debug)]
#[serde(rename_all = "PascalCase")]
struct ElementSuccess {
	name: String,
}

#[derive(Deserialize, Debug)]
#[serde(rename_all = "PascalCase")]
struct ElementError {
	error_message: String,
}

To deserialize an XML looking like this:
<Element>
    <Name>element-1</Name>
</Element
<Element>
    <Name>element-2</Name>
</Element>
<Element>
    <ErrorMessage>error on element-3</ErrorMessage>
</Element>

I am unable to deserialize this XML into Vec<ElementResult>
But when I keep the ElementSuccesses from the XML and deserialize it into a Vec<ElementSuccess> everything works fine (same for when isolating ElementErrors to deserialize into a Vec<ElementError>).
Given the enum representation documentation (https://serde.rs/enum-representations.html), this is not expected behaviour.

I think this would need to be reported against the XML library you are using, since that is maintained by different people.


Warning: Each child in an array or iterator should have a unique "key" prop

I am...
| -------------------------------------------------------------------------------------------------

Reporting a bug or issue

Expected behavior:
Styleguide example builds without warnings or errors
Observed behavior:
Warnings start appearing from first run.
Console output:
console> Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `Palette`. See https://fb.me/react-warning-keys for more information.
    in Swatch (created by Palette)
    in Palette (created by Document)
    in view (created by View)
    in View (created by Section)
    in view (created by View)
    in View (created by Section)
    in Section (created by Document)
    in view (created by View)
    in View (created by Document)
    in Document
⛏  Built ./main.js in 1733ms

How to reproduce:
Clone to desktop
Run Styleguide example
Sketch version:
49.2
Node v9.11.1
npm 5.6.0
Please attach screenshots, a zip file of your project, and/or a link to your github project

it's in the styleguide example, one of the loops must have keys missing. Should be an easy PR up for grabs

@mathieudutour I cloned repo (master) and ran npm run test and am getting some errors without touching code or anything. Maybe I did something wrong?
Summary of all failing tests
 FAIL  __tests__/components/RedBox.js
  ● <RedBox /> › renders simple errors

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot 1.

    - Snapshot
    + Received

    @@ -42,11 +42,11 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      invariant
    +      invariant (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
    @@ -54,11 +54,11 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      Object.<anonymous>
    +      Object.<anonymous> (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
    @@ -66,11 +66,11 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      Object.<anonymous>
    +      Object.<anonymous> (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
    @@ -78,11 +78,11 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      attemptAsync
    +      attemptAsync (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
    @@ -90,43 +90,47 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      QueueRunner.run
    +      QueueRunner.run (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
             Object {
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
    -      } />
    +      }>
    +      /Users/carlos/Dropbox/_Local/Github/public
    +    </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
             Object {
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
    -      } />
    +      }>
    +      /Users/carlos/Dropbox/_Local/Github/public
    +    </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
             Object {
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      Object.fn
    +      Object.fn (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
    @@ -134,11 +138,11 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      attemptAsync
    +      attemptAsync (/Users/carlos/Dropbox/_Local/Github/public
         </text>
         <text
           name="Text"
           resizingConstraint={undefined}
           style={
    @@ -146,9 +150,9 @@
               "color": "white",
               "fontFamily": "Monaco",
               "marginTop": 20,
             }
           }>
    -      QueueRunner.run
    +      QueueRunner.run (/Users/carlos/Dropbox/_Local/Github/public
         </text>
       </view>
     </view>

      at Object.<anonymous> (__tests__/components/RedBox.js:13:20)

Snapshot Summary
 › 1 snapshot test failed in 1 test suite. Inspect your code changes or run with `npm test -- -u` to update them.

I dont think I should update snapshots because ill be sending a falining test in the PR, am I right?

Hum that's weird. Maybe a jest update or something?
There has already been a PR to fix this tho: https://github.com/airbnb/react-sketchapp/pull/311. Are there some other missing keys?

@mathieudutour I don't know but ill check. also, just to make sure I am doing it right, first I fork, then I clone to my laptop? that's what is stated on README so I am a little lost on how to do a PR from my end to this one.

Yes that would be the steps to do a PR
On Fri, May 4, 2018 at 2:03 PM Carlos Santiago<EMAIL_ADDRESS>wrote:

@mathieudutour https://github.com/mathieudutour I don't know but ill
check. also, just to make sure I am doing it right, first I fork, then I
clone to my laptop? that's what is stated on README so I am a little lost
on how to do a PR from my end to this one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-sketchapp/issues/294#issuecomment-386734505,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACp8Qx_cFDBTaaSDfrIXqxoyt3Mv3nb1ks5tvMI3gaJpZM4TeQnQ
.


Fix fmt and clippy issues

Should we be fixing formatting etc for parts of the code that we haven't touched? Just thinking it may conflict with upstream unless they have the same fixes...

Should we be fixing formatting etc for parts of the code that we haven't touched? Just thinking it may conflict with upstream unless they have the same fixes...

Should we be fixing formatting etc for parts of the code that we haven't touched? Just thinking it may conflict with upstream unless they have the same fixes...

That's right. I was not sure whether we sync first or merge our PRs. Let's sync first then.


[WIP] try a run with Travis' py3.8

This is just an experiment to see if the 3.8-dev version of Python indeed is usable for Travis builds. Can't make it a "draft" PR since Travis won't trigger on drafts.
Signed-off-by: Mats Wichmann<EMAIL_ADDRESS>Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[ ] I have updated master/src/CHANGES.txt directory (and read the README.txt in that directory)
[ ] I have updated the appropriate documentation

So this seems to work fine... it hits one of the known remaining issues and misses the second one (three fails due to warnings on use of imp module in Main.py - presumably this Python 3.8 is built with different assumptions than mine). Is it worth merging, or shall we wait?


Return import and ref snippets from autocomplete

instead of making the user tab twice (once to select the completion and once to trigger the snippet)

I'd rather do the import as a code based version that reads our cson snippets file. That will allow future expansion. Anybody is welcome to tackle that.


sessions: review css

Check if make available non rendering css at the begining is better than require them in each css file.
cc @viddo


Nismod db++

Custom endpoint written and tested. Uses a .ini file to set the URL details and pass the required parameters for the data from the model - I would suggest the parameter situation could be imporved and shouldn't be passed like this, they should come from the variables within the code it self.

@Craig-Robson  I'll have a look at better handling the parameters. I am guessing what you would like is to be able to specify them when calling HH via NISMOD-DB++?


Add missing compact mk5 OC

There is an edge case where a mk4 recipe has too high of a startup cost to get OCd by a mk5 compact, even though the recipe voltage would allow for it. This PR fixes that by adding a check for this exact scenario, which adds 1 OC.
Rhugnor was such an edge case and was the exact same speed in a mk4&mk5 compact, which is obviously wrong. With this PR it receives 1 OC as expected (going from 25.6 to 6.4 seconds)

Not a proper fix I would say. Have a better idea for this.

superseeded by https://github.com/GTNewHorizons/GoodGenerator/pull/241 and co-PRs


Please add link to possible location values

Reading this article I have absolutely zero idea how should I fill the {location}. My location is West Europe. In the example, the location South Central US is used and the {location} is filled with southcentralus. Should I remove spaces and lowercase and use westeurope or maybe euwest or is it westeu? When debugging permission issues it would be great to know what is the exact value neded.

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

ID: 997d2665-678f-6739-745f-14b784d42962
Version Independent ID: a4c8f412-bd5b-7653-a744-5da7dc5cd5ca
Content: Azure API Management soft-delete (preview)
Content Source: articles/api-management/soft-delete.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@RytisLT
Thanks for your feedback! We will investigate and update as appropriate.

@RytisLT The doc talks about Deleted Services - Get By Name Api and location here points to the actual name of the location (Azure Data Centers). To clarify, South Central US is the display name and southcentralus is the name of the location and you can use https://learn.microsoft.com/en-us/rest/api/resources/subscriptions/list-locations to get the possible values for your subscription. I hope this helps.

@RytisLT I hope the clarification helps and will proceed to close this thread. We are making changes to add location link and will be published soon. Thanks again for the feedback.


Rails gem version as a param in helper method URLs is rendered in resulting image's alt-tag

When using any of the IMGIX Rails gem helper methods (ix_image_tag, ix_picture_tag, ix_image_url) the resulting IMGIX URL(s) include the rails gem name and version as the first param. This subsequently is rendered in the image's alt-tag (Rails by default renders the image file name if you don't explicitly pass an alt: option in image_tag).
Example URL: example.imgix.net/bucket/file-name.jpg?ixlib=rails-2.1.1&w=300&h=300
Without the ixlib=rails param the alt-tag looks like: alt="file name"
With the ixlib=rails param the alt-tag looks like: alt="file name.jpg?ixlib=rails 2.1"
Would it be possible to remove the ixlib from the URL params, or pass it along in some other way so it doesn't interfere with Rails native alt-tagging abilities?
Ruby version: 2.3.1p112
Rails version: 5.0.0
IMGIX gem version: 2.1.1

Hey @amdixon, you can disable generating the ixlib param by adding include_library_param: false to your config hash. That should do the trick, but feel free to reopen this issue if you have more questions.

This include_library_param param is lacking in the docs-would be helpful to provide all the params that are available.


Align BGP Peer model with other per-host and global config types

This PR aligns the BGP Peer backend model with other models that support per-node and global varieties (i.e. by having separate model types for each).
This was something that I wanted to change previously and ultimately limits the potential processing the backend has to implement.
Although not strictly required, it does align more nicely with our felix and bgp config model and for k8s simplifies the processing since they are handled differently, and for etcd allows a less permissive root to be used for the enumeration.  I think as we move to a more k8s idiomatic indexing, the per-Node model will effectively just be phased out, or converted to a different type (using a node selector)...
This also splits out the API->KVPair conversion so that k8s may use it when we construct a k8s resource that uses the same api.BGPPeerSpec (as we did previously for Network Policies)

Added more tests to check additional validation.
The converter code is tested through the client tests - but not directly in the converter module.

Squashed.  Will merge as soon as tests pass.


CocoaPods still pointing to 2.2

Have you planned to upgrade your cocoapod from 2.2 to 2.3 ?

Oh, my mistake.
Just updated, 2.3 is available now.
Tks for your attention.


Update CODEOWNERS

Description

Changes

Reference

Fixes #

/lgtm
/approve

@navid you need to use the GitHub "Approve" button for now since we have switched to CODEOWNER. /approve is not good enough.

Thanks !


Feature request: new aerial screensavers

I hope you'll be doing whatever is necessary to support the new aerial screensavers! I love this screensaver so much!

Space would be very nice!

I'd love the new screensavers too, but it looks like this app is no longer being maintained?

The current JSON manifest doesn't appear to include them yet, so either they haven't actually shipped those videos yet, or the new tvOS release uses a new URL.

None of 3rd party screensavers seems to work with new Mojave, including this Aerial app.

@WEZANGO it writes on the main page of the project about this issue. Try it, maybe it will work. Cheers!

@remus-b unfortunately no luck. Also tried to delete and reinstall it, but still not working.

Can anyone confirm tvOS 12 will even fetch the new videos yet? They may not be live at this point.

Any updates on this? Would love to see the new ones on here some day! :)

I saw the new video yesterday on my ATV, but definitely the url seems to be different since we don't get them in the json files that are in use (neither the one with 4K videos).

http://benjaminmayo.co.uk/watch-all-the-apple-tv-aerial-video-screensavers#30047FDA-3AE3-4E74-9575-3520AD77865B
can someone painstakingly create a gist to download all the videos using youtube downloader?
should be
brew install youtubedl

youtubedl  http://youtube.com/link......

https://sylvan.apple.com/Videos/comp_A114_C001_0305OT_v10_SDR_FINAL_22062018_SDR_2K_AVC.mov

I think what we actually need is the new JSON url from Apple. This is the original one:
http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/entries.json
That one doesn't have the new stuff. That's the root of the issue. So what is the new one? Would any little birdies like to tell us? If someone here has an AppleTV and can run its traffic through a VPN you control, you could probably see where it's going to get the list of videos to play.

This guy has them: http://benjaminmayo.co.uk/watch-all-the-apple-tv-aerial-video-screensavers

The page at benjaminmayo.co.uk is using this JSON feed:
http://benjaminmayo.co.uk/scripts/apple-tv-screensavers.json
But that one isn't provided by Apple, and thus might fall out-of-date with the real thing. I presume we won't get an update until we have the actual Apple feed's new URL.
So, hey @benjaminmayo, what's the new URL?

The format changed somewhat; you need to extract the JSON out of here https://sylvan.apple.com/Aerials/resources.tar. The JSON includes the URLs to the videos and the time markers for the tvOS 12 captions as a dictionary, keyed by time. The values of this dictionary are keys which can be found in the strings plists.

For those who would like to test it, I made a quick fork that parses the new files, it plays the 4K-SDR videos by default. Build here :
https://github.com/glouel/Aerial/releases/download/v1.4a1/Aerial.saver.zip

Thanks seems to be working, with the exception of the "Done" button.

Yes the Done button seems to be a Mojave issue, happened also with previous versions. I'll try to have a look tomorrow but not sure what happens there. See
https://github.com/JohnCoates/Aerial/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement

I investigated the Done button a bit but couldn't find anything particular, I assume it's another bug linked to Swift screensavers in Mojave, I'll try submitting a radar next week with a small sample project.
In the meantime, pushed a new version with a few features :

1080p and 4K support (you can switch in cache panel)
optional video description displayed (bottom left of the screen at video start
tweaked the path selector's color for dark mode in cache panel (was barely readable)

Build here : https://github.com/glouel/Aerial/releases/download/1.4b5/Aerial.saver.zip

Awesome stuff! the new videos work perfectly for me. thanks for work you've put into this

Hopefully we'll be able to merge changes when @JohnCoates names some extra mainteners. In the meantime, one last build, finally found the issue with the "Done" button not closing on Mojave.
I ended up browsing all swift screensavers on github, found the answer on this project https://github.com/burnsra/SilhouetteSaver (which ironically doesn't work on Mojave) with an alternate way to dismiss the sheet 🎉
Build here :
https://github.com/glouel/Aerial/releases/download/1.4b6/Aerial.saver.zip

Thank you very much @glouel for the work you've put into this - the earth from space video looks amazing on my MacBook!

great job @glouel !

@glouel Thank you so much. I spent a day trying all possibilities to terminate the sheet and didn't think about this one.

@glouel Thank you so much! I was so excited to add these new stunning ISS screen savers after tvOS 12 released to this old app.

@glouel thanks for your update!!!

@glouel when I try your latest release on Mojave I get a warning "You cannot use the Aerial screen saver on this version of macOS. Please contact the vendor to get a newer version of the screen saver." Any ideas?

@glouel when I try your latest release on Mojave I get a warning "You cannot use the Aerial screen saver on this version of macOS. Please contact the vendor to get a newer version of the screen saver." Any ideas?
Edit: Nevermind, tracked it down to #487

To be clear, does it work for you now ? It should work on the latest builds of Mojave.

So I'm putting one more beta here. This one addresses a couple of things, and is mostly for those who have Macs older than Late 2015 (see
https://github.com/JohnCoates/Aerial/issues/505 ). If you install it on top of a previous beta, please go into Cache and set your Video Format to the one you wish to use to avoid redownloading videos. I set the default to 1080p H264 (the most compatible one). There's a help button with more info on what to use.

Build here :
https://github.com/glouel/Aerial/releases/download/1.4b7/Aerial.saver.zip

The Done button works in 1.4b7!!

@glouel  Feature request - would it be possible to optionally allow the video description to remain showing rather than fading off after a few seconds please? I often miss the start of the videos but would still like to know where each location is.
Thanks!

@glouel Feature request - would it be possible to optionally allow the video description to remain showing rather than fading off after a few seconds please? I often miss the start of the videos but would still like to know where each location is.
Thanks!

There you go :

https://github.com/glouel/Aerial/releases/download/1.4b8/Aerial.saver.zip

Superb!!! Thank you very much @glouel !!
Lots of work colleagues keep gawking at these amazing aerial videos on my laptop (especially the earth ones), and it's thanks to your efforts they work really well with no more bugs on my Mojave build. I really like the ability to display a different video on each screen too! It's all very distracting so really must get back to doing actual work. :)

Sorry but I don't have the "always" option next to "show descriptions" :-(

Hehe thanks @quavoce  ;) I really enjoy those space videos so it was fun adding them back !
There are still a few things that needs to be addressed, hopefully we can put some roadmap and better track bugs after we get a new maintainer.
Some random thoughts about my implementation :

In order to add H264, there's one Honk Kong video that is now ignored. This particular video isn't available in H264 in the JSON, only in HEVC, and because of the internals of the video list, I had to remove it for everyone (can't have a video missing for one format).
I have a branch that brings back tvOS11 4K screensavers. Sad thing is, and I should have checked before... they are nearly all in the tvOS12 JSON already 😅 There's one desert video (and I don't remember the other one) that aren't included in the tvOS12 JSON. Because it was a quick hack and it didn't bring much, I didn't push that branch. If the video list gets fixed (see above), we could also add back the tvOS10 videos (the originals). Those are 1080p H264 only though.
I'm pretty sure that even on my Late 2015 iMac 5K (Intel Skylake with AMD GPU), AVKit uses Intel's iGPU fixed function hw decoding (aka QuickSync) for H264, as I saw this on the console :
GVA info: Successfully connected to the Intel plugin, offline Gen9
I assume it is also used for HEVC too in my case (although I didn't see any such message on console).
Some discrete AMD GPUs also have H.264 and HEVC decoding, but not all of them. In my case (M2XX, Tonga), that generation only has UVD 5.0 with H.264 hw decoding, but not HEVC. HEVC came with Polaris (the 400/500 series on laptops).
Knowing what gets used will probably be pretty important in order to track bugs/crashes in the future (see https://github.com/JohnCoates/Aerial/issues/468 which I couldn't reproduce after a few hours of playback on my very old Sandy Bridge 2011 Macbook Air). I don't know if we can know either what is available, or what is used through an API, or if we'll have to do guesswork. Some interesting cases would be the iMac Pro (no IGP, but modern AMD GPU with H.264/HEVC decoding, which I assume is used there) or the old Mac Pros (no IGP, probably only H.264 decoding ?).
I'm pretty sure we're streaming when we shouldn't, probably on the control panel. There were a few issues raised about that, I think some cleanup around that is needed. I also added a (hidden/non implemented) checkbox to disable all streaming.
Full Offline mode should be easy to add, but will need some serious rejiggering of the manifestloader though.
A fade in/out for videos would be coo tool, someone had a patch but ran into some issues, mostly because in order to implement the fade out, you need accurate duration for the video. This is the kind of thing that may have been fixed in later versions of AVKit/MacOS and will need to be investigated more.
We talked with @esetnik about what would be needed for bringing back day/night, and show day/night videos depending on current time (a bit like the dynamic wallpapers on Mojave). That will probably come later though.

Sorry but I don't have the "always" option next to "show descriptions" :-(

It's in beta 8 :
https://github.com/glouel/Aerial/releases/download/1.4b8/Aerial.saver.zip

Sorry but I don't have the "always" option next to "show descriptions" :-(

It's in beta 8 :
https://github.com/glouel/Aerial/releases/download/1.4b8/Aerial.saver.zip

Reloaded and voila! Have the option now!

Thanks for the updates, the new space aerials are great.

Great job guys! And thank you so much for your work @glouel – on my Mac it works impeccably. Wow. So great a screensaver to have. I can't fathom why Apple hasn't made this standard on MacOS…

I'm running the new 1.4b8 version and it looks great! Thanks Guys! I did have a thought. I'm a little concerned about enabling the location display to always as it fixes it into the lower corner all the time. It should be changed frequently enough to prevent any burn in I suppose, but to be safe and for aesthetic reasons has anyone considered styling the location display like the floating clock and having it drift around too?

@vichudson1 that's a really good point considering this is after all a "screen saver" and shouldn't by definition be causing any additional burn in or uneven wear.

Ideally, there's a string bundle with the extra descriptions that are shown on the Apple TV. That's one thing I didn't put on my big post up there, it would be a "nice to have" to be able to display those (there's a timecode and a string to be displayed at specific times). I haven't looked into it yet.
Moving the description in the meantime sounds good to me. Maybe something "subtle" like moving from one corner to another every minute or so ?
Side note, starting with 10.13, we can detect if HEVC/H.264 hw acceleration is available, but it doesn't give any detail on the method used. Still better than nothing.

Thanks to @JohnCoates I pushed the latest build in this repository, you can find it in the releases. Only difference with my own 1.4beta9 build is that this one is signed, should be easier for everyone 🎉

If you have a minute check this issue for a test version with the extended descriptions for the space videos :
https://github.com/JohnCoates/Aerial/issues/512


Use XDG Base Directory Specification for configuration directory

Implements #77
Uses the following strategy to get the configuration directory:

look for $XDG_CONFIG_HOME and return $XDG_CONFIG_HOME/bin if set and exists
look for $HOME/.config and return $HOME/config/bin if it exists
as default return '$HOME/.bin'

This will break existing users' configurations if they have the XDG variable and the existing config file

Good point, I've added a check for an existing configuration and return the default directory if a configuration exists.

Thanks for the PR. I like this, I look forward to have this merged.

SGTM. after @sirlatrom approval we can merge.

@marcosnils I'll give it a proper look tomorrow CET, want to make sure I understand the error handling. Or you can merge if you want, I can understand it later :smile:

@marcosnils I'll give it a proper look tomorrow CET, want to make sure I understand the error handling. Or you can merge if you want, I can understand it later

No worries, we can wait. There's no need to rush it


Style HTML tag

Why
As mentioned by @purefunctor it would be nice to have full SSR support on styled-ppx:

That way the user doesn't need to create a function to handle it and it will work out of the box by the library.
How

Deprecating render_style_tag since it doesn't render a tag but the style rules

This avoids breaking change needs

Creating get_style_rules based on render_style_tag
Creating the render_style_html_tag to deliver a full SSR-supported style tag.

Example: <style data-s data-emotion="css className1">.css-className1 { display: block; }</style>

Attention
The tests for render_style_html_tag are almost a duplication of get_style_rules, but the idea is to have both to avoid any need for unnecessary breaking change for now.

This looks good so far! Though, there's one quirk about the style tag rendering that I misspoke about in the screenshot above. The expected output should actually look like this:
<style data-emotion="css id123-someName" data-s>
  .css-id123-someName { }
</style>

Basically, the IDs used in data-emotion should not have the css- prefix. Also, to keep consistent with emotion's client-side behaviour maybe data-s could go second?
To my knowledge, Stylesheet.get_all already returns names prefixed with css-, so the only way to extract the IDs is to mechanically chop the prefix, which works, but is a little unsafe. Thoughts, @davesnx?

Probably best to add the prefix where it matters only, and render here without any change.
Do you know why emotion doesn't need the "css-" prefix here?

This looks good so far! Though, there's one quirk about the style tag rendering that I misspoke about in the screenshot above. The expected output should actually look like this:
<style data-emotion="css id123-someName" data-s>
  .css-id123-someName { }
</style>

Basically, the IDs used in data-emotion should not have the css- prefix. Also, to keep consistent with emotion's client-side behaviour maybe data-s could go second?
To my knowledge, Stylesheet.get_all already returns names prefixed with css-, so the only way to extract the IDs is to mechanically chop the prefix, which works, but is a little unsafe. Thoughts, @davesnx?

@purefunctor What about the animation- prefix? Does it need to be removed?

Do you know why emotion doesn't need the "css-" prefix here?

I'm not entirely sure myself, maybe it's just how emotion encodes it? Ultimately it sees the prefix already as the first word under data-emotion.

What about the animation- prefix? Does it need to be removed?

Not sure as well, it's be good to check but I won't be able to until tomorrow!

Probably best to add the prefix where it matters only, and render here without any change.
Do you know why emotion doesn't need the "css-" prefix here?

Were you talking about something like this?
- let pp_keyframes hash keyframes =
+ let pp_keyframes preffix hash keyframes =
   let pp_keyframe (percentage, rules) =
     Printf.sprintf "%i%% { %s }" percentage (render_declarations rules)
   in
   let definition = keyframes |> List.map pp_keyframe |> String.concat " " in
-  Printf.sprintf "@keyframes %s { %s }" hash definition
+  Printf.sprintf "@keyframes %s-%s { %s }" preffix hash definition

(* ... *)

(* `resolved_rule` here means to print valid CSS, selectors are nested
   and properties aren't autoprefixed. This function transforms into correct CSS. *)
- let pp_rules hash rules =
+ let pp_keyframes preffix hash keyframes =
   (* TODO: Refactor with partition or partition_map. List.filter_map is error prone.
      Ss might need to respect the order of definition, and this breaks the order *)
   let list_of_rules = rules |> resolve_selectors in
   let declarations =
     list_of_rules
     |> List.map Autoprefixer.prefix
     |> List.flatten
     |> List.filter_map render_declaration
     |> String.concat " "
-    |> fun all -> Printf.sprintf ".%s { %s }" hash all
+    |> Printf.sprintf "@keyframes %s-%s { %s }" preffix hash definition
   in

(* ... *)

- let render_hash prefix hash styles =
+ let render_hash hash styles =
    let is_label = function D ("label", value) -> Some value | _ -> None in
    match List.find_map is_label styles with
-   | None -> Printf.sprintf "%s-%s" prefix hash
-   | Some label -> Printf.sprintf "%s-%s-%s" prefix hash label
+   | None -> Printf.sprintf "%s" hash
+   | Some label -> Printf.sprintf "%s-%s" hash label

let style (styles : rule list) =
  match styles with
  | [] -> ""
  | _ ->
+    let type_ = "css"
     let hash = Emotion_hash.Hash.default (rules_to_string styles) in
-    let className = render_hash "css" hash styles in
+    let className = render_hash hash styles in
     Stylesheet.push instance (type_, className, Classnames styles);
-    className
+    Printf.sprintf "%s-%s" type_ className

let keyframes (keyframes : (int * rule list) list) =
  match keyframes with
  | [] -> ""
  | _ ->
+  let type_ = "animation"
    let hash = Emotion_hash.Hash.default (keyframes_to_string keyframes) in
    Stylesheet.push instance (hash, Keyframes keyframes);
-   animationName
+  "Printf.sprintf "%s-%s" type_ animationName

let get_style_rules () =
  Stylesheet.get_all instance
  |> List.fold_left
        (fun accumulator (type_, hash, rules) ->
          match rules with
          | Classnames rules ->
            let rules = pp_rules type_ hash rules |> String.trim in
            Printf.sprintf "%s %s" hash rules
          | Keyframes keyframes ->
            let rules = pp_keyframes type_ hash keyframes |> String.trim in
            Printf.sprintf "%s %s" hash rules)
        ""
  |> String.trim

Here's an initial fix I came up with, it doesn't account for animations yet:
https://github.com/purefunctor/styled-ppx/commit/3032deec06c52be6ab2f6997ddeeda1d40d3f5fd

Okay, so with animations, here's what @emotion/server emits on my SSR script. They're stuffed under the css-global namespace with the hashes (as expected):
<style data-emotion="css-global 1acbpvw">
  @-webkit-keyframes animation-1acbpvw {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

  @keyframes animation-1acbpvw {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }
</style>

I also discovered that for [%styled.global ...] styles, emotion emits the following, though I'm not entirely sure where it got the hash from.
<style data-emotion="css-global 1dvid4v">
  body {
    background-color: #1F1F1F;
    color: #F5F5F5;
    margin: 0;
    padding: 0;
  }

  #root {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1rem;
    min-height: 100vh;
  }

  #root>main {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  @media screen and (min-width: 768px) {
    #root {
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }
  }
</style>

⚠ To my future me ⚠
It would be nice to have a demo of this fature on styleppx


How to specify excludeSpecPattern per job?

Latest version of Cypress action is sniping at me because I had config: ignoreTestFiles=**/some glob in one job in my workflow.
The ignoreTestFiles configuration option is now invalid when set on the config object in Cypress version 10.0.0.
It is now renamed to excludeSpecPattern and configured separately as a testing type property: e2e.excludeSpecPattern
{
  e2e: {
    specPattern: '...',
  },
}

I don't want to add excludeSpecPattern to my cypress.config.js b/c I want to specify it only for one job, not all of them. I quickly tried it as a command line flag by doing
-          config: ignoreTestFiles=**/some glob
+          config: e2e.excludeSpecPattern=**/some glob

but that didn't work. Is there some other way I can specify it for only this job?

Anyone ever figure this out?  I'm stuck on exactly this issue right now and can't find any docs around it.

I found a way to get this to work.
          config: '{"e2e": { "excludeSpecPattern": "**/*visual*.cy.js" } }'

Basically you need to JSON.stringify the options you want to use.  Also, I had a hard time with this because I didn't expect to need the spec pattern to look within directories.  Without the leading **/ it will not match anything.
This was a helpful tool for debugging the glob, which I found in the docs somewhere.
https://globster.xyz/?q=**%2F*visual*.cy.js&f=%2Fend-to-end-tests%2Fcypress%2Fe2e%2Flogin.cy.js%2C%2Fend-to-end-tests%2Fcypress%2Fe2e%2Fvisual.cy.js

WFM! Thanks!


Muting a word and using it in your own post hides the post entirely in the following feed

Describe the bug
Creating a post containing a mute word from your own muted words list completely hides the post from yourself in the following feed
To Reproduce
Steps to reproduce the behaviour:

In muted words add PaulIsGinger.
Create a post containing PaulIsGinger, it can either be just the hashtag, or text and the hashtag, or the hashtag and text, or the hashtag surrounded by text.
Refresh your following timeline.
The post does not appear at all in your following timeline, although it does appear in your profile, properly muted.

Expected behaviour
I would expect any post that I make, with a word I muted in the post to appear in the following timeline, like any other post I make.
Details

Platform: Desktop, iOS
Build version: 1.70.0; Platform: web

I will do this task please assign me

This is resolved in the upcoming version.


Solid pod hosts don't support 'mei' extension

Hosts like inrupt.net don't support uploading of mei files yet. For this reason also the solid-filemanager connected to those hosts doesn't support it.
Mei files are xml files with the MEI musical notation, which are used in Trompa projects such as the Trompa Campaign Manager.

Update: it's not the host, but the used fetching library that doesn't support the filetype. Could be implemented at a later stage.


Unify CSS parsing changes in Chapters 13 & 14

From chapter 6 through Chapter 12, a CSS property–value pair is <word>: <word>. However, in Chapter 13 we want to parse transition values, which have spaces in them (unlike word) and in Chapter 14 we want to parse outline values, which have the same issue. So at some point CSSParser has to change.
The issue is that the actual change is described in Chapter 14 and uses the until_chars method. But in Chapter 13, which comes before it, there's a silent code change to instead use an until_semicolon function.
I don't care which approach is which, but we should 1) use the same approach in both places; and 2) describe the change in Chapter 13, not Chapter 14!

Unfortunately this issue is a little more complex than this; there are also necessary changes to word that don't show up in the chapter. But they might be obsolete? (I think they were for parsing url('...') correctly? for background-image support that we ultimately canned?)


Fix release pipeline

Version source is now tag
mkdocs dependencies are installed as an poetry extra
Set the publish pipeline trigger to closed pull request in main

please remove setup.cfg, as it is a relict from flake8, which will no longer been used.


[zh-cn][Umbrella] Files to sync for 1.26

[ ] task files: https://github.com/kubernetes/website/issues/39983
[ ] contribute files: https://github.com/kubernetes/website/issues/39984
[ ] concept files: https://github.com/kubernetes/website/issues/39985
[ ] tutorial files: https://github.com/kubernetes/website/issues/39986
[ ] reference files: https://github.com/kubernetes/website/issues/39987

/language zh
/triage accepted
/help

cc @chenrui333 @chenxuc @my-git9 @kinzhi @mengjiao-liu @SataQiu @Sea-n @tanjunchen @tengqm @windsonsea @xichengliudui

Congratulations! We have finished all tasks, thanks to everybody!


Is there any chance to keep the navibar still when keyboard collapses?

As the example code provided in this repo, keyboard collapses  when the "done" button is hit. And I noticed that the navibar has a brief animation of rising up.
So I wonder if there is a way to keep the Navibar still.
Thank you

Hi, thank you for pointing this out. I found the issue and will include it in the next release :)

This is fixed with version 5.1.0


add a config feature in kube - fixes #533

surprisingly simple to split up these features

released in 0.56


Remove the zope.interface dependency

The zope.interface mechanism was modified since Certbot 1.18.0 in favor of abstract base classes and was deprecated in Certbot 1.19.0.
It's no longer required nor useful.

Thank you for the contribution. I can not update the pypi version currently and will do this at a later tume.

pypi updated


Support start and end time for time-qarrays

This was tricky, but it ultimately helped to smooth out some rough edges in the current implementation. I'm happy to get some feedback before finishing the implementation with the todos listed below, I recommend reading commit by commit.
Left todo:

[ ] benchmark new implementation
[ ] add tstart and tend to discontinuity_ts
[ ] document (new constructors optional arguments, new TimeQArray attributes and add a section on composing pulses in the tutorial)
[ ] verify that we can jit/grad on tstart/tend (this could be used for example to fit a delay in an experiment)

Related to https://linear.app/dynamiqs/issue/DYN-147/improve-timearray-support.

After discussion: let's do an API with .trim() and .shift(). I'll work on this later.