ImportError: No module named tensorflow

I've installed all requirements and when I run python main.py --num-iters 500 --save-every 50, I get:
 ➜  artsy git:(master) python main.py --num-iters 500 --save-every 50
Traceback (most recent call last):
  File "main.py", line 7, in <module>
    import tensorflow as tf
ImportError: No module named tensorflow
➜  artsy git:(master)

Full log:
➜  artsy git:(master) pip install -r requirements.txt
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting tensorflow
  Downloading tensorflow-2.7.0-cp39-cp39-macosx_10_11_x86_64.whl (207.1 MB)
     |████████████████████████████████| 207.1 MB 24 kB/s
Collecting numpy
  Downloading numpy-1.21.4-cp39-cp39-macosx_10_9_x86_64.whl (17.0 MB)
     |████████████████████████████████| 17.0 MB 31.7 MB/s
Requirement already satisfied: pillow in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (8.1.0)
Collecting matplotlib
  Downloading matplotlib-3.5.1-cp39-cp39-macosx_10_9_x86_64.whl (7.3 MB)
     |████████████████████████████████| 7.3 MB 21.9 MB/s
Collecting scipy
  Downloading scipy-1.7.3-cp39-cp39-macosx_10_9_x86_64.whl (33.2 MB)
     |████████████████████████████████| 33.2 MB 29.7 MB/s
Collecting flatbuffers<3.0,>=1.12
  Downloading flatbuffers-2.0-py2.py3-none-any.whl (26 kB)
Collecting google-pasta>=0.1.1
  Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 9.6 MB/s
Collecting wrapt>=1.11.0
  Downloading wrapt-1.13.3-cp39-cp39-macosx_10_9_x86_64.whl (33 kB)
Collecting six>=1.12.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting keras-preprocessing>=1.1.1
  Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
     |████████████████████████████████| 42 kB 3.0 MB/s
Collecting keras<2.8,>=2.7.0rc0
  Downloading keras-2.7.0-py2.py3-none-any.whl (1.3 MB)
     |████████████████████████████████| 1.3 MB 35.6 MB/s
Collecting gast<0.5.0,>=0.2.1
  Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting opt-einsum>=2.3.2
  Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
     |████████████████████████████████| 65 kB 11.8 MB/s
Collecting libclang>=9.0.1
  Downloading libclang-12.0.0-py2.py3-none-macosx_10_9_x86_64.whl (12.2 MB)
     |████████████████████████████████| 12.2 MB 33.8 MB/s
Collecting tensorboard~=2.6
  Downloading tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
     |████████████████████████████████| 5.8 MB 36.8 MB/s
Collecting termcolor>=1.1.0
  Downloading termcolor-1.1.0.tar.gz (3.9 kB)
  Preparing metadata (setup.py) ... done
Collecting protobuf>=3.9.2
  Downloading protobuf-3.19.1-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 36.1 MB/s
Collecting astunparse>=1.6.0
  Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting h5py>=2.9.0
  Downloading h5py-3.6.0-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 34.9 MB/s
Collecting typing-extensions>=3.6.6
  Downloading typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting absl-py>=0.4.0
  Downloading absl_py-1.0.0-py3-none-any.whl (126 kB)
     |████████████████████████████████| 126 kB 20.1 MB/s
Requirement already satisfied: wheel<1.0,>=0.32.0 in /usr/local/lib/python3.9/site-packages (from tensorflow->-r requirements.txt (line 1)) (0.36.1)
Collecting tensorflow-estimator<2.8,~=2.7.0rc0
  Downloading tensorflow_estimator-2.7.0-py2.py3-none-any.whl (463 kB)
     |████████████████████████████████| 463 kB 26.7 MB/s
Collecting tensorflow-io-gcs-filesystem>=0.21.0
  Downloading tensorflow_io_gcs_filesystem-0.23.0-cp39-cp39-macosx_10_14_x86_64.whl (1.6 MB)
     |████████████████████████████████| 1.6 MB 38.6 MB/s
Collecting grpcio<2.0,>=1.24.3
  Downloading grpcio-1.42.0-cp39-cp39-macosx_10_10_x86_64.whl (4.0 MB)
     |████████████████████████████████| 4.0 MB 33.7 MB/s
Collecting python-dateutil>=2.7
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     |████████████████████████████████| 247 kB 27.0 MB/s
Collecting packaging>=20.0
  Downloading packaging-21.3-py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 11.9 MB/s
Collecting cycler>=0.10
  Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
  Downloading fonttools-4.28.3-py3-none-any.whl (884 kB)
     |████████████████████████████████| 884 kB 23.3 MB/s
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl (61 kB)
     |████████████████████████████████| 61 kB 823 kB/s
Collecting pyparsing>=2.2.1
  Downloading pyparsing-3.0.6-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 18.3 MB/s
Collecting google-auth<3,>=1.6.3
  Downloading google_auth-2.3.3-py2.py3-none-any.whl (155 kB)
     |████████████████████████████████| 155 kB 30.0 MB/s
Collecting werkzeug>=0.11.15
  Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB)
     |████████████████████████████████| 288 kB 42.9 MB/s
Collecting tensorboard-plugin-wit>=1.6.0
  Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
     |████████████████████████████████| 781 kB 45.5 MB/s
Collecting requests<3,>=2.21.0
  Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
     |████████████████████████████████| 62 kB 2.3 MB/s
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.9/site-packages (from tensorboard~=2.6->tensorflow->-r requirements.txt (line 1)) (59.5.0)
Collecting markdown>=2.6.8
  Downloading Markdown-3.3.6-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 16.5 MB/s
Collecting tensorboard-data-server<0.7.0,>=0.6.0
  Downloading tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl (3.5 MB)
     |████████████████████████████████| 3.5 MB 24.1 MB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting cachetools<5.0,>=2.0.0
  Downloading cachetools-4.2.4-py3-none-any.whl (10 kB)
Collecting pyasn1-modules>=0.2.1
  Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
     |████████████████████████████████| 155 kB 42.7 MB/s
Collecting rsa<5,>=3.1.4
  Downloading rsa-4.8-py3-none-any.whl (39 kB)
