🐛 Permission denied error when download model

🐛 Permission denied error when download model
When build the docker image according to the instruction on README.md
# 1. First, clone the repo
git clone https://github.com/mtobeiyf/sketch-to-art.git
cd sketch-to-art

# 2. Build Docker image
docker build -t sketch-to-art:dev .

# 3.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  build-essential dbus libapparmor1 libdbus-glib-1-2 libpython3-dev
  libpython3.5 libpython3.5-dev python-pip-whl python3-cffi-backend
  python3-crypto python3-cryptography python3-dbus python3-dev python3-gi
  python3-idna python3-keyring python3-keyrings.alt python3-pkg-resources
  python3-pyasn1 python3-secretstorage python3-setuptools python3-six
  python3-wheel python3-xdg python3.5-dev
Suggested packages:
  default-dbus-session-bus | dbus-session-bus python3-crypto-dbg
  python-crypto-doc python-cryptography-doc python3-cryptography-vectors
  python-dbus-doc python3-dbus-dbg gnome-keyring libkf5wallet-bin
  gir1.2-gnomekeyring-1.0 python3-pykde4 doc-base python-secretstorage-doc
  python-setuptools-doc
The following NEW packages will be installed:
  build-essential dbus libapparmor1 libdbus-glib-1-2 libpython3-dev
  libpython3.5 libpython3.5-dev python-pip-whl python3-cffi-backend
  python3-crypto python3-cryptography python3-dbus python3-dev python3-gi
  python3-idna python3-keyring python3-keyrings.alt python3-pip
  python3-pkg-resources python3-pyasn1 python3-secretstorage
  python3-setuptools python3-six python3-wheel python3-xdg python3.5-dev
0 upgraded, 26 newly installed, 0 to remove and 7 not upgraded.
Need to get 43.4 MB of archives.
After this operation, 70.3 MB of additional disk space will be used.