Collecting requests-oauthlib>=0.7.0
  Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting importlib-metadata>=4.4
  Downloading importlib_metadata-4.8.2-py3-none-any.whl (17 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
     |████████████████████████████████| 149 kB 21.1 MB/s
Collecting idna<4,>=2.5
  Downloading idna-3.3-py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 11.2 MB/s
Collecting charset-normalizer~=2.0.0
  Downloading charset_normalizer-2.0.9-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
     |████████████████████████████████| 138 kB 28.7 MB/s
Collecting zipp>=0.5
  Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting pyasn1<0.5.0,>=0.4.6
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     |████████████████████████████████| 77 kB 12.1 MB/s
Collecting oauthlib>=3.0.0
  Downloading oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
     |████████████████████████████████| 146 kB 31.5 MB/s
Building wheels for collected packages: termcolor
  Building wheel for termcolor (setup.py) ... done
  Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4848 sha256=f18f7f7f8da1d8051101b3595c0debf803c0fe053cce10109f525f169beeae72
  Stored in directory: /Users/drjacky/Library/Caches/pip/wheels/b6/0d/90/0d1bbd99855f99cb2f6c2e5ff96f8023fad8ec367695f7d72d
Successfully built termcolor
Installing collected packages: urllib3, pyasn1, idna, charset-normalizer, certifi, zipp, six, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, importlib-metadata, google-auth, werkzeug, tensorboard-plugin-wit, tensorboard-data-server, pyparsing, protobuf, numpy, markdown, grpcio, google-auth-oauthlib, absl-py, wrapt, typing-extensions, termcolor, tensorflow-io-gcs-filesystem, tensorflow-estimator, tensorboard, python-dateutil, packaging, opt-einsum, libclang, kiwisolver, keras-preprocessing, keras, h5py, google-pasta, gast, fonttools, flatbuffers, cycler, astunparse, tensorflow, scipy, matplotlib
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Successfully installed absl-py-1.0.0 astunparse-1.6.3 cachetools-4.2.4 certifi-2021.10.8 charset-normalizer-2.0.9 cycler-0.11.0 flatbuffers-2.0 fonttools-4.28.3 gast-0.4.0 google-auth-2.3.3 google-auth-oauthlib-0.4.6 google-pasta-0.2.0 grpcio-1.42.0 h5py-3.6.0 idna-3.3 importlib-metadata-4.8.2 keras-2.7.0 keras-preprocessing-1.1.2 kiwisolver-1.3.2 libclang-12.0.0 markdown-3.3.6 matplotlib-3.5.1 numpy-1.21.4 oauthlib-3.1.1 opt-einsum-3.3.0 packaging-21.3 protobuf-3.19.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pyparsing-3.0.6 python-dateutil-2.8.2 requests-2.26.0 requests-oauthlib-1.3.0 rsa-4.8 scipy-1.7.3 six-1.16.0 tensorboard-2.7.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.0 tensorflow-2.7.0 tensorflow-estimator-2.7.0 tensorflow-io-gcs-filesystem-0.23.0 termcolor-1.1.0 typing-extensions-4.0.1 urllib3-1.26.7 werkzeug-2.0.2 wrapt-1.13.3 zipp-3.6.0
➜  artsy git:(master) ls
LICENSE  README.md  data  main.py  requirements.txt  utils.py  vgg.py
➜  artsy git:(master) python main.py --num-iters 500 --save-every 50
Traceback (most recent call last):
  File "main.py", line 7, in <module>
    import tensorflow as tf
ImportError: No module named tensorflow
➜  artsy git:(master)

I've installed the tensorflow with pip3 and now, when I run python3 main.py --num-iters 500 --save-every 50, I get this:
➜  artsy git:(master) ✗ python3 main.py --num-iters 500 --save-every 50
Traceback (most recent call last):
  File "main.py", line 4, in <module>
    import scipy.io
ModuleNotFoundError: No module named 'scipy'

But, it is installed with both pip and pip3:
➜  artsy git:(master) ✗ pip show scipy
Name: scipy
Version: 1.7.3
Summary: SciPy: Scientific Library for Python
Home-page: https://www.scipy.org
Author:
Author-email:
License: BSD
Location: /usr/local/lib/python3.9/site-packages
Requires: numpy
Required-by:
_____________
➜  artsy git:(master) ✗ pip3 show scipy
Name: scipy
Version: 1.7.3
Summary: SciPy: Scientific Library for Python
Home-page: https://www.scipy.org
Author:
Author-email:
License: BSD
Location: /usr/local/lib/python3.9/site-packages
Requires: numpy
Required-by:

I've upgraded python with this command: brew install python3 so now:
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
<EMAIL_ADDRESS>
But still, I get the error for scipy

I had to install gcc too: brew install gcc

Now I get this:
2021-12-15 14:23:12.377297: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
  File "/Users/drjacky/Toolz/NFT/artsy/main.py", line 199, in <module>
    main()
  File "/Users/drjacky/Toolz/NFT/artsy/main.py", line 193, in main
    nst_model = NeuralStyleTransfer(content_image, style_image,
  File "/Users/drjacky/Toolz/NFT/artsy/main.py", line 101, in __init__
    self.model = load_vgg_model()
  File "/Users/drjacky/Toolz/NFT/artsy/vgg.py", line 132, in load_vgg_model
    graph['conv1_1']  = _conv2d_relu(graph['input'], 0, 'conv1_1')
  File "/Users/drjacky/Toolz/NFT/artsy/vgg.py", line 68, in _conv2d_relu
    return _relu(_conv2d(prev_layer, layer, layer_name))
  File "/Users/drjacky/Toolz/NFT/artsy/vgg.py", line 61, in _conv2d
    return tf.nn.conv2d(prev_layer, filter=W, strides=[1, 1, 1, 1], padding='SAME') + b
  File "/usr/local/lib/python3.9/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/usr/local/lib/python3.9/site-packages/tensorflow/python/util/dispatch.py", line 1090, in op_dispatch_handler
    result = api_dispatcher.Dispatch(args, kwargs)
TypeError: Got an unexpected keyword argument 'filter'
➜  artsy git:(master)

Which this solution didn't help either:
https://stackoverflow.com/a/50073238/421467

Its a typo, change L61 in vgg.py

I changed filter to filters on L61 in vgg.py and now I get this:
➜  artsy git:(master) ✗ python3 main.py --num-iters 500 --save-every 50
For content: village.jpg and style: lois_griffel.jpg

2022-03-20 11:01:13.742841: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
  File "/Users/drjacky/Toolz/artsy/main.py", line 199, in <module>
    main()
  File "/Users/drjacky/Toolz/artsy/main.py", line 193, in main
    nst_model = NeuralStyleTransfer(content_image, style_image,
  File "/Users/drjacky/Toolz/artsy/main.py", line 103, in __init__
    self._preprocess_images(content_image_name, style_image_name)
  File "/Users/drjacky/Toolz/artsy/main.py", line 107, in _preprocess_images
    self.content_image = read_image(CONFIG.CONTENT_IMAGES_DIR, content_image_name)
  File "/Users/drjacky/Toolz/artsy/main.py", line 83, in read_image
    return reshape_and_normalize_image(scipy.misc.imread(DIR + image_name), image_shape=image_shape)
AttributeError: module 'scipy.misc' has no attribute 'imread'


Add version number to welcome message

When we have the welcome message #2 and start releasing versions of the devcontainer, it would be good to add the version number to the welcome message.
I'm not sure of the best way to do this - ideally the version number would be defined in one place that is then picked up wherever else it is used, so it is easier to maintain. This is why I am making a separate issue from #2 as this will take more work than simply changing the message text.

Good idea!
I'm not sure exactly how to do this. An ideal workflow would be to push the version number in the commit and then have a release created and somehow include that in the image.
There are actions to create a release when pushing the version number
https://github.com/elgohr/Github-Release-Action
and to add a tag to the docker image.
https://stackoverflow.com/questions/66017161/add-a-tag-to-a-docker-image-if-theres-a-git-tag-using-github-action
This needs some additional thought. Thanks for raising the issue.

We now have the version specified in a file called VERSION and this is loaded into the container image and displayed in the welcome message. The pull request for this is https://github.com/r-devel/r-dev-env/pull/71


Update links to 1.0.0_1 installers

To be merged once the new installers have been released.
See https://github.com/mne-tools/mne-installers/pull/111

@larsoner Can you merge please? I just published the new installers.
I don't have permission here to merge:

Thanks @hoechenberger !

@larsoner Could you backport if you have a minute? I'm currently on the road…

Done!


DUPLO-16461 Fixed

Overview
DUPLO-16461 Fixed
Summary of changes
This PR does the following:

...
...

Testing performed

[ ] Using unit tests
[ ] Manually, on my local system
[ ] Manually, on a remote test system

Describe any breaking changes

...

Task linked: DUPLO-16461 TF:Azure: storage account is not being created with the optional fields mentioned in the document.


fix(dependency-injection): rename InjectionToken WIT_API_URL -> WIT_API_PROXY

Fixes https://github.com/fabric8-services/fabric8-auth/issues/679

Renames  InjectionToken WIT_API_URL -> WIT_API_PROXY to fix dependency injection issue in fabric8-ui

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Show URL for "real-browser" type monitor on details page

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Currently URL is not displayed for "real-browser" type monitor:

Fixes #(issue)
This change will make it appear.
Type of change
Please delete any options that are not relevant.

User interface (UI)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[x] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

LGTM 👍🏻

Thanks for the enhancement! 🎉

[!NOTE]
This PR is part of the v2.0 merge window => see #4500 for the bugs that need to be addressed before we can ship this release ^^

All changes in this PR are small and uncontroversial ⇒ merging with junior maintainer approval


JfsMount not use IsLikelyNotMountPoint

fix: https://github.com/juicedata/juicefs-csi-driver/issues/243

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d4c059f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #244   +/-   ##
=========================================
  Coverage          ?   83.72%
=========================================
  Files             ?       18
  Lines             ?     1567
  Branches          ?        0
=========================================
  Hits              ?     1312
  Misses            ?      213
  Partials          ?       42

Continue to review full report at Codecov.

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


[BUG] Error on getTotalLength when testing component with vue-trend component inside

Hello =D.
I'm currently testing one of my custom components, and it uses your lib to render a trendline.
During the tests, when it envolves a chart update, it causes a:
[Vue warn]: Error in nextTick: "TypeError: path.getTotalLength is not a function"

Apparently this error is showed because SVGPathElement.getTotalLength() has been moved to SVGGeometryElement.getTotalLength() from the Web standards.
https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getTotalLength

+1


Add toHexString to UintUtils and utilize for AddressUtils#toString

Implement missing tests in test/utils/UintUtils.ts
Create similar test file for AddressUtils, implement tests for the toString function
When tests are passing, replace AddressUtils#toString implementation with a call to UintUtils#toHexString as described here.

Should also be possible to replace the while loop in UintUtils#toHexString with this for loop:
for (uint256 temp = value; temp != 0; temp >>=8) {
  length++;
}

Check gas difference after implementing tests.

@NouDaimon Address comments only after merging #64 to avoid merge conflicts.

@NouDaimon Address comments only after merging #64 to avoid merge conflicts.

Should also be possible to replace the while loop in UintUtils#toHexString with this for loop:
for (uint256 temp = value; temp != 0; temp >>=8) {
  length++;
}

Check gas difference after implementing tests.

Gas report results:

Min
Max
Avg

Before
23260
26520
24434

After
23249
26454
24403

Further optimization might be possible if a most-significant-bit function is used.

Should also be possible to replace the while loop in UintUtils#toHexString with this for loop:
for (uint256 temp = value; temp != 0; temp >>=8) {
  length++;
}

Check gas difference after implementing tests.

Gas report results:

Min
Max
Avg

Before
23260
26520
24434

After
23249
26454
24403

Further optimization might be possible if a most-significant-bit function is used.

@NouDaimon hardhat-abi-exporter was recently updated to avoid deleting files that are not ABIs when clearing the output directory.  SolidState used to have a task override to copy and replace some files in the abi directory as a workaround for the previous behavior.  I removed that override when I updated hardhat-abi-exporter, but you still have the old version installed.  Please run yarn install and restore the deleted abi/README.md and abi/package.json files.

@NouDaimon hardhat-abi-exporter was recently updated to avoid deleting files that are not ABIs when clearing the output directory.  SolidState used to have a task override to copy and replace some files in the abi directory as a workaround for the previous behavior.  I removed that override when I updated hardhat-abi-exporter, but you still have the old version installed.  Please run yarn install and restore the deleted abi/README.md and abi/package.json files.

@NouDaimon I've restored the files myself, but make sure you run yarn install.  Also, I recommend adding files individually with git add, rather than using git add . or git add -A as most people seem to do.  To go even further, I recommend git add -p to choose only the specific changes you want within each file (this presents an opportunity to review all of your own changes before pushing).

@NouDaimon I've restored the files myself, but make sure you run yarn install.  Also, I recommend adding files individually with git add, rather than using git add . or git add -A as most people seem to do.  To go even further, I recommend git add -p to choose only the specific changes you want within each file (this presents an opportunity to review all of your own changes before pushing).


Create and Configure Forms-ADAI Learning Thursday workshop

Tutorials: https://developers.sap.com/tutorials/spa-create-forms.html
The link UI element was not available when we released the mission last year. It’s available is last release. Hence the question in Rules.vr file has to be updated.
Attached is
Beginner Mission.pdf
the mail from the user.

there is a file missing in QA. copied from production to make changes.
in production missing file rules. I will create a new one today. in order to make changes

done.

https://jira.tools.sap/browse/SBPAENABLEMENT-267


Surface ANCMv2 in 1.0-2.0 migration topic

Fixes #17105

From an offline discussion.
This PR assumes that a <2.0 project would first be updated to the unsupported 2.0 framework, then update to 2.1/2.2 thereafter.
I don't have (and can't create with the current SDK) a 2.0 app to determine if the project file entry for <AspNetCoreModuleName> is required. I didn't think that it was when using the latest SDK and hosting bundle.

The support policy for ANCMv2 is ASP.NET Core 2.2 or higher.

I see ...

While we don’t officially state compatibility, the new ASP.NET Core Module (AspNetCoreModulev2) does work with ASP.NET Core 2.0 applications.

"Does work with" isn't the same as "supported." :+1: I checked, and our v2 coverage is correct on this point.
It's probably safe to assume that a dev will get v2 when migrating to 2.2 (if they know that's the latest 2.x) with the latest SDK and hosting bundle. I'll keep an :ear: open for additional feedback.


Extract param types from a function

If this is a bug, please try reproducing using https://flow.org/try/.
I'm trying to produce a helper type that I can use to type redux thunks when they're used as React props after being put through mapDispatchToProps.
It looks like this:
type ExtractThunkReturn = <T>(() => (FirstArg, SecondArg) => T) => T;
export type ThunkReturnExtractor<T> = () => $Call<ExtractThunkReturn, T>;

which works great (flow try link). The problem comes when I have a more complex thunk which takes some arguments.
function test(arg1: number, arg2: string) {
  return (f, s) => {
    return Promise.resolve([arg, arg2]);
  }
}

Now, using the same tactic as before, flow correctly picks up that the arguments to the .then are number and string (flow try link).
The problem is, I have no way of saying 'when you call this function, it'll take the same arguments as typeof <function>, and return the result of calling the inner function'.
Essentially, what I want is to be able to do something like:
type ExtractThunkReturn = <T, P: $Params<T>>((...params: P) => (FirstArg, SecondArg) => T) => T;
export type ThunkReturnExtractor<T> = (...params: $Params<T>) => $Call<ExtractThunkReturn, T>;

where $Params (or something similar) provides me access to the parameters that that particular function accepts.
My best guess for right now is to try and use the existential type, which still doesn't work as expected (flow try link).

This is exactly what is needed for writing react-refetch types too.

Just have tried to extract at least first argument type with the same technique, and got no type errors, but then checked if there is no hidden any type created out of nowhere and found one :(
type ExtractReturn<F> = $Call<<A,R>(A => R) => A, F>;

// clearly, `Return` must be of type number
type Return = ExtractReturn<number => number>;
// but it looks like any :(
let x1: Return = 'string'
let x2: Return = []
let x3: Return = () => {}

Try this
type $ExtractReturn = ((...args: any) => V) => V;
type ExtractReturn = $Call<$ExtractReturn, F>;

@vitramir That works to get the return type - I want the parameter types.

Parameters<...> now exists


Remove macOS fallback for setup-python issue

Now that the original underlying issue appears to have been solved in setup-python in August. We can remove these special cased runners on the older hardware.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.09%. Comparing base (b1279af) to head (1833bbc).
Report is 70 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3297      +/-   ##
===========================================
- Coverage    93.18%   93.09%   -0.09%
===========================================
  Files           66       66
  Lines        14345    14375      +30
===========================================
+ Hits         13367    13383      +16
- Misses         978      992      +14

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


You have exceeded the number of available v-cores in Premium Capcacity

i got this message in capacity settings. what does it mean? how can we exceed available cores.
we had 16 cores and we used all. and it shows 0 of 0 used. Earlier it was 16 of 16 used. ALl of our cores are gone?
'You have exceeded the number of available v-cores. You can reduce your v-core usage by decreasing the size of one or more capacities, or you can purchase more v-cores. If you don't take action, capacities will be suspended soon"

Hello @reddysk18,
This is a repository for Custom Visuals Development.
Please forward your question regarding Premiuim Capacity to our community forum.
It's best place to get answer to your question.
https://community.powerbi.com/t5/Get-Help-with-Power-BI/ct-p/PBI_GetHelp


Add 'folke/lazy.nvim' installation instructions

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
all
Description
Add installation instructions for folke/lazy.nvim. Don't forget to add trailing comma for convenience and use version = false for main branch.

Is there anything pending, from what I could see this is already addressed by this commit?

Ah, yes. Forgot to close. Thanks!


deployment workflow using hazelcast - initial implementation

deployment workflow without using activiti engine
uses hazelcast for maintaining state, locks
needs to be enabled for nsPath using vars

Looks good Thanks


everything-np fails creating Everything.exe shortcut

Using latest scoop, trying to install everything-np:
PS C:\Users\v4> scoop install everything-np
Installing 'everything-np' (<IP_ADDRESS>4) [64bit]
Everything-<IP_ADDRESS>4.x64-Setup.exe (1.5 MB) [=========================================================================================================] 100%
Checking hash of Everything-<IP_ADDRESS>4.x64-Setup.exe ... ok.
Running installer... done.
Linking ~\scoop\apps\everything-np\current => ~\scoop\apps\everything-np\<IP_ADDRESS>4
Creating shim for 'Everything'.
Can't shim 'Everything.exe': File doesn't exist.

Everything works however, it installed correctly.

I have just tried installing it again and it just worked.

I'm not using this package so I guess this issue can be closed since it doesn't repro. Thanks for looking into it :)


python-tools was unable to find my machine's python executable ? what should I do?

Same issue here.  Apparently triggered by this morning's update to atom.
Error: spawn python ENOENT

Experiencing the same issue. It was working just fine yesterday

Me too. Ant the python path setting's  in config also do't work .It's fine yesterday

Same here.

same as #34

Fixed in python-tools 0.6.8 thanks to @go2sh for the fix

same here

same here

Same here

python-tools set path to python directory: /usr/local/Cellar/python/3.7.3/bin
export PATH= /usr/local/Cellar/python/3.7.3/bin:$PATH (.bashrc)
restart atom
not find local venv's packages


Frequent Codacy errors in CI: No content to map due to end-of-input

Step #7 - "cassandra-4.0": 2021-02-11 00:26:37.318Z  info [ConfigurationRules] API base URL: https://api.codacy.com  - (ConfigurationRules.scala:86)
Step #7 - "cassandra-4.0": 2021-02-11 00:26:37.318Z  info [ReportRules] Parsing coverage data from: /tmp/cassandra-4.0/./target/jacoco/jacoco.xml ...  - (ReportRules.scala:43)
Step #7 - "cassandra-4.0": 2021-02-11 00:26:37.717Z  info [ReportRules] Coverage parser used is com.codacy.parsers.implementation.JacocoParser$@91caf2c  - (ReportRules.scala:48)
Step #7 - "cassandra-4.0": 2021-02-11 00:26:37.738Z  info [ReportRules] Generated coverage report: /tmp/codacy-coverage-8906939154733041579.json (102.58 kB)  - (ReportRules.scala:243)
Step #7 - "cassandra-4.0": 2021-02-11 00:26:37.738Z  info [ReportRules] Uploading coverage data...  - (ReportRules.scala:244)
Step #7 - "cassandra-4.0": 2021-02-11 00:26:38.622Z  info [ReportRules]
Step #7 - "cassandra-4.0": To complete the reporting process, call coverage-reporter with the final flag.
Step #7 - "cassandra-4.0":  Check https://docs.codacy.com/coverage-reporter/adding-coverage-to-your-repository/#multiple-reports
Step #7 - "cassandra-4.0":  for more information.  - (ReportRules.scala:80)
Step #7 - "cassandra-4.0": 2021-02-11 00:26:38.622Z error [CodacyCoverageReporter]
Step #7 - "cassandra-4.0": Failed to upload coverage report /tmp/cassandra-4.0/./target/jacoco/jacoco.xml: Failed to parse API response as JSON:
Step #7 - "cassandra-4.0": Underlying exception - No content to map due to end-of-input
Step #7 - "cassandra-4.0":  at [Source: ; line: 1, column: 0]  - (CodacyCoverageReporter.scala:25)
Step #7 - "cassandra-4.0":
Step #7 - "cassandra-4.0":  ESC[0;31m--> ESC[0;90mFailed!ESC[0m

.... possibly another case of API rate limiting on the Codacy side :thinking:

Has not happened in a while... closing.


[ci] Run CI in merge queue and not master

This change updates the GitHub actions workflows to run on PR updates and within the GitHub merge queue, but not on the push to the master branch.
Because we use merge queues, the re-run for the master branch would be redundant.

Was going to test with this PR, but it was merged upstream first!


[7.x] Add unionMap method to Collection and LazyCollection

This PR adds a new method unionMap to Collection and LazyCollection. It allows two collections to be combined by computing the output with a closure that receives the 'left' and 'right' values for each key.
It's one of my go-to macros, and (as far as I'm aware at least!) there isn't a particularly ergonomic way to achieve the same result with the methods already available. As such, I thought I would submit it for consideration as a core method.
Simple Example
$left = [
    ['total' => 3, 'average' => 1.2],
    ['total' => 8, 'average' => 0.7],
    ['total' => 9, 'average' => 1.3]
];

$right = [
    ['total' => 7, 'average' => 2.3],
    ['total' => 12, 'average' => 0.1],
    ['total' => 3, 'average' => 3.2],
    ['total' => 5, 'average' => 4.3]
];

collect($left)->unionMap($right, function ($l, $r) {
    if ($l === null) return $r;
    if ($r === null) return $l;

    return [
        'total' => $l['total'] + $r['total'],
        'average' => ($l['average'] + $r['average']) / 2
    ];
})->all()

// Result:
[
    ['total' => 10, 'average' => 1.75],
    ['total' => 20,  'average' => 0.4],
    ['total' => 12, 'average' => 2.25],
    ['total' => 5, 'average' => 4.3]
]

Of course, you're not just limited to arrays of numbers; you can extract combined values from two collections of Eloquent models, or combine rows from two CSVs. It essentially allows you to cleanly map over two collections at the same time, even if those collections differ in length.
It behaves nicely with numeric keys, string keys, or a mixture of the two; the final set of keys is identical to as if you had called union (hence the name), you just have control over the values produced for those keys:
collect(['a', 'b', 'c'])->unionMap([1, 'two' => 2, 3], function ($l, $r) {
    return ($l ?? '') . ($r ?? '');
})->all();

// Result:
[0 => 'a1', 1 => 'b3', 2 => 'c', 'two' => 'two']