(Reading database ... 29953 files and directories currently installed.)
Preparing to unpack .../00-libapparmor1_2.11.0-3+deb9u2_amd64.deb ...
Unpacking libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Selecting previously unselected package dbus.
Preparing to unpack .../01-dbus_1.10.32-0+deb9u1_amd64.deb ...
Unpacking dbus (1.10.32-0+deb9u1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../02-build-essential_12.3_amd64.deb ...
Unpacking build-essential (12.3) ...
Selecting previously unselected package libdbus-glib-1-2:amd64.
Preparing to unpack .../03-libdbus-glib-1-2_0.108-2_amd64.deb ...
Unpacking libdbus-glib-1-2:amd64 (0.108-2) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../04-libpython3.5_3.5.3-1+deb9u3_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.3-1+deb9u3) ...
Selecting previously unselected package libpython3.5-dev:amd64.
Preparing to unpack .../05-libpython3.5-dev_3.5.3-1+deb9u3_amd64.deb ...
Unpacking libpython3.5-dev:amd64 (3.5.3-1+deb9u3) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../06-libpython3-dev_3.5.3-1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.5.3-1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../07-python-pip-whl_9.0.1-2+deb9u2_all.deb ...
Unpacking python-pip-whl (9.0.1-2+deb9u2) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../08-python3-cffi-backend_1.9.1-2_amd64.deb ...
Unpacking python3-cffi-backend (1.9.1-2) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../09-python3-crypto_2.6.1-7_amd64.deb ...
Unpacking python3-crypto (2.6.1-7) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../10-python3-idna_2.2-1_all.deb ...
Unpacking python3-idna (2.2-1) ...
Selecting previously unselected package python3-pyasn1.
Preparing to unpack .../11-python3-pyasn1_0.1.9-2_all.deb ...
Unpacking python3-pyasn1 (0.1.9-2) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../12-python3-pkg-resources_33.1.1-1_all.deb ...
Unpacking python3-pkg-resources (33.1.1-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../13-python3-setuptools_33.1.1-1_all.deb ...
Unpacking python3-setuptools (33.1.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../14-python3-six_1.10.0-3_all.deb ...
Unpacking python3-six (1.10.0-3) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../15-python3-cryptography_1.7.1-3+deb9u2_amd64.deb ...
Unpacking python3-cryptography (1.7.1-3+deb9u2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../16-python3-dbus_1.2.4-1+b1_amd64.deb ...
Unpacking python3-dbus (1.2.4-1+b1) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../17-python3.5-dev_3.5.3-1+deb9u3_amd64.deb ...
Unpacking python3.5-dev (3.5.3-1+deb9u3) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../18-python3-dev_3.5.3-1_amd64.deb ...
Unpacking python3-dev (3.5.3-1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../19-python3-gi_3.22.0-2_amd64.deb ...
Unpacking python3-gi (3.22.0-2) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../20-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../21-python3-keyring_10.1-1_all.deb ...
Unpacking python3-keyring (10.1-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../22-python3-keyrings.alt_1.3-1_all.deb ...
Unpacking python3-keyrings.alt (1.3-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../23-python3-pip_9.0.1-2+deb9u2_all.deb ...
Unpacking python3-pip (9.0.1-2+deb9u2) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../24-python3-wheel_0.29.0-2_all.deb ...
Unpacking python3-wheel (0.29.0-2) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../25-python3-xdg_0.25-4_all.deb ...
Unpacking python3-xdg (0.25-4) ...
Setting up python-pip-whl (9.0.1-2+deb9u2) ...
Setting up python3-cffi-backend (1.9.1-2) ...
Setting up build-essential (12.3) ...
Setting up python3-crypto (2.6.1-7) ...
Setting up libdbus-glib-1-2:amd64 (0.108-2) ...
Setting up libpython3.5:amd64 (3.5.3-1+deb9u3) ...
Setting up python3-idna (2.2-1) ...
Setting up python3-xdg (0.25-4) ...
Setting up python3-keyrings.alt (1.3-1) ...
Setting up python3-six (1.10.0-3) ...
Setting up python3-wheel (0.29.0-2) ...
Setting up python3-pkg-resources (33.1.1-1) ...
Setting up python3-gi (3.22.0-2) ...
Setting up libpython3.5-dev:amd64 (3.5.3-1+deb9u3) ...
Setting up python3-pyasn1 (0.1.9-2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Setting up python3-pip (9.0.1-2+deb9u2) ...
Setting up dbus (1.10.32-0+deb9u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up python3-setuptools (33.1.1-1) ...
Setting up python3.5-dev (3.5.3-1+deb9u3) ...
Setting up libpython3-dev:amd64 (3.5.3-1) ...
Setting up python3-cryptography (1.7.1-3+deb9u2) ...
Setting up python3-dbus (1.2.4-1+b1) ...
Setting up python3-dev (3.5.3-1) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up python3-keyring (10.1-1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Removing intermediate container 44462fcc8d05
 ---> 9133e548a948
Step 3/12 : RUN mkdir -p /usr/src/app
 ---> Running in 58d133a790cb
Removing intermediate container 58d133a790cb
 ---> bade5e9c8b6a
Step 4/12 : ADD server/requirements.txt /tmp/
 ---> d82307ee8cd1
Step 5/12 : RUN pip3 --no-cache-dir install -r /tmp/requirements.txt
 ---> Running in c2a8813af13a
Collecting absl-py==0.8.1 (from -r /tmp/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/3b/72/e6e483e2db953c11efa44ee21c5fdb6505c4dffa447b4263ca8af6676b62/absl-py-0.8.1.tar.gz (103kB)
Collecting astor==0.8.0 (from -r /tmp/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl
Collecting Click==7.0 (from -r /tmp/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting Flask==1.1.1 (from -r /tmp/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94kB)
Collecting Flask-Cors==3.0.8 (from -r /tmp/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/78/38/e68b11daa5d613e3a91e4bf3da76c94ac9ee0d9cd515af9c1ab80d36f709/Flask_Cors-3.0.8-py2.py3-none-any.whl
Collecting gast==0.3.2 (from -r /tmp/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/1f/04/4e36c33f8eb5c5b6c622a1f4859352a6acca7ab387257d4b3c191d23ec1d/gast-0.3.2.tar.gz
Collecting gevent==1.4.0 (from -r /tmp/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/95/d2/f2f454b00fde1608f6f4889c8cc3e12b5000f26cd5c3e11b5427c7781de9/gevent-1.4.0-cp35-cp35m-manylinux1_x86_64.whl (5.4MB)
Collecting google-pasta==0.1.7 (from -r /tmp/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/d0/33/376510eb8d6246f3c30545f416b2263eee461e40940c2a4413c711bdf62d/google_pasta-0.1.7-py3-none-any.whl (52kB)
Collecting greenlet==0.4.15 (from -r /tmp/requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/2e/65/27f35497cc0102a792390d056e793e064da95fc9eae45d75ae0ba49c0a0d/greenlet-0.4.15-cp35-cp35m-manylinux1_x86_64.whl (41kB)
Collecting grpcio==1.24.1 (from -r /tmp/requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/6a/5a/c17f0c15cf823acaa57a363d9d93ce3130856aa9f11be141593a4d2853ce/grpcio-1.24.1-cp35-cp35m-manylinux1_x86_64.whl (2.2MB)
Collecting h5py==2.10.0 (from -r /tmp/requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/10/56/d5c53cd170529bb40cd7dd43e2b68944cb65a45f65ab4c78a68f4ac9e51e/h5py-2.10.0-cp35-cp35m-manylinux1_x86_64.whl (2.8MB)
Collecting itsdangerous==1.1.0 (from -r /tmp/requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Jinja2==2.10.3 (from -r /tmp/requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)
Collecting Keras==2.3.1 (from -r /tmp/requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/ad/fd/6bfe87920d7f4fd475acd28500a42482b6b84479832bdc0fe9e589a60ceb/Keras-2.3.1-py2.py3-none-any.whl (377kB)
Collecting Keras-Applications==1.0.8 (from -r /tmp/requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB)
Collecting Keras-Preprocessing==1.1.0 (from -r /tmp/requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl (41kB)
Collecting Markdown==3.1.1 (from -r /tmp/requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB)
Collecting MarkupSafe==1.1.1 (from -r /tmp/requirements.txt (line 18))
  Downloading https://files.pythonhosted.org/packages/6e/57/d40124076756c19ff2269678de7ae25a14ebbb3f6314eb5ce9477f191350/MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl
Collecting numpy==1.17.2 (from -r /tmp/requirements.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/9b/21/2b18339d24a2f73dcefb2f10f48aff6182e16da83e3a612684443c6cfb29/numpy-1.17.2-cp35-cp35m-manylinux1_x86_64.whl (20.1MB)
Collecting Pillow==6.2.0 (from -r /tmp/requirements.txt (line 20))
  Downloading https://files.pythonhosted.org/packages/a8/34/086feba718f629fc51f27f993fa72e210c1c25077cba2f9e9a2dcfa23a7f/Pillow-6.2.0-cp35-cp35m-manylinux1_x86_64.whl (2.1MB)
Collecting protobuf==3.10.0 (from -r /tmp/requirements.txt (line 21))
  Downloading https://files.pythonhosted.org/packages/27/1c/ccf7810d5d02bdaafc223af032e8ac7f5ad6d23c5d0a44682a5a85fdda25/protobuf-3.10.0-cp35-cp35m-manylinux1_x86_64.whl (1.3MB)
Collecting PyYAML==5.1.2 (from -r /tmp/requirements.txt (line 22))
  Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
Collecting scipy==1.1.0 (from -r /tmp/requirements.txt (line 23))
  Downloading https://files.pythonhosted.org/packages/cd/32/5196b64476bd41d596a8aba43506e2403e019c90e1a3dfc21d51b83db5a6/scipy-1.1.0-cp35-cp35m-manylinux1_x86_64.whl (33.1MB)
Collecting six==1.12.0 (from -r /tmp/requirements.txt (line 24))
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting tensorboard==1.14.0 (from -r /tmp/requirements.txt (line 25))
  Downloading https://files.pythonhosted.org/packages/91/2d/2ed263449a078cd9c8a9ba50ebd50123adf1f8cfbea1492f9084169b89d9/tensorboard-1.14.0-py3-none-any.whl (3.1MB)
Collecting tensorflow==1.14.0 (from -r /tmp/requirements.txt (line 26))
  Downloading https://files.pythonhosted.org/packages/7c/fb/7b2c5b3e85ad335b53ca67deb2ef4af574dc0a8759f43b7f45e15005e449/tensorflow-1.14.0-cp35-cp35m-manylinux1_x86_64.whl (109.2MB)
Collecting tensorflow-estimator==1.14.0 (from -r /tmp/requirements.txt (line 27))
  Downloading https://files.pythonhosted.org/packages/3c/d5/21860a5b11caf0678fbc8319341b0ae21a07156911132e0e71bffed0510d/tensorflow_estimator-1.14.0-py2.py3-none-any.whl (488kB)
Collecting termcolor==1.1.0 (from -r /tmp/requirements.txt (line 28))
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting Werkzeug==0.16.0 (from -r /tmp/requirements.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)
Collecting wrapt==1.11.2 (from -r /tmp/requirements.txt (line 30))
  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting setuptools>=36 (from Markdown==3.1.1->-r /tmp/requirements.txt (line 17))
  Downloading https://files.pythonhosted.org/packages/6d/38/c21ef5034684ffc0412deefbb07d66678332290c14bb5269c85145fbd55e/setuptools-50.3.2-py3-none-any.whl (785kB)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /usr/lib/python3/dist-packages (from tensorboard==1.14.0->-r /tmp/requirements.txt (line 25))
Installing collected packages: six, absl-py, astor, Click, MarkupSafe, Jinja2, itsdangerous, Werkzeug, Flask, Flask-Cors, gast, greenlet, gevent, google-pasta, grpcio, numpy, h5py, Keras-Preprocessing, scipy, PyYAML, Keras-Applications, Keras, setuptools, Markdown, Pillow, protobuf, tensorboard, tensorflow-estimator, termcolor, wrapt, tensorflow
  Found existing installation: six 1.10.0
    Not uninstalling six at /usr/lib/python3/dist-packages, outside environment /usr
  Running setup.py install for absl-py: started
    Running setup.py install for absl-py: finished with status 'done'
  Running setup.py install for gast: started
    Running setup.py install for gast: finished with status 'done'
  Running setup.py install for PyYAML: started
    Running setup.py install for PyYAML: finished with status 'done'
  Found existing installation: setuptools 33.1.1
    Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
  Running setup.py install for termcolor: started
    Running setup.py install for termcolor: finished with status 'done'
  Running setup.py install for wrapt: started
    Running setup.py install for wrapt: finished with status 'done'
Successfully installed Click-7.0 Flask-1.1.1 Flask-Cors-3.0.8 Jinja2-2.10.3 Keras-2.3.1 Keras-Applications-1.0.8 Keras-Preprocessing-1.1.0 Markdown-3.1.1 MarkupSafe-1.1.1 Pillow-6.2.0 PyYAML-5.1.2 Werkzeug-0.16.0 absl-py-0.8.1 astor-0.8.0 gast-0.3.2 gevent-1.4.0 google-pasta-0.1.7 greenlet-0.4.15 grpcio-1.24.1 h5py-2.10.0 itsdangerous-1.1.0 numpy-1.17.2 protobuf-3.10.0 scipy-1.1.0 setuptools-50.3.2 six-1.12.0 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 wrapt-1.11.2
Removing intermediate container c2a8813af13a
 ---> 57ffa200fe94
Step 6/12 : ADD server/models/download_models.sh /tmp/models/
 ---> 4a64a2b81e58
Step 7/12 : RUN cd /tmp/models && ./download_models.sh
 ---> Running in 62a20a199203
/bin/sh: 1: ./download_models.sh: Permission denied
The command '/bin/sh -c cd /tmp/models && ./download_models.sh' returned a non-zero code: 126

Fix
I try to avoid this with chmod +x statement, it tested ok.
Will create pr shortly


Training code

Hi
Where can I find the code needed to train the initial model and produce the model files?

Hi
Where can I find the code needed to train the initial model and produce the model files?

Yes to instanciate a fresh model from te code and train a new model (after generating the initial config(ie Load with no weights)....
as i would like to train a model from scratch with my own data (i have a trained tokenizer but i would also like a script to train a new tokenizer)
This is needed to create a new model ( with a new tokenization process, ie : multimodal input ) ... so the ability to select which input pre processors / feature extractors are available ... As Speech input should be auto tokenized ... from transcribed to text to token_ID... as well as the image being returned to token _IDs also , for images the processor would process the image and convert to token ID...
In training the image may have relevance as reference as it should give a description of an image to the prompt( a man sitting on a bench), (a Malignant tumour with legions) .. so again ot would be tokenized to words.... the words need to transcribe and the images need to return their learned captions. when traning the peft would be applied to the transformer ! ... the image peft applied to the processor and the sound applied to the open whisper processor etc...
We need only to have a text output , as later we can create a wrapper for generation of sound and for images ... using the same sound but with diffusers to generate an output. the training process should use the diffusers to learn the images as well as by the captioning its description .... hence for later generation any pre captioned image should be able to be regenerated or a representation ! ... For sound input and generation , obviously speech output is no problem as the same library for speech also outputs speech, but we also need a sound generator for our generated outputs ie generate the sound of a sparrow(bird).... (another form of diffuser)....
hence we need the start location ! the training script for a code model ... ?


Why not dense unknown boxes？There should be infinite unknown boxes.

Why not dense unknown boxes? In the "A sample qualitative result" example, apples and oranges are marked as unknown to begin with, but why aren't glasses, human ears, eyebrows, hair, clothes, tables, ironwork behind, and even air marked as unknown?
Unknown categories are infinite, and there should be infinite unknown boxes.
Of course, the content of a picture is limited, and it is impossible to contain infinite objects of unknown categories, but the boxes of unknown categories should also be much more than those marked in the picture.
为什么不是密密麻麻的未知框？在“A sample qualitative result”示例中，苹果和橘子开始被标记为未知，但是为什么眼镜、人的耳朵、眉毛、头发、衣服、桌子、后面的铁制品、甚至是空气都没有被标记为未知？
未知类别是无穷个，应该有无穷个未知框才对。
当然，一张图片的内容有限，不可能包含无限个未知类别的物体，但是未知类的框也应该远远比图中标记的要多得多。
A sample qualitative result：
https://camo.githubusercontent.com/48fec353f66f8528547527d6fc598e25cf6c16a4b919f554ed318ebd1ee438e0/68747470733a2f2f6a6f736570686b6a2e696e2f6173736574732f696d672f6f776f642f6578616d706c652e706e67

For limited categories of images, we can label them all at once. But for infinite categories of image detection, we should ask this question: will you take a closer look? What else can you see?
Do you really know what this is?
对有限类别的图像，我们可以一次性全部标注。但是对于无限类别的图像检测，也行我们应该这样问：你再仔细看看？你还能看出什么？
你真的知道这是什么吗？

你真的知道这是什么吗？
哈哈，我就是尝试从这里切入的。

Maybe I should consider using CLIP?
也许我应该考虑使用CLIP？

Maybe I should consider using CLIP?
也许我应该考虑使用CLIP？

If you introduce CLIP， the task could change to an Open-vocabulary object detection task.
如果你引入CLIP的话，是不是就变成Open-vocabulary的问题了？


[Feature Request] Unit test for protos as input/output of workflows in sandbox

Is your feature request related to a problem? Please describe.
Protobuf static C state is a problem reloading import modules until https://github.com/protocolbuffers/protobuf/issues/10075 is merged
Describe the solution you'd like
Explain that protobufs have to be added as passthrough modules until that is fix, and add a unit test that we can clean up when that's fixed.
Also relates to #181 because 3.x will never work with reloading it seems (ref https://github.com/protocolbuffers/protobuf/issues/10143)

This was merged with #215


document-layout-analysis

hello! and amazing work, do you think that it is possible to use your code for document layout analysis? my main concern is that in each document image there are lot of categories (table,title,author, etc.). Is it feasible?

Hello, thanks for your attention to our work. I have not use my method in document layout analysis, but you may have a try.
Maybe the document can be regarded as the image, and the title, author and table can be regarded as the instances.


Default selected columns in Choose Columns

Sorry if this is the wrong place to ask this but...
I have a table with 100 + columns, by default most of the return null unless we tell the underlying service to return a value for them.
So I want 'Choose Columns' to only show as selected the handful of columns that are returned by default and then I can use OnSelectColumns to fetch the other columns as required.
So far I can not work out how to get Choose Columns to show anything other than all columns as selected initially.

The Power BI community forums are a better place to ask these questions. Thanks!


[BUG] test failures with non-standard terminal width

Describe the issue:
When running the full test suite using python -m pytest, failures may happen in the docs/examples/basics.rst test suite if the terminal width is not 80 columns.
The issue seems to be with tables, where python only displays a subset of the columns to fit the terminal width. A larger terminal produces more columns, and therefore deviates from the expected result.
Similarly, a narrower terminal produces less columns, which also deviates from the expected result.
Reproduce the code example:
* Run `python -m pytest` in a standard, 80-col terminal window. Tests pass
* Run the same command in a 120-col terminal window (for example). Tests fail.

Error message:
============================================================================= FAILURES =============================================================================
_______________________________________________________________________ [doctest] basics.rst _______________________________________________________________________
205 this session. For this, it is first necessary to call
206 :func:`Session.load <fastf1.core.Session.load>`. This will load all available data for the
207 session from various APIs. Downloading and processing of the data may take a
208 few seconds. It is highly recommended to utilize FastF1's builtin caching
209 functionality to speed up data loading and to prevent excessive API requests.
210
211   >>> fastf1.Cache.enable_cache("path/to/empty/folder")  # doctest: +SKIP
212   >>> session = fastf1.get_session(2021, 'French Grand Prix', 'Q')
213   >>> session.load()
214   >>> session.results
Differences (unified diff with -expected +actual):
    @@ -1,23 +1,23 @@
    -   DriverNumber BroadcastName Abbreviation  ... Time Status Points
    -33           33  M VERSTAPPEN          VER  ...  NaT           NaN
    -44           44    L HAMILTON          HAM  ...  NaT           NaN
    -77           77      V BOTTAS          BOT  ...  NaT           NaN
    -11           11       S PEREZ          PER  ...  NaT           NaN
    -55           55       C SAINZ          SAI  ...  NaT           NaN
    -10           10       P GASLY          GAS  ...  NaT           NaN
    -16           16     C LECLERC          LEC  ...  NaT           NaN
    -4             4      L NORRIS          NOR  ...  NaT           NaN
    -14           14      F ALONSO          ALO  ...  NaT           NaN
    -3             3   D RICCIARDO          RIC  ...  NaT           NaN
    -31           31        E OCON          OCO  ...  NaT           NaN
    -5             5      S VETTEL          VET  ...  NaT           NaN
    -99           99  A GIOVINAZZI          GIO  ...  NaT           NaN
    -63           63     G RUSSELL          RUS  ...  NaT           NaN
    -47           47  M SCHUMACHER          MSC  ...  NaT           NaN
    -6             6      N LATIFI          LAT  ...  NaT           NaN
    -7             7   K RAIKKONEN          RAI  ...  NaT           NaN
    -9             9     N MAZEPIN          MAZ  ...  NaT           NaN
    -18           18      L STROLL          STR  ...  NaT           NaN
    -22           22     Y TSUNODA          TSU  ...  NaT           NaN
    +   DriverNumber BroadcastName Abbreviation           TeamName TeamColor  ...                     Q2                     Q3 Time  Status  Points
    +33           33  M VERSTAPPEN          VER    Red Bull Racing    0600EF  ... 0 days 00:01:31.080000 0 days 00:01:29.990000  NaT             NaN
    +44           44    L HAMILTON          HAM           Mercedes    00D2BE  ... 0 days 00:01:30.788000 0 days 00:01:30.248000  NaT             NaN
    +77           77      V BOTTAS          BOT           Mercedes    00D2BE  ... 0 days 00:01:30.735000 0 days 00:01:30.376000  NaT             NaN
    +11           11       S PEREZ          PER    Red Bull Racing    0600EF  ... 0 days 00:01:30.971000 0 days 00:01:30.445000  NaT             NaN
    +55           55       C SAINZ          SAI            Ferrari    DC0004  ... 0 days 00:01:31.146000 0 days 00:01:30.840000  NaT             NaN
    +10           10       P GASLY          GAS         AlphaTauri    2B4562  ... 0 days 00:01:31.353000 0 days 00:01:30.868000  NaT             NaN
    +16           16     C LECLERC          LEC            Ferrari    DC0004  ... 0 days 00:01:31.567000 0 days 00:01:30.987000  NaT             NaN
    +4             4      L NORRIS          NOR            McLaren    FF9800  ... 0 days 00:01:31.542000 0 days 00:01:31.252000  NaT             NaN
    +14           14      F ALONSO          ALO             Alpine    0090FF  ... 0 days 00:01:31.549000 0 days 00:01:31.340000  NaT             NaN
    +3             3   D RICCIARDO          RIC            McLaren    FF9800  ... 0 days 00:01:31.615000 0 days 00:01:31.382000  NaT             NaN
    +31           31        E OCON          OCO             Alpine    0090FF  ... 0 days 00:01:31.736000                    NaT  NaT             NaN
    +5             5      S VETTEL          VET       Aston Martin    006F62  ... 0 days 00:01:31.767000                    NaT  NaT             NaN
    +99           99  A GIOVINAZZI          GIO  Alfa Romeo Racing    900000  ... 0 days 00:01:31.813000                    NaT  NaT             NaN
    +63           63     G RUSSELL          RUS           Williams    005AFF  ... 0 days 00:01:32.065000                    NaT  NaT             NaN
    +47           47  M SCHUMACHER          MSC       Haas F1 Team    FFFFFF  ...                    NaT                    NaT  NaT             NaN
    +6             6      N LATIFI          LAT           Williams    005AFF  ...                    NaT                    NaT  NaT             NaN
    +7             7   K RAIKKONEN          RAI  Alfa Romeo Racing    900000  ...                    NaT                    NaT  NaT             NaN
    +9             9     N MAZEPIN          MAZ       Haas F1 Team    FFFFFF  ...                    NaT                    NaT  NaT             NaN
    +18           18      L STROLL          STR       Aston Martin    006F62  ...                    NaT                    NaT  NaT             NaN
    +22           22     Y TSUNODA          TSU         AlphaTauri    2B4562  ...                    NaT                    NaT  NaT             NaN
     <BLANKLINE>
     [20 rows x 16 columns]

Yes, I know about this one. I have already wasted a considerable amount of time with this, but without reasonable success.
In theory, pandas has settings for this to set a fixed with. In practice, they don't seem to work with pytest. I tried figuring out from pandas' own test setup but failed because it is way more complex. Generally, people running doctests on DataFrames are a bit sparse, so there's not that much information out there, it seems.
At some point I just settled with "works in CI" and "works in PyCharm's default console" i. e. I can run tests locally and get the same result as the CI. Not many people are actually trying to run the test suit for FastF1. And at some point the amount of time I started wasting on this was not justifiable.
If someone can find a reliable fix for this, I'll be very happy.

Looks somewhat promising. I don't think I've tried an autouse fixture before but I'm not sure. I still haven't fully understood how pytest interacts with modules like doctest. I'll give it a try.

@lmontrieux Is this still an issue? What terminal were you using to get the test failures?
I just tried:

Windows CMD
Windows Terminal (new app)
PyCharm (on Windows) builtin terminal
WSL Ubuntu
Docker python:3.10
Docker debian:latest

I'm running out of ideas for test environments that I can quickly set up 😅 Can you tell me what I need to do to get these tests to fail?


[C++][Parquet] Implement missing information in schema descriptor

The scope of this JIRA is to populate the  std::unordered_map<int, const schema::NodePtr> leaf_to_base_ data structure in the schema descriptor. This is handy in reading complex types.
Reporter: Deepak Majeti / @majetideepak
Assignee: Deepak Majeti](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mdeepak) / @majetideepak
Note: This issue was originally created as PARQUET-603. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Issue resolved by pull request 97
https://github.com/apache/parquet-cpp/pull/97


feat: add block list picker when using zero-config

Describe the feature
When running npx jsrepo add github/<owner>/<name>/<category>/<name> in zero-config mode, could it display the same list of blocks the same way as with a config file?
Validations

[X] I have checked other issues to see if my feature was already requested or added

It already does just do
npx jsrepo add --repo github/ieedan/std


Allowing running forge test on a node over rpc.

Component
Forge
Describe the feature you would like
Right now running forge test forces using the the built in revm to run the tests against. This is great, but if someone is trying to test smart contract logic that interacts with a custom precompile or some modified version of the EVM it prevents this.
For instance, we want to run unit tests that utilize precompile contracts in https://github.com/berachain/polaris and we cannot do so other than jankily writing a forge script.
Additional context
No response

Ref #1505 and https://github.com/foundry-rs/foundry/issues/1078 and https://github.com/bluealloy/revm/issues/280


fix: add await to avoid unhandled rejection

Adding await to avoid rejected promise error, rather raise the exception

Tested and solves the issue.


MAINT:lstsq: Switch to tranposed problem if the array is tall

Reference issue
Closes #12196
What does this implement/fix?
The pseudo-inverse solution via scipy.linalg.pinv is through forming a least-squares problem AX=B where X is the pseudo-inverse of A and B is identity. When A is tall, necessarily B assumes the row number of A and is equally tall. However due to the properties of pseudo-inverse, one can also solve for A.T X.T = B and in this case B will be substantially smaller if A is substantially taller. This PR enables this behavior via an internal trans flag.
The switching point for assuming tallness is when row number is higher than column number by 10 percent. It is kind of arbitrary but derived from some numerical experiments. I would appreciate a more rigorous derivation of the switch point.

pinging @sturlamolden and others.

Looks good

It needs a testcase.

Hmm I don't know how to test this actually since behavior is not changed. Any ideas anyone?

Just compute the pinv for two arrays. Let they be above and below the threshold for transposition. Then compare with some other means of computing pinv, like
cho_solve(cho_factor(A.T<EMAIL_ADDRESS>

And since you are returning a transpose, it might also be possible to see if this happened by looking at the .flags for the returned pinv array.

LGTM

Reviews are positive here, CI is green, no old tests were modified, just a new test added, so merging.
Thanks @ilayn and reviewers.


Fix Policy structure

Fix the issue #30.
Fix the compilation errors caused by uncommenting the roles and keys attributes.
The compilation errors were caused by the StructOpt crate. I didn't have the time to investigate the actual reason of it, however I don't think it's a good idea to put something cli-related deep down into the definition of this low level type. But maybe I'm missing something and I'm completely wrong :)
I also added some serde directives needed to make serializing/deserializing work without errors.
Note well: the roles attribute is still commended because the unit test would fail. The RoleType struct need to be extended to better fit the actual data it represents.
I've also done some code cleanups.

Thank you @flavio !! Very, very much appreciated


[Storage] [DataMovement] Updated Changelog for DataMovement July Release

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.

API change check
API changes are not detected in this pull request.

API change check
API changes are not detected in this pull request.


Vp/governance

First draft for the governance article in ADX.

@vplauzon : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @vplauzon New content should be submitted in the private repo. Will you create a PR for this content in the private repo? We'll close this PR. Thanks.

Would be happy to @ktoliver, but I do not have access to the private repo.

Would be happy to @ktoliver Kristine Toliver (Aquent LLC) Vendor, but I do not have access to the private repo.

Thanks @vplauzon. I've reopened the PR and sent email.


Module summaries contains links in brackets

Description:

This is caused by MD file parsing in Docerina.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing as this issue is fixed from the above PR.


Add ability to use shorter commit messages (i.e. without body)

I like Dependabot's pull request description which is lengthy and informative.
On the other hand, I would prefer to be able to configure short and simple commit messages.
For example, instead of this commit message:
ci: bump actions/setup-python from v1 to v2.1.3

Bumps [actions/setup-python](https://github.com/actions/setup-python) from v1 to v2.1.3.
- [Release notes](https://github.com/actions/setup-python/releases)
-<EMAIL_ADDRESS>
Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>
I would prefer an option to shorten it to:
ci: bump actions/setup-python from v1 to v2.1.3

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

An additional bonus side-effect of this is that if a project uses gitlint (or a similar git commit messages linter), the shorter commit message would also avoid gitlint errors due to lines exceeding maximum length of 80 characters.

Duplicate of:

https://github.com/dependabot/dependabot-core/issues/1460


Host Request header misses port number for SSL connections

It seems the Host header calculated without a port number when the Request contains these values.
'REQUEST_SCHEME' => 'https',
...
'SERVER_PORT' => '443',
...
'HTTP_HOST' => 'some-domain.localhost',
...
'HTTPS' => 'on',

Host should be known as : some-domain.localhost:443
but is known as : some-domain.localhost
see https://github.com/neomerx/cors-psr7/issues/12
dump of $request https://gist.github.com/basz/0408e7e72d4458afb008

@basz I've created PR https://github.com/zendframework/zend-diactoros/pull/310 for it

@basz I'm afraid I still do not understand the rationale behind this.
When I reviewed the original thread over on the neomerx/cors-psr7 repo, it looks like I may have misread an example when providing my last reply. You had noted that the scheme was HTTPS, over port 443, and that the HTTP_HOST entry in $_SERVER only included the hostname, and suggested that the Host header in the Diactoros request should include the port information, citing RFC-2616.
That specification does indeed state the following:

A "host" without any trailing port information implies the default port for the service requested (e.g., "80" for an HTTP URL).

However, PSR-7 targets RFC 7230, where the relevant section on the Host header is section 5.4. RFC 7230 does not indicate that the default port is 80 if not provided. In fact, sections 2.7.1 and 2.7.2 explicitly note that when the port is absent, the default associated with the scheme is assumed.
As such, unless the Host header you receive contains the port information, then what Diactoros does currently is correct per both PSR-7 and RFC 7230, and I'd argue that neomerx/cors-psr7 is incorrect.
The reason for my push-back on this is that it makes a special case out of one of the default cases (no port information provided, using a standard scheme), and breaks existing semantics (no port provided for when the port matches the default port for the scheme). I anticipate later users providing a patch that wants to revert the behavior, and that leaves us then with a conflict between use cases. Since the specifications cover this, I'd prefer to defer to those and leave the behavior as-is.

Let’s close this then.

Not using neomerx anymore
Issue is old
We’re following standards

@weierophinney @samsonasik thanks


[BUG]: UseDotNet@2 does not download .NET 8 SDK

New issue checklist

[X] I searched for existing GitHub issues
[X] I read pipeline troubleshooting guide
[X] I checked how to collect logs

Task name
UseDotNet@2
Task version
2.230.2
Issue Description
I'm attempting to use UseDotNet@2 with ubuntu-latest to install .NET 8 now it has been released, but I get the following error:
##[error]sdk version matching: 8.0.0 could not be found

I've checked releases.json and it has a non-preview build for linux, so it should be finding it, but it fails. I've tried this with the global.json below and by specifying version: 8.0.0 instead, both with and without the includePreviewVersions flag.
Task in azure-pipelines.yml:
- task: UseDotNet@2
    inputs:
      packageType: sdk
      useGlobalJson: true

global.json:
{
  "sdk": {
    "version": "8.0.0",
    "rollForward": "latestFeature"
  }
}

Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-latest
Relevant log output
No matching sdk version could be found for specified version: 8.0.0 Kindly note the preview versions are only considered in latest version searches if Include Preview Versions checkbox is checked.
Version 8.0.0 could not be found in its channel, will now search in adjacent channels.
Searching for version in channel 8.0
##[error]sdk version matching: 8.0.0 could not be found

Full task logs with system.debug enabled

2023-11-17T11:30:14.4316116Z ##[debug]Evaluating condition for step: 'NuGet: SDK'
2023-11-17T11:30:14.4320222Z ##[debug]Evaluating: and(succeeded(), eq(variables['globalJsonExists'], True))
2023-11-17T11:30:14.4320690Z ##[debug]Evaluating and:
2023-11-17T11:30:14.4327246Z ##[debug]..Evaluating succeeded:
2023-11-17T11:30:14.4327771Z ##[debug]..=> True
2023-11-17T11:30:14.4327967Z ##[debug]..Evaluating eq:
2023-11-17T11:30:14.4329207Z ##[debug]....Evaluating indexer:
2023-11-17T11:30:14.4340380Z ##[debug]......Evaluating variables:
2023-11-17T11:30:14.4342867Z ##[debug]......=> Object
2023-11-17T11:30:14.4343511Z ##[debug]......Evaluating String:
2023-11-17T11:30:14.4344021Z ##[debug]......=> 'globalJsonExists'
2023-11-17T11:30:14.4347622Z ##[debug]....=> 'true'
2023-11-17T11:30:14.4348063Z ##[debug]....Evaluating Boolean:
2023-11-17T11:30:14.4348308Z ##[debug]....=> True
2023-11-17T11:30:14.4351188Z ##[debug]....=> 'True'
2023-11-17T11:30:14.4351390Z ##[debug]..=> True
2023-11-17T11:30:14.4351846Z ##[debug]=> True
2023-11-17T11:30:14.4353940Z ##[debug]Expanded: and(True, eq('true', True))
2023-11-17T11:30:14.4354287Z ##[debug]Result: True
2023-11-17T11:30:14.4354566Z ##[section]Starting: NuGet: SDK
2023-11-17T11:30:14.4359489Z ==============================================================================
2023-11-17T11:30:14.4359744Z Task         : Use .NET Core
2023-11-17T11:30:14.4359860Z Description  : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
2023-11-17T11:30:14.4360922Z Version      : 2.230.2
2023-11-17T11:30:14.4361012Z Author       : Microsoft Corporation
2023-11-17T11:30:14.4361160Z Help         : https://aka.ms/AA4xgy0
2023-11-17T11:30:14.4361315Z ==============================================================================
2023-11-17T11:30:14.4881734Z ##[debug]Using node path: /home/vsts/agents/3.230.0/externals/node16/bin/node
2023-11-17T11:30:14.5755386Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2023-11-17T11:30:14.5764314Z ##[debug]loading inputs and endpoints
2023-11-17T11:30:14.5768450Z ##[debug]loading INPUT_PACKAGETYPE
2023-11-17T11:30:14.5778024Z ##[debug]loading INPUT_USEGLOBALJSON
2023-11-17T11:30:14.5779597Z ##[debug]loading INPUT_WORKINGDIRECTORY
2023-11-17T11:30:14.5781029Z ##[debug]loading INPUT_INCLUDEPREVIEWVERSIONS
2023-11-17T11:30:14.5782108Z ##[debug]loading INPUT_INSTALLATIONPATH
2023-11-17T11:30:14.5783231Z ##[debug]loading INPUT_PERFORMMULTILEVELLOOKUP
2023-11-17T11:30:14.5784361Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2023-11-17T11:30:14.5789288Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2023-11-17T11:30:14.5790262Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2023-11-17T11:30:14.5792900Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2023-11-17T11:30:14.5795217Z ##[debug]loaded 10
2023-11-17T11:30:14.5799177Z ##[debug]Agent.ProxyUrl=undefined
2023-11-17T11:30:14.5800845Z ##[debug]Agent.CAInfo=undefined
2023-11-17T11:30:14.5801262Z ##[debug]Agent.ClientCert=undefined
2023-11-17T11:30:14.5801970Z ##[debug]Agent.SkipCertValidation=undefined
2023-11-17T11:30:14.6143522Z ##[debug]Agent.ProxyUrl=undefined
2023-11-17T11:30:14.6148612Z ##[debug]Agent.CAInfo=undefined
2023-11-17T11:30:14.6149533Z ##[debug]Agent.ClientCert=undefined
2023-11-17T11:30:14.6150676Z ##[debug]check path : /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/node_modules/azure-pipelines-tool-lib/lib.json
2023-11-17T11:30:14.6152384Z ##[debug]adding resource file: /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/node_modules/azure-pipelines-tool-lib/lib.json
2023-11-17T11:30:14.6153593Z ##[debug]system.culture=en-US
2023-11-17T11:30:14.6239929Z ##[debug]Setting resource path to /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/task.json
2023-11-17T11:30:14.6241618Z ##[debug]check path : /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/task.json
2023-11-17T11:30:14.6243268Z ##[debug]adding resource file: /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/task.json
2023-11-17T11:30:14.6244284Z ##[debug]system.culture=en-US
2023-11-17T11:30:14.6262180Z ##[debug]check path : /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/node_modules/azure-pipelines-tasks-packaging-common/module.json
2023-11-17T11:30:14.6264017Z ##[debug]adding resource file: /home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.230.2/node_modules/azure-pipelines-tasks-packaging-common/module.json
2023-11-17T11:30:14.6266570Z ##[debug]system.culture=en-US
2023-11-17T11:30:14.6274102Z ##[debug]useGlobalJson=true
2023-11-17T11:30:14.6276562Z ##[debug]packageType=sdk
2023-11-17T11:30:14.6276935Z ##[debug]version=undefined
2023-11-17T11:30:14.6277400Z ##[debug]vsVersion=undefined
2023-11-17T11:30:14.6278126Z ##[debug]nugetVersion=undefined
2023-11-17T11:30:14.6279818Z ##[debug]installationPath=/opt/hostedtoolcache/dotnet
2023-11-17T11:30:14.6280559Z ##[debug]performMultiLevelLookup=false
2023-11-17T11:30:14.6281141Z ##[debug]includePreviewVersions=false
2023-11-17T11:30:14.6283309Z ##[debug]workingDirectory=/home/vsts/work/1/s
2023-11-17T11:30:14.6285741Z ##[debug]agent.proxyurl=undefined
2023-11-17T11:30:14.6286317Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_c647e1ac-30dd-42ca-b154-eb81d06f1270_build_126_0
2023-11-17T11:30:14.6292486Z ##[debug]testing directory '/opt/hostedtoolcache/dotnet'
2023-11-17T11:30:14.6293331Z ##[debug]testing directory '/opt/hostedtoolcache'
2023-11-17T11:30:14.6294119Z ##[debug]mkdir '/opt/hostedtoolcache/dotnet'
2023-11-17T11:30:14.6296012Z ##[debug]agent.proxyurl=undefined
2023-11-17T11:30:14.6296633Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_c647e1ac-30dd-42ca-b154-eb81d06f1270_build_126_0
2023-11-17T11:30:14.6300976Z ##[debug]defaultRoot: '/home/vsts/work/1/s'
2023-11-17T11:30:14.6301719Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2023-11-17T11:30:14.6302341Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2023-11-17T11:30:14.6303078Z ##[debug]findOptions.followSymbolicLinks: 'true'
2023-11-17T11:30:14.6303697Z ##[debug]findOptions.skipMissingFiles: 'false'
2023-11-17T11:30:14.6304331Z ##[debug]matchOptions.debug: 'false'
2023-11-17T11:30:14.6305023Z ##[debug]matchOptions.nobrace: 'true'
2023-11-17T11:30:14.6306997Z ##[debug]matchOptions.noglobstar: 'false'
2023-11-17T11:30:14.6307572Z ##[debug]matchOptions.dot: 'true'
2023-11-17T11:30:14.6308128Z ##[debug]matchOptions.noext: 'false'
2023-11-17T11:30:14.6309629Z ##[debug]matchOptions.nocase: 'false'
2023-11-17T11:30:14.6383898Z ##[debug]matchOptions.nonull: 'false'
2023-11-17T11:30:14.6384652Z ##[debug]matchOptions.matchBase: 'false'
2023-11-17T11:30:14.6385819Z ##[debug]matchOptions.nocomment: 'false'
2023-11-17T11:30:14.6386316Z ##[debug]matchOptions.nonegate: 'false'
2023-11-17T11:30:14.6386945Z ##[debug]matchOptions.flipNegate: 'false'
2023-11-17T11:30:14.6387498Z ##[debug]pattern: '**/global.json'
2023-11-17T11:30:14.6387943Z ##[debug]findPath: '/home/vsts/work/1/s'
2023-11-17T11:30:14.6388586Z ##[debug]statOnly: 'false'
2023-11-17T11:30:14.6388948Z ##[debug]findPath: '/home/vsts/work/1/s'
2023-11-17T11:30:14.6389402Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2023-11-17T11:30:14.6389915Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2023-11-17T11:30:14.6390410Z ##[debug]findOptions.followSymbolicLinks: 'true'
2023-11-17T11:30:14.6390895Z ##[debug]findOptions.skipMissingFiles: 'false'
2023-11-17T11:30:14.6391340Z ##[debug]  /home/vsts/work/1/s (directory)
2023-11-17T11:30:14.6391766Z ##[debug]  /home/vsts/work/1/s/.git (directory)
2023-11-17T11:30:14.6392230Z ##[debug]  /home/vsts/work/1/s/.git/FETCH_HEAD (file)
2023-11-17T11:30:14.6392704Z ##[debug]  /home/vsts/work/1/s/.git/HEAD (file)
2023-11-17T11:30:14.6393173Z ##[debug]  /home/vsts/work/1/s/.git/branches (directory)
2023-11-17T11:30:14.6393654Z ##[debug]  /home/vsts/work/1/s/.git/config (file)
2023-11-17T11:30:14.6394268Z ##[debug]  /home/vsts/work/1/s/.git/description (file)
2023-11-17T11:30:14.6394760Z ##[debug]  /home/vsts/work/1/s/.git/hooks (directory)
2023-11-17T11:30:14.6395331Z ##[debug]  /home/vsts/work/1/s/.git/hooks/applypatch-msg.sample (file)
2023-11-17T11:30:14.6395962Z ##[debug]  /home/vsts/work/1/s/.git/hooks/commit-msg.sample (file)
2023-11-17T11:30:14.6396608Z ##[debug]  /home/vsts/work/1/s/.git/hooks/fsmonitor-watchman.sample (file)
2023-11-17T11:30:14.6397252Z ##[debug]  /home/vsts/work/1/s/.git/hooks/post-update.sample (file)
2023-11-17T11:30:14.6397867Z ##[debug]  /home/vsts/work/1/s/.git/hooks/pre-applypatch.sample (file)
2023-11-17T11:30:14.6398479Z ##[debug]  /home/vsts/work/1/s/.git/hooks/pre-commit.sample (file)
2023-11-17T11:30:14.6399164Z ##[debug]  /home/vsts/work/1/s/.git/hooks/pre-merge-commit.sample (file)
2023-11-17T11:30:14.6399779Z ##[debug]  /home/vsts/work/1/s/.git/hooks/pre-push.sample (file)
2023-11-17T11:30:14.6400360Z ##[debug]  /home/vsts/work/1/s/.git/hooks/pre-rebase.sample (file)
2023-11-17T11:30:14.6400956Z ##[debug]  /home/vsts/work/1/s/.git/hooks/pre-receive.sample (file)
2023-11-17T11:30:14.6401583Z ##[debug]  /home/vsts/work/1/s/.git/hooks/prepare-commit-msg.sample (file)
2023-11-17T11:30:14.6402251Z ##[debug]  /home/vsts/work/1/s/.git/hooks/push-to-checkout.sample (file)
2023-11-17T11:30:14.6402903Z ##[debug]  /home/vsts/work/1/s/.git/hooks/sendemail-validate.sample (file)
2023-11-17T11:30:14.6403516Z ##[debug]  /home/vsts/work/1/s/.git/hooks/update.sample (file)
2023-11-17T11:30:14.6404029Z ##[debug]  /home/vsts/work/1/s/.git/index (file)
2023-11-17T11:30:14.6404490Z ##[debug]  /home/vsts/work/1/s/.git/info (directory)
2023-11-17T11:30:14.6404974Z ##[debug]  /home/vsts/work/1/s/.git/info/exclude (file)
2023-11-17T11:30:14.6405466Z ##[debug]  /home/vsts/work/1/s/.git/logs (directory)
2023-11-17T11:30:14.6405943Z ##[debug]  /home/vsts/work/1/s/.git/logs/HEAD (file)
2023-11-17T11:30:14.6406430Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs (directory)
2023-11-17T11:30:14.6406987Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes (directory)
2023-11-17T11:30:14.6407623Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin (directory)
2023-11-17T11:30:14.6408305Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/chore (directory)
2023-11-17T11:30:14.6409042Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/chore/dotnet-8 (file)
2023-11-17T11:30:14.6409949Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/chore/remove-context-from-tests (file)
2023-11-17T11:30:14.6410809Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/feature (directory)
2023-11-17T11:30:14.6411615Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/feature/initial-commit (file)
2023-11-17T11:30:14.6412458Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/feature/validators (file)
2023-11-17T11:30:14.6413306Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/feature/validators-3 (file)
2023-11-17T11:30:14.6414067Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/origin/main (file)
2023-11-17T11:30:14.6414723Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/pull (directory)
2023-11-17T11:30:14.6415487Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/pull/6649 (directory)
2023-11-17T11:30:14.6416182Z ##[debug]  /home/vsts/work/1/s/.git/logs/refs/remotes/pull/6649/merge (file)
2023-11-17T11:30:14.6416794Z ##[debug]  /home/vsts/work/1/s/.git/objects (directory)
2023-11-17T11:30:14.6417312Z ##[debug]  /home/vsts/work/1/s/.git/objects/info (directory)
2023-11-17T11:30:14.6417860Z ##[debug]  /home/vsts/work/1/s/.git/objects/pack (directory)
2023-11-17T11:30:14.6418637Z ##[debug]  /home/vsts/work/1/s/.git/objects/pack/pack-3f6ac69aa18d691d622d6d15a9bfb3486b6c1e24.idx (file)
2023-11-17T11:30:14.6419656Z ##[debug]  /home/vsts/work/1/s/.git/objects/pack/pack-3f6ac69aa18d691d622d6d15a9bfb3486b6c1e24.pack (file)
2023-11-17T11:30:14.6420685Z ##[debug]  /home/vsts/work/1/s/.git/objects/pack/pack-3f6ac69aa18d691d622d6d15a9bfb3486b6c1e24.rev (file)
2023-11-17T11:30:14.6421522Z ##[debug]  /home/vsts/work/1/s/.git/refs (directory)
2023-11-17T11:30:14.6422031Z ##[debug]  /home/vsts/work/1/s/.git/refs/heads (directory)
2023-11-17T11:30:14.6422561Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes (directory)
2023-11-17T11:30:14.6423140Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin (directory)
2023-11-17T11:30:14.6423786Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/chore (directory)
2023-11-17T11:30:14.6424487Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/chore/dotnet-8 (file)
2023-11-17T11:30:14.6425294Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/chore/remove-context-from-tests (file)
2023-11-17T11:30:14.6426099Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/feature (directory)
2023-11-17T11:30:14.6427047Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/feature/initial-commit (file)
2023-11-17T11:30:14.6427825Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/feature/validators (file)
2023-11-17T11:30:14.6428594Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/feature/validators-3 (file)
2023-11-17T11:30:14.6429299Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/origin/main (file)
2023-11-17T11:30:14.6429902Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/pull (directory)
2023-11-17T11:30:14.6430505Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/pull/6649 (directory)
2023-11-17T11:30:14.6431150Z ##[debug]  /home/vsts/work/1/s/.git/refs/remotes/pull/6649/merge (file)
2023-11-17T11:30:14.6431721Z ##[debug]  /home/vsts/work/1/s/.git/refs/tags (directory)
2023-11-17T11:30:14.6432202Z ##[debug]  /home/vsts/work/1/s/.gitignore (file)
2023-11-17T11:30:14.6432657Z ##[debug]  /home/vsts/work/1/s/.idea (directory)
2023-11-17T11:30:14.6433301Z ##[debug]  /home/vsts/work/1/s/.idea/.idea.Entertainment.Microservices.Validators (directory)
2023-11-17T11:30:14.6434174Z ##[debug]  /home/vsts/work/1/s/.idea/.idea.Entertainment.Microservices.Validators/.idea (directory)
2023-11-17T11:30:14.6435120Z ##[debug]  /home/vsts/work/1/s/.idea/.idea.Entertainment.Microservices.Validators/.idea/.gitignore (file)
2023-11-17T11:30:14.6436076Z ##[debug]  /home/vsts/work/1/s/.idea/.idea.Entertainment.Microservices.Validators/.idea/aws.xml (file)
2023-11-17T11:30:14.6437047Z ##[debug]  /home/vsts/work/1/s/.idea/.idea.Entertainment.Microservices.Validators/.idea/encodings.xml (file)
2023-11-17T11:30:14.6438062Z ##[debug]  /home/vsts/work/1/s/.idea/.idea.Entertainment.Microservices.Validators/.idea/indexLayout.xml (file)
2023-11-17T11:30:14.6438971Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators (directory)
2023-11-17T11:30:14.6439981Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/Entertainment.Microservices.Validators.csproj (file)
2023-11-17T11:30:14.6441049Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/ErrorHandling (directory)
2023-11-17T11:30:14.6442094Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/ErrorHandling/ValidationResultException.cs (file)
2023-11-17T11:30:14.6443113Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/README.md (file)
2023-11-17T11:30:14.6444082Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/Validation (directory)
2023-11-17T11:30:14.6445026Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/Validation/BaseValidator.cs (file)
2023-11-17T11:30:14.6446082Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/Validation/GeoLocationValidators.cs (file)
2023-11-17T11:30:14.6447115Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators/ValidationDbContext.cs (file)
2023-11-17T11:30:14.6448010Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators.Tests (directory)
2023-11-17T11:30:14.6449097Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators.Tests/Entertainment.Microservices.Validators.Tests.csproj (file)
2023-11-17T11:30:14.6451731Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators.Tests/GeolocationValidatorTests.cs (file)
2023-11-17T11:30:14.6452777Z ##[debug]  /home/vsts/work/1/s/Entertainment.Microservices.Validators.sln (file)
2023-11-17T11:30:14.6453434Z ##[debug]  /home/vsts/work/1/s/azure-pipelines.yml (file)
2023-11-17T11:30:14.6453918Z ##[debug]  /home/vsts/work/1/s/global.json (file)
2023-11-17T11:30:14.6454389Z ##[debug]  /home/vsts/work/1/s/nuget.config (file)
2023-11-17T11:30:14.6454823Z ##[debug]87 results
2023-11-17T11:30:14.6455153Z ##[debug]found 87 paths
2023-11-17T11:30:14.6455488Z ##[debug]applying include pattern
2023-11-17T11:30:14.6455946Z ##[debug]adjustedPattern: '/home/vsts/work/1/s/**/global.json'
2023-11-17T11:30:14.6456423Z ##[debug]1 matches
2023-11-17T11:30:14.6456741Z ##[debug]1 final results
2023-11-17T11:30:15.3019484Z ##[debug]Finding channel 8.0 for version 8.0.0
2023-11-17T11:30:16.8335174Z No matching sdk version could be found for specified version: 8.0.0 Kindly note the preview versions are only considered in latest version searches if Include Preview Versions checkbox is checked.
2023-11-17T11:30:16.8344520Z Version 8.0.0 could not be found in its channel, will now search in adjacent channels.
2023-11-17T11:30:16.8349995Z Searching for version in channel 8.0
2023-11-17T11:30:18.3166130Z ##[debug]task result: Failed
2023-11-17T11:30:18.3197878Z ##[error]sdk version matching: 8.0.0 could not be found
2023-11-17T11:30:18.3205260Z ##[debug]Processed: ##vso[task.issue type=error;]sdk version matching: 8.0.0 could not be found
2023-11-17T11:30:18.3207185Z ##[debug]Processed: ##vso[task.complete result=Failed;]sdk version matching: 8.0.0 could not be found
2023-11-17T11:30:18.3243960Z ##[section]Finishing: NuGet: SDK

Repro steps
pool:
  vm-image: ubuntu-latest

steps:
  - task: UseDotNet@2
      inputs:
        packageType: sdk
        useGlobalJson: true

Use 8.0.1 or 8.0.100 for the SDK version.

Thanks, 8.0.1 didn't work, but 8.0.100 did within global.json. I'm surprised though, I thought it would use the rollForward property to determine the exact build, like the local dotnet CLI tool does.

@StormPooper as for now the task only looks at the version property of the global json. That must be a valid / existing dotnet version. If I find time I will implement the two missing properties. But if you find faster time then me checkout this file:
https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/UseDotNetV2/globaljsonfetcher.ts
The bug is there, in the method readGlobalJson. There only the version property is extracted. Also the return result of the GetVersions must be modified so it can use the version pattern. (8.0.100, 8.0.x, 8.x)

Still an issue.

Can confirm, would be great if, at the very least, the task would look at the rollforward setting as well.

Would be great to have this fixed in the latest task version to properly support rollForward policy.

Causing me issues as well. I expected that this task would behave the same as the .NET CLI

Still an issue. :-(

It would be ideal to have this resolved in the latest task version to ensure full compatibility with the rollForward policy.

@FreeApophis this is not how it works. If it annoys you, fix it. I did write a year ago what are the interesting files to fix it. Currently I don't use it by myself. (or not in that way)
That is the main reason why I don't fix it. (and that I invest my free time of programming currently in other opeb source projects)

For me this step fails with version 8.0 but passes with version 8.x


dbt_utils expression_is_true does not work without --store-failures

I have dbt_utils and tsql_utils installed.
On one of my model's columns, I have the following test:
- name: MyColumn
  tests:
    - not_null
    - accepted_values:
        values: ["Opt1", "Opt2", "Opt3", "Opt4"]
    - dbt_utils.expression_is_true:
        expression: "!= 'Opt1'"
        config:
          where: "OtherColumn is null or OtherColumn = 0"

When I run dbt test, I get the following error:
('42000', '[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Create View or Function failed because no column name was specified for column 1. (4511) (SQLMoreResults)')
The compiled SQL is
select
    1
from (select * from MyTable where OtherColumn is null or OtherColumn = 0) dbt_subquery

where not(MyColumn != 'Opt1')

which, when run, is created as a view. SQL Server does not support unnamed columns in views, so this fails.
For reference, the following dispatch configuration is in my dbt_project.yml
dispatch:
  - macro_namespace: dbt_utils
    search_order: ["tsql_utils", "dbt_utils"]

Is this a bug, or am I doing something wrong? It seems there is no expression_is_true macro in tsql-utils for dbt_utils, but I may be understanding the dispatch flow incorrectly. Thanks!

fixed


Is there an option of adding more information into the request body?

I'm working on a project at the moment that uses this library for chunked uploading. I would just like to add extra information into the request body. I couldn't find an option for sending additional params in the docs. Is this currently supported?

Sure -- you can use the query option on Resumable for that exact thing.


Migration to pytorch 0.4

@buus2 no longer relevant. We are now trying to reproduce winning solution.


And idea for aegir.next.next()

Following convo on https://github.com/libp2p/js-libp2p-websockets/pull/63#issuecomment-324872692
A feature that would be extraordinary would be to be able to use JEST with https://www.npmjs.com/package/puppeteer so that we could run our tests in the browser and webworker at the same time as de Node.js and have that watch feature. This probably requires a ton of hard work and testing. It's ok to come back later :)

watch already works for the browser as well, not sure what pupeteer would give us in addition

Hm.. but if JEST is not running tests on the Browser, how is the watch from Jest doing it? We might be talking about different watch

karma always supported watch, aka rerun tests on file save

got it. I meant "watch a la Jest watch" where you can select batches of tests :)

Right, that would be a feature request for karma then, as puppeteer will not help doing anything with jest as far as I knwo


Investigate using nginx for serving assets and static pages

FYI when I set up the HKN site, I was able to get this working fairly easily using this configuration.  Note that the %(blah)s instances are placeholders for values that would be templated during deployment.

Cool do you want to submit a PR for it? You probably won't even have to write any ruby 😛

I don't actually have the slightest clue how this is deployed or where the nginx configurations for an application such as this would live. Otherwise yeah, I'd totally PR it instead of commenting on an issue.

Although I might wait for October for that Hacktoberfest credit


az acs kubernetes get-credentials needs appended 'mgmt' to DNS prefix

When using the command from the Kubernetes tutorial to get credentials, it should be mentioned that the DNS prefix you specify when creating the container service and the one you need to specify when doing
az acs kubernetes get-credentials --dns-prefix=<...>
are not the same; it seems you must append mgmt to the latter. E.g., I create a Kubernetes Cluster with DNS prefix mykube, then I need to get the credentials using --dns-prefix=mykubemgmt, which is rather confusing.
Important: I created my Kubernetes cluster using the Portal directly, not via the az command line tooling (including creating my own Service Principal and such). This also means that my acs name was prefixed with containerservice-<what I wrote>.
The error message you get otherwise is just this (here on macOS Sierra):
[Errno 8] nodename nor servname provided, or not known
Traceback (most recent call last):
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/azure/cli/main.py", line 34, in main
    cmd_result = APPLICATION.execute(args)
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/azure/cli/core/application.py", line 139, in execute
    result = expanded_arg.func(params)
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/azure/cli/core/commands/__init__.py", line 275, in _execute_command
    result = op(client, **kwargs) if client else op(**kwargs)
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/azure/cli/command_modules/acs/custom.py", line 477, in k8s_get_credentials
    '.kube/config', path_candidate)
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/azure/cli/command_modules/acs/acs_client.py", line 21, in SecureCopy
    ssh.connect(host, username=user, key_filename=os.path.join(home, '.ssh', 'id_rsa'))
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/paramiko/client.py", line 296, in connect
    to_try = list(self._families_and_addresses(hostname, port))
  File "/Users/myuser/Library/Python/2.7/lib/python/site-packages/paramiko/client.py", line 200, in _families_and_addresses
    addrinfos = socket.getaddrinfo(hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM)
gaierror: [Errno 8] nodename nor servname provided, or not known

I also tried the client in docker (which uses Python 3.5); there the error message looks like this:
[Errno -2] Name does not resolve
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/azure/cli/main.py", line 34, in main
    cmd_result = APPLICATION.execute(args)
  File "/usr/local/lib/python3.5/site-packages/azure/cli/core/application.py", line 142, in execute
    result = expanded_arg.func(params)
  File "/usr/local/lib/python3.5/site-packages/azure/cli/core/commands/__init__.py", line 275, in _execute_command
    result = op(client, **kwargs) if client else op(**kwargs)
  File "/usr/local/lib/python3.5/site-packages/azure/cli/command_modules/acs/custom.py", line 511, in k8s_get_credentials
    '.kube/config', path_candidate)
  File "/usr/local/lib/python3.5/site-packages/azure/cli/command_modules/acs/acs_client.py", line 21, in SecureCopy
    ssh.connect(host, username=user, key_filename=os.path.join(home, '.ssh', 'id_rsa'))
  File "/usr/local/lib/python3.5/site-packages/paramiko/client.py", line 296, in connect
    to_try = list(self._families_and_addresses(hostname, port))
  File "/usr/local/lib/python3.5/site-packages/paramiko/client.py", line 200, in _families_and_addresses
    addrinfos = socket.getaddrinfo(hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM)
  File "/usr/local/lib/python3.5/socket.py", line 732, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve

So either this is a documentation thing, or the behavior of the az cli tool has changed, or both. Right now, I'd say it's confusing.
Update: It works (with the changes I made in a PR) if you create the cluster using the az command line; so it seems the Container Services UI in the portal uses a different template than the az command line does.

I also noticed this. If the cluster is created via the portal, mgmt needs to be appended to your dns prefix when specifying --dns-prefix in az acs kubernetes get-credentials. What's a reasonable fix for this? There's a bit of inconsistency between the docs, what the portal does and what the cli does.

Using --dns-prefix is deprecated, just use --resource-group and --name and it will pull the relevant info from the API.
(and yes, I need to update docs too...)

I went ahead and fixed the documentation for the walkthrough via this existing PR I already had open for awhile to update the docker-machine.  So hopefully you can just approve both @dlepow and @mlearned?

@DonMartin76 @jesushernandez or @brendandburns are there any other documents you know of which need to be updated that reference az acs kubernetes get-credentials and is the update I provided to the docs sufficient to close this issue out?

Arg. just saw @DonMartin76 PR https://github.com/Microsoft/azure-docs/pull/342/files

The confusing part for me was the documentation, so 👍  (disclaimer: I can't test that command right now, but I believe it just works as stated in the new documentation).

@brendandburns It appears we are getting a new error now even when using the proper --resource-group and --name for the service.  I've tried on two different az installs (0.1.1b2+dev) and (0.1.1b1) and two fresh az acs create of clusters, with and without an SSH key that has/no password.
Authentication failed.
Traceback (most recent call last):
  File "/usr/local/az/local/lib/python2.7/site-packages/azure/cli/main.py", line 35, in main
    cmd_result = APPLICATION.execute(args)
  File "/usr/local/az/local/lib/python2.7/site-packages/azure/cli/core/application.py", line 146, in execute
    result = expanded_arg.func(params)
  File "/usr/local/az/local/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 295, in _execute_command
    result = op(client, **kwargs) if client else op(**kwargs)
  File "/usr/local/az/local/lib/python2.7/site-packages/azure/cli/command_modules/acs/custom.py", line 534, in k8s_get_credentials
    '.kube/config', path_candidate)
  File "/usr/local/az/local/lib/python2.7/site-packages/azure/cli/command_modules/acs/acs_client.py", line 21, in SecureCopy
    ssh.connect(host, username=user, key_filename=os.path.join(home, '.ssh', 'id_rsa'))
  File "/usr/local/az/local/lib/python2.7/site-packages/paramiko/client.py", line 380, in connect
    look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)
  File "/usr/local/az/local/lib/python2.7/site-packages/paramiko/client.py", line 621, in _auth
    raise saved_exception
AuthenticationException: Authentication failed.

@dtzar how do you specify the ssh key? Parameters let you select just the user, not the ssh key, I think it's the same as #1605

Ah I figured it out - if you used anything other than id_rsa for your SSH key, then it will not properly authorize.  The solution is to use --ssh-key-file with the switch to the SSH key used to provision the cluster.

@dtzar is it in azure cli? I've installed it today and I cannot see it
➜  ~ az acs kubernetes get-credentials --help

Command
    az acs kubernetes get-credentials

Arguments
    --acs-info
    --dns-prefix
    --file -f          : Default: /Users/alex/.kube/config.
    --location -l      : Location.
    --name -n          : ACS cluster name.
    --resource-group -g: Name of resource group.
    --user

Global Arguments
    --debug            : Increase logging verbosity to show all debug logs.
    --help -h          : Show this help message and exit.
    --output -o        : Output format.  Allowed values: json, jsonc, list, table, tsv.  Default:
                         json.
    --query            : JMESPath query string. See http://jmespath.org/ for more information and
                         examples.
    --verbose          : Increase logging verbosity. Use --debug for full debug logs.

Looks like this switch is new.  I'm using the latest via the docker image.
azure-cli (0.1.1b2+dev)
acs (0.1.1b1+dev)
I can see that --ssh-key-file is NOT present in
azure-cli (0.1.1b1)
acs (0.1.1b1)

Oh I see, I've
azure-cli (0.1.1b2)
acr (0.1.1b1)
acs (0.1.1b1)

anyway, I've downloaded the config file from the master machine and it's now working, thanks

@yugangw-msft or others - I think we are good to close out this issue now.


Distinguishing between form elements

When viewing two form elements in the admin dashboard, if they start with the same phrase (e.g., "Would you be willing to...."), there is no way to distinguish between them in the list. See screenshot below. When organize them (e.g., moving them up/down in the list) it's important to be able to distinguish between them. Besides clicking on them, is there some way they could be distinguished at a glance?

I'm not sure there's a good way to do this. Text is truncated using a CSS function that just adds ellipses to the end. We'd need to truncate text in a way that highlights differences but I'm not finding much writing on a good or common way to do that. Each form element has an ID but that's not really a useful value to show.

There's a title property on list items so hovering will show a tooltip after a brief pause.


Fix for new optimade

@Valexr also this should be changed: https://github.com/basf/bscience-gui/blob/62d8987ff210a0280e6b93fbf6658d16fcc5772f/package.json#L122

@Valexr also this should be changed:
https://github.com/basf/bscience-gui/blob/62d8987ff210a0280e6b93fbf6658d16fcc5772f/package.json#L122

Yep, when optimade-client version changed.


Im confused

I realized that shibagt gold is paid but when i got it from here i checked for viruses but there was none. is this okay to use

virus check menu
no viruses
is this safe to use?

it doesn't get detected because the dll itself is not the rat, when using it for the first time it then downloads a different thing that gets hidden on your pc and those files that get downloaded send your info to shibas servers.

damn didnt know that

so is it a rat/virus?

yep

no


feat: rename count_row_if to count_rows_if

Summary of Changes
Rename Table.count_row_if to Table.count_rows_if (plural).
For all other methods of Table, the plural form was used, but if users typed "rows", this method was not suggested by auto-completion. The _if suffix is still included, to distinguish the method from the attribute row_count.

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

v0.29.0
GitHub release

Your semantic-release bot :package::rocket:


fix: problem of http status_code

Problem
The application use the HTTP status code to know if a link is broken of not.
The problem is to identify success response and potential failure.
Expected
We need to analyze the different status code and propose a solution to this problem.
Useful reference. https://docs.python.org/3/library/http.html

Could you explain the problem in extra detail?

Could you explain the problem in extra detail?

The issue has been solved, but if you can improve, you're welcome.


Schedule Reboot

I have created a Homespan device for monitoring simple indoor conditions, temp, humidity, light level etc. From time to time one or more of the aforementioned data will get stuck and stop updating. (Esp32 is still connected, only the data not updating, weblog accessible) Whenever it happens I then have to manually power cycle the esp32 and the issue goes away.
I was wondering if there is a way to program a schedule reboot say every 24h so that it can resolve the issue on its own? Thanks

Sounds like a memory leak to me but I could be wrong. You can try ESP.restart() or abord().
According to this article abort() may give you better results.
You would have to add some additional logic of course to ensure it runs every 24 hours.
Ideally you shouldn't go down this route but as a quick fix it should be fine until the source of the issue is found.

If the device is working and responds to weblog requests, but shows no response in the Home App, this is very likely the result of an MDNS issue.  There are many threads on this problem across the web, including quite a number on the HomeSpan site itself.
Getting to the bottom of this issue has not been possible as it seems the root of the problem lies in the interaction between the MDNS library used by Espressif and the MDNS protocols used by SOME home WiFi routers.  Mesh routers can be particularly problematic when used with HomeKit.  In my own setup, I used the Velop mesh router for a number of years with no problem.  Then, after firmware updates to the Velop, I had constant MDNS drop-outs.  I switched to an Orbi mesh router a few years ago and have had absolutely no problems since then.
Rebooting the device every 24 hours is certainly one solution, assuming that your connection to the Home App usually stays up longer than 24 hours.  To do so, I would add a check in the main arduino loop that sees if millis() is greater than 8,6400,000, and if so, call ESP.restart() as suggested above.
However, you definitely want to check first that the problem is not related to something else in your sketch.  One common cause of losing connectivity with the Home App is sending out-of-range values.  For example, if you send a temperature less than 0, this will cause problems because the default range does not allow negatives.  To address, simply use setRange() in your sketch to expand the set of allowed values.
HomeSpan throws warnings whenever your sketch sets the value of a Characteristic outside its range, so you can check the Serial Monitor for such warnings to see if that is the source of the disconnect.


Issues using New-OrganizationAddIn with SSO-enabled Outlook add-in

The New-OrganizationAddIn cmdlet doesn't work reliably when attempting to deploy an SSO-enabled Outlook add-in:

After the New-OrganizationAddIn cmdlet is run, the following text is sometimes not output to the console and the script appears to hang until the ENTER key is hit multiple times:

The Add-In you are trying to upload supports Single Sign On and to upload the Add-In you need to use Office 365 Admin Center.
Press Enter to consent to the Add-In in Office 365 Admin Center.
If there are any issues you can go to
https://portal.office.com/adminportal/home?assetid=lob&mktcmpid=powershell#/Settings/ServicesAndAddIns
And go to Settings > Services & Add-Ins

The page that is launched in a browser (/ServicesAndAddIns) appears to be incorrect

What is expected:

The New-OrganizationAddIn cmdlet should immediately display the above text and process the ENTER key
The browser should be launched to the "Configure add-in" page at https://portal.office.com/adminportal/home?assetid=lob&mktcmpid=powershell#/Settings/AddIns, where consent can be provided to the deployment of the SSO-enabled add-in

Note that I see that there's potential issues with MFA enabled, but I'm able to successfully call Connect-OrganizationAddInService, login and approve the sign-in request with the Microsoft Authenticator app.  I've also tested with an Application Registration that has had no admin consent granted to Graph API permissions for the tenant, and with admin consent granted.
Would the lack of a MPN ID for Publisher verification in the Application Registration impact the usage of this cmdlet in any way?
Also, can it be confirmed that this cmdlet automates anything at all for SSO-enabled Office add-ins?  Or if will still be an entirely manual process for the admin?  If it is the latter, the documentation should be updated to state that the cmdlet is intended only for non SSO-enabled Office add-ins.

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

ID: 1a092120-6209-1c44-8bc1-f989f62f37b7
Version Independent ID: f9eb09fb-e430-d797-25d3-b8bb67a85512
Content: Use the Centralized Deployment PowerShell cmdlets to manage add-ins - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@elegault, thanks for reaching out. Since this is a technical problem, not a content issue, I cannot help you directly. I have contacted the listed owners of the O365CentralizedAddInDeployment module to ask for the best way for you to report the issue and get help. I will update this issue when I get a response.
You can also contact the owners of the module yourself at https://www.powershellgallery.com/packages/O365CentralizedAddInDeployment/<IP_ADDRESS>/ContactOwners if you prefer.
Sorry I couldn't be of more help.
Kelley


Fixed docstrings for graph relabeling and sublattice mapping functionality missing from reference documentation.

Also, edited those docstrings.
This is the fix for issue #234.

Closing as redundant to https://github.com/dwavesystems/dwave-networkx/pull/238


Updating domain conversion guidance

Fixed a command, removed an unnecessary step, and fixed the link to another article.

@billmath

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @pamcdo - I have recently refreshed this article. Could you please take a look and let me know? I am happy to work with you to update further and incorporate your feedback. Thanks!

The preserve = true needs to be present or it will produce a build error.
See [Update-MgDomain](/powershell/module/microsoft.graph.identity.directorymanagement/update-mgdomain?view=graph-powershell-1.0 &preserve-view=true)
Revert the change in line 367 and then we can sign-off.

@pamcdo - Can you respond to the requested changes or let us know if you would like us to commit them?
@billmath - After the changes are made, please add a sign-off command to signal that the PR is ready to merge.

At this point, I have created a work item and I will add these to the article on our end.  We can close this PR.
#please-close


Add 'endpoints' endpoint

Common replacement for framework-specific /connections endpoints and CLI commands currently implemented by Cassandra/Kafka/HDFS.
The built-in TaskInfo search relies on the presence of DiscoveryInfos containing the relevant port information (something that hello-world currently doesn't do -- as its tasks don't serve any requests). If the DiscoveryInfo has VIP label information, that is automatically included as well, otherwise the endpoints returned will just be based on the information in the base DiscoveryInfo.
In addition to the built-in DiscoveryInfo lookup, framework authors may also provide their own custom endpoint content (e.g. Kafka's zk path, or HDFS' xml files).

retest this please


webrtc: getUserMedia not working

I tried to implement video call using webrtc, it is working well on Android, iOS browsers. (ios Safari, too).
but It is not working on iOS wkwebview.
Do you have any plan to support webrtc?
I am now using iosrtc plugin, but it is too old. I dont want to use it in the future.
Hope to get your opinion.
thanks.

WKWebView doesn't have it implemented, there is nothing we can do about it.


[3-1-stable] Fix always send bill address even if identical with ship

Resolves #133

Hey @PascalSenn, could you please describe what this PR is fixing?
I think that after this change, duplicate addresses will be created in Braintree panel.

Basically resolves for 3-1: #88

Additionally, It's better to store the billing and the shipping address separate in braintree. If you provide the addresses in the spree account section for modifying you don't accidentally change the the billing address when you change the shipping address and vice versa.

Last but not least, if the address is the same it doesn't create two records in braintree. So you just get the same token back

Thanks @PascalSenn


Pencil icon instead of gear icon to set profile name for terminal profiles

Testing #129429
I was tasked to change the profile name of a terminal profile but I was confused as to how to do it initially since it wasn't intuitive for me to click on the gear icon. A pencil icon since the gear leads to only one modification makes more sense to me

I think this makes sense. @Tyriar thoughts?

Do you mean here?

We had a discussion about this recently where pencil was used for configuring custom editors and the overwhelming feedback was to make it a gear for consistency.

I did, ah hmm I see. For me it's a bit confusing on first glance but I suppose if we have more gears overall I'd feel more incentive to click gears.

I see Tanha's point since my thought when I see the gear is that I'll be taken to settings or at least get to configure several properties. The gear does not signal rename to me.

It's creating an explicit entry in your settings.json, if it isn't there already and then opening it to allow you to configure. So configuring is the right word here imo as renaming is not the only thing you can configure.

Ok makes sense to me


pared vs paired, other minor grammar fixes

Please verify the following:

[ ] Everything works on iOS/Android
[ ] ignite-base ava tests pass
[ ] fireDrill.sh passed

Describe your PR
Small grammar fixes for the readme

Love it!  ❤


Extend the Shoot API so that users can provide secret data to extension configurations via references

What would you like to be added:
Extend the Shoot API to support adding secrets data required by various Shoot components (dns, provider configurations, extension configurations) via secret references.
Why is this needed:
Currently some extension configurations could require secret data which has to be specified directly in the Shoot's spec. For example:
apiVersion: shoot-cert-service.extensions.config.gardener.cloud/v1alpha1
kind: Configuration
issuerName: gardener
restrictIssuer: true # restrict issuer to any sub-domain of shoot.spec.dns.domain (default)
acme:
  email<EMAIL_ADDRESS>  server: https://acme-v02.api.letsencrypt.org/directory
# privateKey: | # Optional key for Let's Encrypt account.
#   -----BEGIN BEGIN RSA PRIVATE KEY-----
#   ...
#   -----END RSA PRIVATE KEY-----

To avoid this, references to secrets should be used instead. This means that the way it is currently done for the dns configuration should be changed so that required secrets are defined in a homogeneous way.
Proposal:
The Shoot spec has a new field similar to Pod's Volumes which lists all the secrets that can be used by Shoot components. The example below shows how this could look for the certificate service extension and dns configuration:
apiVersion: core.gardener.cloud/v1beta1
kind: Shoot
spec:
  dns:
    domain: crazy-botany.core.my-custom-domain.com
    providers:
    - type: aws-route53
       secretName: domain-secret
  extensions:
  - type: shoot-cert-service
    providerConfig:
      apiVersion: shoot-cert-service.extensions.config.gardener.cloud/v1alpha1
      kind: Configuration
      issuerName: gardener
      restrictIssuer: true # restrict issuer to any sub-domain of shoot.spec.dns.domain (default)
      acme:
        email<EMAIL_ADDRESS>        server: https://acme-v02.api.letsencrypt.org/directory
        privateKeyRef:
          secretName: private-key
  kubernetes:
    version: 1.18.2
  ...
  Secrets:
  - name: private-key
    secretName: my-lets-encrypt-private-key
  - name: domain-secret
    secretName: my-domain-secret

The secrets are created by the user and stored in the project's namespace on the garden cluster. During reconciliation they are copied to the Shoot's namespace on the seed cluster.
Note
If we need to provide other objects then we could change the name of the spec.Secrets field and it could look like this
resources:
- name: private-key
  secret:
    secretName: my-lets-encrypt-private-key

Thanks for the proposal, sounds promising FMPOV.
I would probably go with resources directly to have a more generic concept to keep our options open for other resources, a Shoot might need. Though, I have no strong opinion regarding the naming of this new section.
If we decide to do so, we should probably also name the referencing fields (e.g. acme.privateKeyRef.secretName in your proposal) to something more generic like resourceName/resourceRef or even resourceMount.

What about
resources:
- name: <some-name>
  apiVersion: v1
  kind: Secret
  name: my-lets-encrypt-private-key

If we decide to do so, we should probably also name the referencing fields (e.g. acme.privateKeyRef.secretName in your proposal) to something more generic like resourceName/resourceRef or even resourceMount.

+1, with resourceRef it'd be more generic.

What about
resources:
- name: <some-name>
  apiVersion: v1
  kind: Secret
  name: my-lets-encrypt-private-key

Hmm, you have a duplicated key name in your list entry, so this won't work, at least in this exact form :)
Still, I rather tend to use something like @plkokanov suggested (with resources[].secret.secretName), as we will most probably have a very limited number of resource types we want to support and this could indeed be done very similarly to v1/Pod.spec.volumes[].secret.secretName.

Yeah, we can rename the second name to resourceName or so. I'm still in favour with this solution because we don't have to adapt our code (maybe only the validation, but not our API/controller) if we want to add a new resource (other than secrets). The .spec.volumes field in the Pod looks like this for legacy reasons, I'd assume. They cannot change it anymore now, but I'm pretty sure that if they'd redesign it they'd do it like above (see also newer resources like HPA with their .spec.targetRef, etc.).

because we don't have to adapt our code [...] see also newer resources like HPA with their .spec.targetRef, etc.

Good point, agreed. So the respective golang type will look something like this, right?
type ShootResource struct {
	corev1.CrossVersionObjectReference `json:",inline"`

	ResourceName string `json:"resourceName"`
}

@rfranzke @tim-ebert I would propose a minor change:
resources:
    - name: <some-name>
      resourceRef:
        apiVersion: v1
        kind: Secret
        name: my-lets-encrypt-private-key

It makes more explicit which name is which, as well as easier to reuse autoscalingv1.CrossVersionObjectReference in the implementation. Otherwise it might result in confusion - the CrossVersionObjectReference name must be the resource (secret) name, and so we would need to rename the other name, which is counterintuitive.

/assign @stoyanr


Add company and VAT id to customer detail page in the administration

1. Why is this change necessary?
Company information like company name and VAT id are not visible on the customer detail page.
2. What does this change do, exactly?
Showing the company name and VAT id for commercial customers on the detail page.
3. Describe each step to reproduce the issue or behaviour.

Login to administration
Go to customer overview
Select a customer with commercial account type

4. Please link to the relevant issues (if any).
Issue https://github.com/shopware/platform/issues/2634
5. Checklist

[X] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[X] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[X] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Proof

@shopware/st-customer-order can you have a look at this as well?

@keulinho How can I push this MR before it gets closed du to inactivity?

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-25637
Please use this issue to track the state of your pull request.

@shopware/st-customer-order can you have a look at this as well?

Scheduled 🚀

@Zwaen91 just FYI, shopware issue number will be added internally as well, so no need to that for your, for the next time :v:

Merged with e5c473f1583df4183133327e58e8fad3479e8dbe


ResizeIt2 not positioning right edge of FF window past right edge of monitor

[repeat of FF add on review, even with my issue it's the best FF resizer, thanks for your add on!]
ResizeIt2 is the best Firefox window resizing add on I have tried.
With Firefox ESR 102, ResizeIt2 worked perfectly, 5-stars! But...
With Firefox ESR 115, ResizeIt2 will not position the right edge of the Firefox window to the right edge of the monitor.
With ESR 102, I could use ResizeIt2 to position the right edge of the Firefox window 4pixels to the right edge of my monitor.
I want the right Firefox edge to the right of the monitor edge so I can quickly move my mouse to the right and page up/down and not grab the right edge of the Firefox window.
I can use Leomoon Hotkeyz to position Firefox windows like I want but it would be great if ResizeIt2 could do it instead.

Thanks for reporting this!
It sounds like you could be affected by Firefox Bug 1811326 or the underlying code change. I will check that soon. If this is indeed the case, there is unfortunately nothing I can do; Firefox simply does not do what the extension tells it to do. This is unlikely to change even after the bug is fixed.

Looks like you are indeed affected by the underlying code change. It limits what extensions can do: Window size and position are constrained such that the window cannot be off-screen. Or at least, that’s the idea.
Using an external program to manage your Firefox window is your best bet. There is nothing I can do to make it work like it did before.
Sorry!

Thanks for the detailed explanation, updated review to 5 stars!


Make gzip stream compression optional to give possible performance optimization

After doing some profiling, it appears that the gzip decompression/compression of the GRPC stream is by far the slowest part of the program. This should be optional config for users that don't care much about network speed (like localhost/LAN).

When this PR makes it in, we should give it as an option for users that want the best of both worlds:
https://github.com/hyperium/tonic/pull/1371


feat: update gatsby-plugin-newrelic to 2.6.0

new build - https://app.netlify.com/sites/newrelic-gatbsy-theme-demo/deploys/66197c5de827501f3209033d


Fix a type in "Example 14 - Rate Limiting" in README.

Problem
The burst example in README got "Binary operator '<-' cannot be applied to operands of type 'Channel<Int>' and 'Int64'" because the type mismatch of the Int channel and now and time generated from Ticker channel as Int64.
let burstyLimiter = Channel<Int>(bufferSize: 3)

for _ in 0 ..< 3 {
    burstyLimiter <- now // Compiler error here. now is Int64.
}

co {
    for time in Ticker(period: 200 * millisecond).channel {
        burstyLimiter <- time // Compiler error here. time is Int64.
    }
}

Fix
Changed the type of the channel to Int64.
Environment

Venice 0.9
Xcode 7.1.1
OS X 10.11.1

Off topic but this project is a great work before the open source release of Swift!

yeah man! will be ported to Linux very soon!


Chronos: Learning the Language of Time Series

https://arxiv.org/pdf/2403.07815.pdf

Why (Problem/Need)
What (Solution/Tool)
How (Method/Approach)

Traditional time series forecasting has been limited by models being trained and predicted on the same dataset, with a recent shift towards deep learning methods due to the availability of diverse data sources. However, these methods still face limitations in terms of generalization across different datasets and computational efficiency.
Chronos is introduced as a simple yet effective framework for pretraining probabilistic time series models that can leverage the strengths of transformer-based language model architectures without significant modifications.
Chronos tokenizes time series data using scaling and quantization, transforming real-valued time series into a discrete token sequence. These tokens are then used to train transformer-based models using a cross-entropy loss function, allowing the model to learn the sequential structure of time series data for forecasting.

There's a scarcity of publicly available time series datasets in terms of quantity and quality, which is crucial for developing general-purpose forecasting models that can perform well in zero-shot scenarios across diverse domains.
To enhance the diversity and quality of training data for Chronos, data augmentation techniques like TSMix (Time Series Mixup) and KernelSynth (Synthetic Data Generation using Gaussian Processes) are integrated into the training process.
TSMix creates new time series by taking convex combinations of randomly sampled base time series from the training datasets, while KernelSynth generates synthetic time series by composing kernel functions with Gaussian processes. These strategies help overcome the limitations of small training datasets, improving model robustness and generalization.

Performance