If this is deemed appropriate to merge then I'm happy to write up an entry for the docs.

It is a zip map.
    $left = [
        ['total' => 3, 'average' => 1.2],
        ['total' => 8, 'average' => 0.7],
        ['total' => 9, 'average' => 1.3]
    ];

    $right = [
        ['total' => 7, 'average' => 2.3],
        ['total' => 12, 'average' => 0.1],
        ['total' => 3, 'average' => 3.2],
        ['total' => 5, 'average' => 4.3]
    ];

    dd(collect($left)->zip($right)->map(function ($pair) {
        if ($pair[0] === null) return $pair[1];
        if ($pair[1] === null) return $pair[0];

        return [
            'total' => $pair[0]['total'] + $pair[1]['total'],
            'average' => ($pair[0]['average'] + $pair[1]['average']) / 2,
        ];
    })->toArray());

@taylorotwell Zip doesn't make any consideration for keys though right? It just takes each element in order.
e.g.
collect(['a' => 'a', 'b' => 'b'])->zip(['b' => 'b', 'a' => 'a'])->map(function ($pair) {
    return $pair[0] . $pair[1];
})->toArray();

produces ['ab', 'ba'], not ['aa', 'bb']. No worries though, I can always release it as a macro package.


problem running ionic blank app

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Note: for build related issues you can open up an issue on the ionic-app-scripts repo
https://github.com/driftyco/ionic-app-scripts
Please ensure that you are on the latest version of the CLI.
npm view ionic@latest version
What version of the CLI are you using? Output of ionic --version
3.10.8
Short description of the problem:
tried to download npm install -g cordova ionic getting errors with that then when I try to start an app I get the error below
What behavior are you expecting?
wanted to open an blank app
Steps to reproduce:

ionic start myApp blank --v2

insert any relevant code between the above and below backticks

Post the output of ionic info below please
Caught exception:
Error: Cannot find module 'sax'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/paul/.nvm/versions/node/v6.9.1/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:9:9)
at Object. (/Users/paul/.nvm/versions/node/v6.9.1/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:538:4)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.


Remove leftover code with uses removed DeciderNeedsNode exception

Remove leftover code with uses removed DeciderNeedsNode exception
Contributor Checklist:

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

superceded by #3418


Error in create method results in unhandled rejection

Steps to reproduce
Create a simple application with a single service that throws an error in create. Call the endpoint with Curl.
Reduced test case
See gist: https://gist.github.com/MitMaro/7f05130ad19325c165bd23d44a8d13eb
const feathers = require('@feathersjs/feathers');
const express = require('@feathersjs/express');
const app = express(feathers());
app.configure(express.rest());
app.use('/myservice', {
	async create(data, params) {
		throw new Error();
	},
});
app.listen(3030);
console.log('Feathers app started on <IP_ADDRESS>:3030');

Expected behavior
Throwing an error in create should not cause an unhandled rejection error. The service should respond with the error.
Actual behavior
A unhandled rejection warning is displayed, and no response occurs.
Console 1:
$ node index.js
Feathers app started on <IP_ADDRESS>:3030
(node:17001) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
(node:17001) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Console 2:
$ curl -XPOST <IP_ADDRESS>:3030/myservice

By adding a unhandledRejection handler:
process.on('unhandledRejection', (reason) => {
	console.error('Unhandled Rejection at: Promise');
	console.error(reason);
});

The following is returned:
Unhandled Rejection at: Promise
TypeError: Cannot read property 'message' of undefined
    at service.(anonymous function).then.catch.hook (/Users/timoram/code/broken-project-test-cases/feathers-express-error/node_modules/@feathersjs/express/lib/rest/wrappers.js:79:46)
    at <anonymous>
    at runMicrotasksCallback (internal/process/next_tick.js:121:5)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

System configuration
Module versions :
$ npm list --depth=0
<EMAIL_ADDRESS>/Users/timoram/code/broken-project-test-cases/feathers-express-error
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
NodeJS version:
$ npm --version
5.6.0
$ node --version
v8.9.4

Operating System:
$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.5
BuildVersion:	16F73

Browser Version: N/A
React Native Version: N/A
Module Loader: N/A

That is indeed a bug. The error that you were probably actually getting is Error: A data object must be provided to the 'create' method since there is no body parser.
The problem why it got swallowed was that Feathers argument validation ran outside of the hook chain but the REST handler always expected to get a valid hook object and just got a normal error in that case. The fix in https://github.com/feathersjs/feathers/pull/818 (released as<EMAIL_ADDRESS>was to run argument validation as a normal hook as the very first hook.

Valid point. In the project that initially triggered the problem I believe an error was being thrown in a before hook, but I guess the result would be similar. Thanks!


Inheritance key deleting email flow needs to be improved

I have already deleted my email but the delete flow still works even if email is not added
Ideal flow to be added We can stop the user with a toast message when user clicks on delete email ..... saying There is no email added so the action can't  be performed @ASN-BitHyve please have a look
https://github.com/bithyve/bitcoin-keeper/assets/107177634/36e6cde1-9450-400d-a060-e521b4eda3b2

Dont give an option to delete if there is no email.

@Parsh We Don't give an option to delete if there is no email.


apotheosis Affixes not matched up

when enhancing an item with the Reforging table, the preview affix is not what appears on the item being enhanced

this is in survival/creative/adventure, any rarity, any applicable item.

This is on TNP Limitless 7, version 0.37.1

Does the issue persist without Apotheotic Additions installed?  It doesn't reproduce in isolation, and I don't see anything else that would be obviously messing with the process.

i think i encountered sth. similar when i had a performance mod which switched out the random objects with a more performant / thread safe variant (that mod was not officially released though)

So, to add to this, this appears to only be happening in our server. In singleplayer, it works as it should.
The server has no mods that the client doesn't, but the client has the following mods that the server doesn't:
AmbientEnvironment-forge-1.20.1-<IP_ADDRESS>.jar
BetterThirdPerson-Forge-1.20-1.9.0.jar
embeddium-0.2.18+mc1.20.1.jar (Sodium Forge Port)
emoji-type-2.2.3+1.20.4-forge.jar
entity_model_features_forge_1.20.1-1.2.3.jar
entity_texture_features_forge_1.20.1-5.2.1.jar
fabric-api-0.91.0+1.10.5+1.20.1.jar (Forgeified Fabric API)
figura-0.1.3-pre.4+1.20.1-forge-mc.jar
firstperson-forge-2.2.4-mc1.20.1.jar
guiclock-1.20.1-4.4.jar
guicompass-1.20.1-4.4.jar
healthindicatortxf-1.20.1-1.2.2-forge.jar
Jade-1.20.1-forge-11.7.1.jar
JustEnoughResources-1.20.1-<IP_ADDRESS>.jar
lazurite-1.0.1+mc1.20.1.jar (Indium Forge Port)
MouseTweaks-forge-mc1.20-2.25.jar
notenoughanimations-forge-1.7.0-mc1.20.1.jar
notenoughcrashes-4.4.7+1.20.1-forge.jar
OverflowingBars-v8.0.0-1.20.1-Forge.jar
Rrls-3.2.0-1.20.1-forge.jar (Remove Reloading Screen)
sound-physics-remastered-forge-1.20.1-1.3.1.jar
tia-1.20-1.1-forge.jar (Tiny Item Animations)
ToolStats-Forge-1.20.1-16.0.7.jar
visuality-forge-2.0.2.jar

i think i encountered sth. similar when i had a performance mod which switched out the random objects with a more performant / thread safe variant (that mod was not officially released though)

Do you know which mod that was? I'm curious if one we're running may have a similar tweak causing this.

Actually managed to get it to trigger in isolation.  I think something else was making it more common, but the fix should prevent it entirely.


Incorrect GetUrl return value

1. Describe the bug
I have a sandbox environment on a local machine in Docker container. It is a multitenant type, created by BcContainerHelper.
Container name (=target server) is 'test', one and only tenant is 'default'.
When I use GetUrl AL command, server name and tenant are joined together twice and I get this:
http://test-default/BC/?tenant=test-default
A test on another Docker container (but on a remote machine with public ports) with a sandbox and single tenant type is OK.
Is it a matter of some server configuration or it is a bug?
2. To Reproduce
Message(GetUrl(ClientType::Web));

3. Expected behavior
The correct address shoul be:
http://test/BC/?tenant=default
4. Actual behavior
http://test-default/BC/?tenant=test-default
5. Versions:

AL Language: 10.0.635892
Business Central: 21.0.41987.0
(but same on version 9.0/20.1)

Yes, I think I have seen this with Web Service pages getting that kind of URL, and not loading as a result, e.g. http://somelocaldocker-default/BC/blah

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal
Open a bug in Collaborate
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL. This issue specifically needs to go to a team that handles the server runtime.


Cannot remove image from cache

Here is my URL:  http://dev.photonapp.net/App/Images/User/2/
Here is how I'm loading the image into a UIImageView:
if let url = URL(string: "http://dev.photonapp.net/App/Images/User/2/") {
     avatarImage.af_setImage(withURL: url, placeholderImage: UIImage(named: "Avatar"))
}

Later, after the user picks an image from their photo library, I upload the new image to the server (checked, yes this works), manually remove the image from the cache, and re-download:
public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
    let img = info[UIImagePickerControllerEditedImage] as! UIImage

    //clear from cache
    let url = URL(string: "http://dev.photonapp.net/App/Images/User/2/")!
    let urlRequest = URLRequest(url: url)
    let imageDownloader = UIImageView.af_sharedImageDownloader
    _ = imageDownloader.imageCache?.removeImage(for: urlRequest, withIdentifier: nil)
    imageDownloader.sessionManager.session.configuration.urlCache?.removeCachedResponse(for: urlRequest)

    //upload to the interwebs
    let data = UIImageJPEGRepresentation(img, 0.8)
    let attachmentBody = data?.base64EncodedString(options: NSData.Base64EncodingOptions()) ?? ""

    //upload the new avatar to the server
    PWSecurityService.shared.setUserData(attachmentBody, type: .avatar) { (status, message, error) in
        self.avatarImage.af_setImage(withURL: url)
    }

    //hide the popup
    dismiss(animated: true, completion: nil)
}

This DOES NOT work.  The old image stays in cache, and even after reloading the app it still shows the original image, despite the URL showing the upload working.  WTF am I doing wrong??  Why does something so obvious and simple (removing an image from cache based on a URL) take so many lines of code and still not work??

+1

Fastest way to solve this is by giving your new uploaded images a random name, it caches the image using the url as key, had the same problem and solved with this workaround.

@douglas-srs
Yeah it was, but sometime we need to add only static image url inside. The main problem of this issue was "How to clean disk cache for specific image."

I WANT the image to stay cached, until the user uploads a new one.  Changing the name like you suggest effectively turns off the cache.  Again, adding AND removing items from cache is 101 stuff for having a cache.  Can someone from the development group address this please??

Try use that : https://github.com/onevcat/Kingfisher. Since this library is open-source, they just share what they can. Some of them might busy. So, try use the above library that I provided you. At that library you can control your own cache (memory cache and disk cache), image downloader. So, create your own image downloader and clean the cache when you are ready to remove.

@htarwara6245 Oh, I get it now but for me this isn't the case because my App has also a web app which the user can upload his picture as well and if I don't use a dynamic image name cache wouldn't work as expected because I can't clean the users phone's cache from a web browser :P

@htarwara6245 I have no interest in ripping out all my code and switching libraries simply because an obvious issue isn't being addressed by the developers.  I'd rather they just address it.

@panleya As you can see in our tests, cache removal works just fine. In fact, I added a new test specifically for the UIImageView extension to make sure it still works there as well, in PR #254. I suggest you investigate and make sure your identifiers are the same. You may also want to stop ignoring the return value of removeImage, as that should let you know whether the image was removed at all.

There was an extra "/" in my URL.  Once I removed it the code worked better.  I don't know why it would break things.  The remove returned true, and the code did in fact re-download the image, yet the downloader returned the old image rather than the one updated on the server.  Somehow, via magic it appears, the extra "/" in the URL once removed made that all work.  Hocky at best.

It's not magic. If using the URL as the key, you need to match it exactly for the cache to think it's the same key. I suggest you come up with a way of storing relevant URLs or URLRequests for later access if you need to use them for cache access.


ReadExt.read_buf doesn't distinguish between read returning 0 and a full buffer

In both cases Ok(0) is returned, making it impossible to distinguish between a closed connection and a full buffer ( !buf.has_remaining() )
https://github.com/carllerche/bytes/blob/f693e038d9ad3042c0a68bb3ef609117b1d7a86a/src/buf/mod.rs#L439

Hey, thanks for the report. The current behavior matches the behavior of the read syscall. If you pass a zero length buffer to read it returns Ok(0). One should always check if the buffer has remaining capacity before passing it to read again.
I'm going to close this for now, but if you disagree, I would be interested in hearing more about why you think it should have different behavior than read() and what you think it should do.


Make Random.java more thread-friendly

Use of SecureRandom in Java can be a major source of lock contention. I strongly recommend replacing your private static final SecureRandom with a private static final ThreadLocal<SecureRandom>, which will reduce this lock contention.

This sounds reasonable.
Bartosz/Daniel, what do you think?

@bleichen

Looks OK to me.
Using thread-local random number generators appears to be a bit more robust,
since bugs are less likely to result in repeated random numbers.
But, I'm not very familiar with random number generation.

Alright I committed a fix. @SalusaSecondus could you please verify it? Thanks!

LGTM


Lacks in documentation of uv_poll_t

I think the official documentaion should address the following issues:

The callback will be called over-and-over again, AS LONG AS the given fd/socket is still readable/writable (depending on the given events given to poll). Particullary in each of the following scenerios:
(a) The callback did not conduct a read/write at all when the socket is readable/writable.
(b) The callback made a read on the socket, and have not read all the available data. or the callback made a write but the socket remained writable afterwards.
(c) The socket has already became readable/writable before even starting the poll handle on this socket, and since then the state of the socket did not changed.
In all of the above listed scenerios, the socket remains readable/writable and hence the callback will be called again.
It state that after stopping the poll handle, the callback will not be called. I think it is important to mentaion that it won't be called even if the socket has already become readable/writable before the handle was stopped, and the callback event was already pending.

Reference to posts in the mailing list:
https://groups.google.com/forum/#!topic/libuv/3COSl39ZkEY
https://groups.google.com/forum/#!topic/libuv/n-m0KBz0-fo
Elad.

@eladn would you care to open a PR?

I will.

Should I commit into master or v1.x ?
Is that the last relevant version?
https://github.com/libuv/libuv/blob/v1.x/docs/src/poll.rst
I noticed here: http://docs.libuv.org/en/v1.x/poll.html the API section is written, but it's not appears to be in git.

I will.

Thanks!

Should I commit into master or v1.x ?

v1.x please.

Is that the last relevant version?
https://github.com/libuv/libuv/blob/v1.x/docs/src/poll.rst

Yes.

I noticed here: http://docs.libuv.org/en/v1.x/poll.html the API section is written, but it's not appears to be in git.

Note that GitHub doesn't render RST very well, open it in raw mode or with your editor of choice and you'll see the content.

Closing in favor of the PR.


Didn't find class "lib.android.paypal.com.magnessdk.MagnesSource"

implementation ('com.paypal.checkout:android-sdk:1.1.0') {
exclude group: 'com.paypal.android.sdk', module: 'data-collector'
}
their is an issue with the library
implementation ('com.paypal.checkout:android-sdk:1.1.0')

remove that exclude part it will work

and make sure to add value for returnUrl

@rathoddeepak Could you create the GitHub repository with an example? Also, could you please add information about your environment npx react-native info

@vasylnahuliak yes sure

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.


Call for maintainers

This project is fairly popular (40,000-50,000 downloads per week on npm), but it doesn't really have an active maintainer at the moment. I was (more or less) keeping up with issues and pull requests for a while, but my ability/interest in contributing has been low for the past year or so.
If anyone is interested in maintaining this project, please speak up! Responsibilities would basically be triaging/responding to/closing issues and handling incoming PRs. From a skills standpoint, you would benefit from some knowledge of JavaScript (don't think you have to be an expert!), patience in handling issues and PRs, and an understanding of the balancing act between new features and stability.
The project is not in a dire situation at the moment. It generally works as advertised, although there might be some clunkiness around the current winston@3 support (see https://github.com/bithavoc/express-winston/issues/189 and https://github.com/bithavoc/express-winston/pull/190). The biggest debt on the project is the number of unhandled issues and PRs open, which doesn't actively hurt the currently-deployed code. But the project could use some love, which I'm not able to give it.

@rosston we may get more attention if we add this to the Readme.me I think

Currently working to add a link to here from the README.

I'm interested in helping maintain this package. What is your process for making decisions on that front?

@crellison I don't think we have a process for making decisions, that's one thing we should start working on. However, one requirement I think it's important is being using this package.
Are you using the package?

@bithavoc Sorry for the delayed response. I am using the package, though currently on a closed-source project. I can put together something you can look at if you want to validate that I know what I'm doing.

sorry I was off for a few days. If you're using express-winston that's the only thing that matters. I'm gonna make you contributor so you can start addressing pull requests and issues in the repo.

We need more maintainers.

@crellison (and any other possible maintainers that crop up) I should've noted this in the first place, but I'm happy to help by providing backup, a second eye, or any background around express-winston. I'm not able to put a ton of time towards this module, but I can absolutely provide support to other maintainers. I worked on a lot of the structure of the test suite, so especially feel free to reach out with any questions about confusing things there.

That all sounds good. What's the process for publishing to NPM? I'm looking to close #190, but want to make sure the changes get published so we can close some of the winston 3.x compatibility issues

@crellison I can assist publishing to NPM, it takes me less than a minute to do so.

Y'all are welcome to decide differently, but I've tried to keep the changelog updated (manually) when releasing to npm in the past.

@rosston is right, we need to keep it updated

@bithavoc I forgot to mention that the Changelog has been updated. Feel free to release 3.0.1 when you can!

@crellison<EMAIL_ADDRESS>🚀

@nagapavan good, you can start by going through the pull requests and vetting them to see what we should be merging or closing. you can summon @crellison if something needs more reviewing.

:lurkyturkey: 👋 I haven't contributed in a really long time, and I don't think I'm going to be able to any time soon either unfortunately, but this recent event is something to keep in mind as you work on finding someone else to own this.
❤

@jlomas-stripe Thanks for the reminder, yes I saw that one in HN. Unlike event-stream I still retain NPM publishing rights and check what we publish.

I'm somehow new on github.
I'm really intrested in this project and find it so cool.
I'm available to be an active maintainer on this project.

Can help contribute and being an active maintainer. ✋

Needs to be a link from the main winston readme, to this package.
A section called "ecosystem" or something like that. I'm sure many people don't even know about this lib. If there were more users, maybe there'd be more interest in maintenance.

I would like to help maintain this package. I like it a lot. I am using it for an open-source project currently and will probably make it something I use in all express-based projects. I can be on weekends and some weekdays.

I made a pretty large pull request #222 .  Is anyone still maintaining this library? Did anyone take over?

@yinzara Unfortunately we still don't have active maintainers for the library, the most active maintainer right now is @golopot and me, but as soon as a I saw that the PR had a breaking change then I deferred for review when I had some more free time(like today Saturday,  a weekend).
After your PR gets merged, and if you volunteer, we can definitely promote you. Sounds good?
I'm still reviewing all the PR's and Releasing the versions to NPM for now.

I mean, what's another library to maintain? :-)  Why not!?

@yinzara releasing two new versions right now, sorry it took me so long, I had a busy weekend.

I think I'm still technically a contributor as I can't close any issues.  Would love to get rid of all the old stuff that isn't valid anymore.

What do I need to do to become a contributor? Anything special? Or can I just start looking through PRs?

@jblevins1991 basically just look through PR and watch the repo for new issues and PRs, yes.

@bithavoc  I have been using this repo for a while. I had some free time and wanted to update a few things since i saw this  #192 call for maintainers i would like to offer to do some repo maintenance.
If you don't mind I am going to create a few issues and solve a few existing.
Please let me know if you would like to setup any time to talk or have an review / references.

@bithavoc  I am active user of this repo. I wanted to contribute to this repo by solving few issues especially this one https://github.com/bithavoc/express-winston/issues/240
Do let me know if I can contribute.

@bithavoc  nudging you a little bit again this year :D I am still available to make contributions, also an active user of this repo and would love to tidy it up a bit.

Is this project still maintained? If not, is there a fork or alternative that people recommend?


Success function inappropriately called before 'blur' event

When registering a rule I can set invoke: 'blur', and error: function() {...} and the error function is only called on blur. This is the desired behavior. However, when success: function() {...} is set it gets called not only on blur but also immediately when a key is pressed.
This means that if a field gets a valid value and is changed to an invalid value, success will still show. Then the error will show on blur.
It looks like fixes may be some time in coming, so any simple workaround would also be appreciated. Thanks!

Same here.


Bump version to 0.1.0

Maybe better to rename this repository to something like rosidl_mypy.

Let's move forward with the current name.


Add Dishant's card

I have added my card to the appropriate file. I am new to open source and still learning to contribute. I would appreciate if you accept my pull request.
Cheers.
Dishant Arora a.k.a. Supr3me.

Please review and merge my pull request.
Thanks.


Make Vulkan worker more robust against invalid shaders

If the Vulkan worker receives and invalid GLSL shader, e.g. because uniforms are used outside blocks in Vulkan, the Python script exits.  We should harden it against this, as it's easy to make a mistake and apply the worker to inappropriate shaders.

Fixed in #354.


ELLA generate img quality is worse than origin model

ELLA has stronger text understanding capabilities, but the image quality is worse

Hi, can you share the base Model and prompt you use?  We need to debug ella with them. Additionally, we have updated our README with some tips on how to better utilize ELLA, which you may find helpful.

base model: https://civitai.com/models/15003/cyberrealistic
prompt: a woman, pink hair, wearing blue baseball cap, wearning sunglasses,  green scarf, yellow sweater
I found that high cfg scale will cause img blur and noise, decrease cfg(for example cfg=3) will get better quality img
what' more, ELLA's text understanding ability does not perform so well in multi-person situations
promt: a man and and a woman, woman standing left,  pink hair, wearing blue baseball cap, wearing earrings and necklace,  green scarf, yellow sweater; man standing right, wearing sunglasses and blue t-shirt

From my testings, using plain English prompts helps a lot compared to using keywords. Also, be careful of the negative prompt you're using and the size of generation, a different size than 512x512 is not resulting in good generations for me

using plain English prompts helps a lot compared to using keywords.

Indeed, because we mainly use synthetic captions similar to pure English to train ella
You can refer to test examples from the community: https://imgur.com/a/FhWpSSb

This caption may still be too difficult for ella-sd1.5. 😥
Refined caption by me:

A man and a woman are standing together, the woman on the left and the man on the right. The woman has pink hair, a blue basketball cap, earrings and a necklace, and a green scarf and yellow sweater. Man wearing sunglasses and blue shirt.

Refined caption by Qwen:

A couple stands side by side, creating an eye-catching visual display of contrasting styles. The woman, positioned to the left, sports vibrant pink hair that falls just past her shoulders, complemented by a blue baseball cap adorned with intricate earrings and a necklace. She wraps herself in a green scarf for warmth and wears a sunny yellow sweater, adding pops of color to the scene. On the other hand, the man, standing to the right, exudes coolness with his sunglasses, donning a casual blue t-shirt. Both individuals seem to be enjoying each other's company amidst their unique fashion choices.

Refined caption by GPT4:

A woman with vibrant pink hair stands to the left, her head adorned with a blue baseball cap. She's wearing a pair of shiny earrings and a necklace that glimmers under the light. Wrapped around her neck is a green scarf, contrasting with her bright yellow sweater. To her right stands a man, his eyes hidden behind a pair of dark sunglasses. He's casually dressed in a blue t-shirt, his hands tucked into his pockets.

so, Looking forward to sdxl !!

This caption may still be too difficult for ella-sd1.5. 😥
Refined caption by me:

A man and a woman are standing together, the woman on the left and the man on the right. The woman has pink hair, a blue basketball cap, earrings and a necklace, and a green scarf and yellow sweater. Man wearing sunglasses and blue shirt.

Refined caption by Qwen:

A couple stands side by side, creating an eye-catching visual display of contrasting styles. The woman, positioned to the left, sports vibrant pink hair that falls just past her shoulders, complemented by a blue baseball cap adorned with intricate earrings and a necklace. She wraps herself in a green scarf for warmth and wears a sunny yellow sweater, adding pops of color to the scene. On the other hand, the man, standing to the right, exudes coolness with his sunglasses, donning a casual blue t-shirt. Both individuals seem to be enjoying each other's company amidst their unique fashion choices.

Refined caption by GPT4:

A woman with vibrant pink hair stands to the left, her head adorned with a blue baseball cap. She's wearing a pair of shiny earrings and a necklace that glimmers under the light. Wrapped around her neck is a green scarf, contrasting with her bright yellow sweater. To her right stands a man, his eyes hidden behind a pair of dark sunglasses. He's casually dressed in a blue t-shirt, his hands tucked into his pockets.

Have you tried finetuning SD1.5 with randomly using T5 with your adapter or clip ?
Since your adapter only acts on the caption side, maybe having a full Unet finetuned with proper captions (using CogVLM for example) + randomly selecting a different text encoder at each step, could help it even more ?

Of course we would freeze clip and your adapter and only finetune unet

@scarbain I think randomly selecting text encoder during training is a very interesting idea, which can make UNet adapt to both CLIP and ELLA.  However, due to resource constraints and limited usage scenarios, we prefer to train some Adapters instead of fine-tuning UNet. We will try to train ELLA as a branch of IP-Adapter later. Maybe IP-Adapter+ELLA will be more practical?

It could be interesting to train a LoRA only instead of full FT of unet. And using this LoRA when using ELLA. Kind of like a LCM LoRA in usage.
I'll try that and report back if it provides good results.

It could be interesting to train a LoRA only instead of full FT of unet. And using this LoRA when using ELLA. Kind of like a LCM LoRA in usage. I'll try that and report back if it provides good results.

How did it go?

This caption may still be too difficult for ella-sd1.5. 😥
Refined caption by me:

A man and a woman are standing together, the woman on the left and the man on the right. The woman has pink hair, a blue basketball cap, earrings and a necklace, and a green scarf and yellow sweater. Man wearing sunglasses and blue shirt.

Refined caption by Qwen:

A couple stands side by side, creating an eye-catching visual display of contrasting styles. The woman, positioned to the left, sports vibrant pink hair that falls just past her shoulders, complemented by a blue baseball cap adorned with intricate earrings and a necklace. She wraps herself in a green scarf for warmth and wears a sunny yellow sweater, adding pops of color to the scene. On the other hand, the man, standing to the right, exudes coolness with his sunglasses, donning a casual blue t-shirt. Both individuals seem to be enjoying each other's company amidst their unique fashion choices.

Refined caption by GPT4:

A woman with vibrant pink hair stands to the left, her head adorned with a blue baseball cap. She's wearing a pair of shiny earrings and a necklace that glimmers under the light. Wrapped around her neck is a green scarf, contrasting with her bright yellow sweater. To her right stands a man, his eyes hidden behind a pair of dark sunglasses. He's casually dressed in a blue t-shirt, his hands tucked into his pockets.

Where are you demo-ing these? Is there a HuggingFace demo we can use?


Export options - Android Support

Begin porting to android.
May require MACROS, integration into android build programs and more...

Moving to Fall or Winter 2024 as is possible, but Desktop is priority for Spring/Summer.


vlc: fetch patch from a specific commit

Description of changes
merge_requests has changed

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

merge_requests has changed

I can get the original hash with fetchurl, I imagine the original hash is obtained in a wrong way since the MR has been merged 3 monthes ago and its hash shouldn't change by using fetchpatch. @Kranzes
This PR LGTM though.


Skin 16.0.0 changes

16.0.0 Roadmap:
https://github.com/orgs/eBay/projects/8/views/2
Callouts :

Icon changes including program badges :

icons

https://github.com/eBay/skin/pull/2016
https://github.com/eBay/ebayui-core/issues/1869

bages:

https://github.com/eBay/skin/pull/2013
https://github.com/eBay/ebayui-core/issues/1871

released in v4.0.0


Simple commands like --version or --help should not fail if there is no rustc.

I've split this off the #2833.
So the idea is not to invoke rustc -vV until we really need it.
I see two ways of implementing this:

Change Config structure such that rustc_info is calculated lazily. That is, change rustc_info() signature to pub fn rustc_info(&self) -> CargoResult<Rustc>.

Push Rustc info from Config down to CompileOptions and then to BuildConfig.

Option 1 can be implemented with a relatively small code change, but it is somewhat complex, because retrieving rustc info can fail, and if this retrieval is lazy then you don't really know when this error surfaces.
Option 2 naturally requires some minor refactoring, but seems to be a proper way to address this issue.
Currently, Rustc info is used for three things:

Determining the host and default target triples.
Full version is used to calculate fingerprints.
--cap_lints is feature detected to allow interop with older compilers which lack this flag.

I'd personally prefer option (1), but rustc info isn't the only thing we should scrape lazily. Right now Config::new can fail for a number of reasons which should probably all be guarded against in the case of cargo version.
For example I think all these tests should pass:
#[test]
fn version_works_without_rustc() {
    let p = project("foo");
    assert_that(p.cargo_process("version").env("PATH", ""),
                execs().with_status(0));
}

#[test]
fn version_works_with_bad_config() {
    let p = project("foo")
        .file(".cargo/config", "this is not toml");
    assert_that(p.cargo_process("version"),
                execs().with_status(0));
}

#[test]
fn version_works_with_bad_target_dir() {
    let p = project("foo")
        .file(".cargo/config", r#"
            [build]
            target-dir = 4
        "#);
    assert_that(p.cargo_process("version"),
                execs().with_status(0));
}

Turns out it's hard to implement the second test at the moment, because we need to parse config early because of aliases. See #2901.

Ah I'd be fine just ignoring errors like that if we're on a fast track like --version


Add recipe for Tiroler Gröstl.

I'm not from Austria, maybe there are locals from Tirol that can improve
on this already delicious recipe?

@hallzy Unfortunately I don't have a picture. Feel free to make some Gröstl and add an image of your succesful meal.😊


Crash

I do not have time to extensively test this because life, however, removing this mod makes the crash go away. This crash happens when loading a world, patchouli enabled.
CRASHLOG: https://pastebin.com/cgZq5ydG
No optifine
MC 1.16.5
Forge 36.2.19
Thermal Cultivation and other thermal mods also installed
Java 8
cultivated-snacks-1.08.jar

thanks for letting us know! shall be fixed later this week :)

Downloading the latest update posted on curseforge fixed the crash. Thanks for the fix, closing issue.


IntrinsicHeight around Wrap(Text) is incorrect

b/163101099
Intrinsic Height calculation for Wrap() widgets with overflowing text is incorrect, causing clipping/renderflex overflows.
This occurs in our app when we have maximum accessibility text size.
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  State createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  var useIntrinsicHeight = false;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'IntrinsicHeight',
      theme: ThemeData(primarySwatch: Colors.blue),
      darkTheme: ThemeData(primarySwatch: Colors.blue),
      home: MediaQuery(
        data: MediaQueryData(textScaleFactor: 3.2),
        child: Scaffold(
          appBar: AppBar(title: Text('IntrinsicHeight Test')),
          body: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: [
              _wrapWidget(
                Wrap(
                  children: [
                    Text('Longer text 12345678'),
                    Text('Longer text 12345678'),
                  ],
                ),
              ),
              Center(
                child: RaisedButton(
                  onPressed: () =>
                      setState(() => useIntrinsicHeight = !useIntrinsicHeight),
                  child: Text('Toggle wrapping'),
                ),
              )
            ],
          ),
        ),
      ),
    );
  }

  Widget _wrapWidget(Widget child) {
    if (!useIntrinsicHeight) {
      return Container(
        color: Colors.blue,
        child: child,
      );
    }

    return Container(
      color: Colors.green,
      child: IntrinsicHeight(child: child),
    );
  }
}

The expectation is that there should be no difference in height when IntrinsicHeight is toggled on or off.

CC @chunhtai

This looks like a duplicate of https://github.com/flutter/flutter/issues/61204
@Piinks  can you take a look at this?

Thanks! It looks like this is all coming from the same root issue.
#61204 also demonstrates Wrap & Text issues related to intrinsic height, which is actually rooted in #48679.
cc @goderbauer
Not sure how to best consolidate these issues, they do appear to be duplicates of the same root cause.

assign my self for now as I am currently investigating a fix

@goderbauer  Is there any chance this can be cherry picked into the 1.20 stable release?

I don't think that this will qualify for a cherry-pick since it is neither a regression in that version nor a serious bug.
/cc @pcsosinski

fix is reverted due to internal test failure

@chunhtai has a PR out to fix the internal failure and then we can re-apply the fix.

will not CP for 1.20/1.21


writeInitiateWithdrawal

https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L2/L2ToL1MessagePasser.sol#L74

I am not sure if we want this or if we want another writeSendMessage, which in the contracts calls to this under the hood. writeSendMessage has symmetry with L1 and reflects the contracts, but kinda confusing because behavior is so different (takes minutes vs. days).


[Feat] Add "Health Calculators & Tools" in "Our Services" section

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The Health Calculators & Tools feature offers patients access to health-tracking tools. It includes:

BMI Calculator to monitor weight status, a Calorie Tracker for dietary management.
Pregnancy Due Date Calculator to assist expecting mothers.
Tools for tracking blood pressure and sugar levels allow patients to log their readings and monitor trends.
Integration with wearable devices enables real-time health monitoring by syncing data like heart rate and activity levels, offering a holistic view of a patient’s health and enabling timely intervention by healthcare providers.

Use Case
It allows users to track and log important health metrics, making the system more interactive and personalized. With real-time data from wearables, healthcare providers can offer more informed consultations, especially in managing chronic conditions like diabetes and hypertension. Additionally, it supports patients' wellness journeys outside of appointments, ensuring they remain engaged with their health. This integration helps bridge the gap between in-clinic care and at-home monitoring, leading to better patient outcomes and adherence to treatment plans.
Benefits
This feature provides patients with valuable tools for self-monitoring and better understanding of their health, fostering preventive care.
The community gains from a centralized platform that promotes healthier lifestyles and reduces the burden on hospitals by identifying potential issues early. Integrating real-time health data also supports research and public health initiatives, helping authorities track trends across regions.
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@shivi13102 nice idea


Additional Testing

Coverage increased (+3.5%) to 97.822% when pulling 7027f2b4899f75741b9e28f782093d87cf95be95 on timshell:testing into 7739c89683ea23376c3f71add4b1ee7a5823324e on KordingLab:master.

also should be good to go @pavanramkumar

Coverage increased (+3.5%) to 97.329% when pulling 6b8b1e5d21fcd724404706ec54ab2889c6293659 on timshell:testing into f4b0a1b49dbe0f66202d4c6e6a5783494a03c52c on KordingLab:master.

should be good to go now @pavanramkumar

Coverage increased (+3.5%) to 97.342% when pulling 418f4dacba64008f1a48aac5831377baab8cdc12 on timshell:testing into f4b0a1b49dbe0f66202d4c6e6a5783494a03c52c on KordingLab:master.

Should be good to go @jasmainak . Backend must be Agg, not Qt4Agg for Travis to work. Other changes have been made

okay cool, sounds good!

cc @pavanramkumar should actually be good to go now

Coverage increased (+3.5%) to 97.342% when pulling 58ca854a5fd8c545c50578f83a7d55971ffc38cb on timshell:testing into e75c1d69423faa44fce33f3cf3e8dbf079516685 on KordingLab:master.

cc @pavanramkumar

Hi, I figured I'd re-open this. I'm taking over maintenance from Pavan. Looking through the PR, one bit is that I removed the random scikit learn dependency from one of the tests - do you still want to merge this PR? If so, could you update it to be compatible? I'll take a look afterwards!

Hey @codekansas sorry for the late reply. The work you're doing now looks awesome! I'm actually a bit swamped with work for the next week or two, but I can definitely fix this afterwards. Super excited to see where you take Spykes!

Coverage increased (+2.2%) to 95.392% when pulling 4121d360da4be424678ef2f8f9e2c6df09edd1f4 on timshell:testing into 98bbe3e699774f20f122c484afa016cbedfaf509 on KordingLab:master.

Coverage increased (+2.2%) to 95.392% when pulling ba74178eca32f61a3d1f832e9824039962d5b727 on timshell:testing into 98bbe3e699774f20f122c484afa016cbedfaf509 on KordingLab:master.

Should be good to go @codekansas

Coverage increased (+2.2%) to 95.392% when pulling a726b0ebc0b5c151011f1207b67fdd03ed457db5 on timshell:testing into 98bbe3e699774f20f122c484afa016cbedfaf509 on KordingLab:master.


Syntax error I cant find

Im not sure what I did wrong. Syntax error that I cant find in main.py
Need some pro help.

Forgot the "+" on line 11!


Test suite compilation failure

Linking dist/build/compiling-ok/compiling-ok ...
/tmp/stackage-build1/second-transfer-<IP_ADDRESS>/dist/build/libHSsecond-transfer-<IP_ADDRESS>-D7sUxN7OlNr3XtJwDRcgoD.a(tlsinc.o):(.text+0x304): undefined reference to `SSL_CTX_set_ecdh_auto'
/tmp/stackage-build1/second-transfer-<IP_ADDRESS>/dist/build/libHSsecond-transfer-<IP_ADDRESS>-D7sUxN7OlNr3XtJwDRcgoD.a(tlsinc.o):(.text+0x340): undefined reference to `SSL_CTX_set_alpn_select_cb'
/tmp/stackage-build1/second-transfer-<IP_ADDRESS>/dist/build/libHSsecond-transfer-<IP_ADDRESS>-D7sUxN7OlNr3XtJwDRcgoD.a(tlsinc.o): In function `wait_for_connection':
(.text+0xa01): undefined reference to `SSL_get0_alpn_selected'
collect2: error: ld returned 1 exit status

This is probably happening because I'm using OpenSSL 1.0.2 ... unfortunately older versions don't have ALPN. Besides this one, would it be desirable to have some other work-around?

I guess it's your call. As it stands, Stackage won't be able to test regressions in the library.

Bump. Although I've re-enabled the test suite for second-transfer, it's still listed as an expected failure.

Thanks for the heads-up, I will take a look.
On Sat, Oct 3, 2015 at 3:05 AM, Dan Burton<EMAIL_ADDRESS>wrote:

Bump. Although I've re-enabled the test suite for second-transfer
https://github.com/fpco/stackage/commit/5d8ed0dd3a35a856c480d0c75dbc8280ab282a98,
it's still listed as an expected failure
https://github.com/fpco/stackage/blob/5d8ed0dd3a35a856c480d0c75dbc8280ab282a98/build-constraints.yaml#L1903
.
—
Reply to this email directly or view it on GitHub
https://github.com/alcidesv/second-transfer/issues/1#issuecomment-145190625
.

This issue is closed by 8b8afa1ef


Update Readme

Update Readme
Fix IISHost Dockerfile
Add wcf tcp instructions
Add instruction to build sln in VS for basichttp and tcpselfhost samples. (bin file is not pushed to GitHub)
Update instruction for browsing to container ip. Included note on Windows Creators Update.

@kendrahavens,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@Lxiamail I added an indent for the TCP section. Are we ready to merge? :)


Respect git's pullBeforeCheckout setting for  githubPullRequests.postCreate

Testing #4430
https://github.com/microsoft/vscode-pull-request-github/issues/4430#issuecomment-1401490611

@joaomoreno FYI

I ended up respecting this git setting for all places where you checkout the default branch.


Inline edit name

This adds inline editing to the name field by clicking on the name.  The update is sent to the server when focus is removed from the name (and the name has been changed)

You can demo this change (along with some other PRs I put in with this image):
docker.io/ksuquix/van_dam:quix_rollup


Mark replies as reply and highlight their target on hover

Currently replies are looking a little boring. mostly because replies aren't properly marked and the message id for a reply is included in the rendered text.
It would be cool to allow marking a reply as such and highlight the message replied to on hover

Can you explain or better add an example for "allow marking a reply as such and highlight the message replied to on hover" ?

As of now we have no reply functionality whatsoever. Comparing this to the SE chat: if a message is a reply, you get that small arrow on the left-hand side of the message. Clicking that arrow redirects you to the message which was replied to.
Additionally hovering over a message highlights the message replied to as well as the messages which are replies to this message:

After a little discussion with @TheItachiUchiha  in the second monitor this will not be supported. Instead the reply syntax will be stripped out.
It might be possible to later introduce a "debug-mode" which includes much more information. In that case the reply should be visible. This means removing the reply syntax should be a GUI-Hiding and not actually stripping this from the message


Error training Unet

hello guys, i have this error in the train unet
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 14.75 GiB total capacity; 13.17 GiB already allocated; 216.81 MiB free; 13.20 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Progress:|                         |:   0% 1/4700 [00:10<13:18:38, 10.20s/it, loss=0.0911, lr=2e-6]
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/usr/local/lib/python3.9/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.9/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/ari', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/ari/instance_images', '--output_dir=/content/models/ari', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/ari/captions', '--instance_prompt=', '--seed=193333', '--resolution=512', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=4700']' returned non-zero exit status 1.
Something went wrong
someone have a fix?

Colab updated to Python 3.9 and it broke everyone colab's. We have to wait for TheLastBen to update dependencies...
https://github.com/TheLastBen/fast-stable-diffusion/issues/1706#issuecomment-1460745037

fixed


Minor: add parquet as default in toml file

Which issue does this PR close?

Closes #7933
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

duplicate #7934