error when exit kernel

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 18.04.5
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.4.0 master
Python version: 3.7.9
Bazel version (if compiling from source): 3.7.0
GCC/Compiler version (if compiling from source):  7.5.0
CUDA/cuDNN version: 11.1 / 8.0.4
GPU model and memory: tesla P100

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
start python and import tensorflow and exit
Describe the expected behavior
no error messages
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Python 3.7.9 (default, Aug 31 2020, 12:42:55)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2020-10-21 13:48:47.162423: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
>>>
>>> exit()
Exception ignored in: <function Buckets.__del__ at 0x7f8b017e2830>
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/tensorflow/python/eager/monitoring.py", line 407, in __del__
AttributeError: 'NoneType' object has no attribute 'TFE_MonitoringDeleteBuckets'

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@alanpurple,
I did not face any errors with TF v2.3 and TF-nightly. Please find the attached screenshots for reference.

Looks like you are running the commands inside the Anaconda environment, could you please check if you are facing the same issue outside the Anaconda environment as well? Thanks!

I can confirm that this bug occurs with:

TensorFlow built from source (master, 2.4.0)
Conda environment running python 3.7.9
This is quite new.  I built from master 2.4.0 a few days ago and this error did not occur.
Cheers

@amahendrakar I can see you don't seem to be getting this error with python 3.8.5.  Maybe it is a problem with the tf-nightly for python 3.7.
I have also confirmed this bug occurs with:

tf_nightly-2.4.0.dev20201021-cp37-cp37m-manylinux2010_x86_64.whl (pip install tf-nightly)
Conda environment running python 3.7.9 (I also tried a conda environment running python 3.7.8 and the bug persists)
It also occurs with:
tf_nightly-2.4.0.dev20201021-cp37-cp37m-manylinux2010_x86_64.whl (pip install tf-nightly)
Virtual environment created with the standard python module venv using python 3.7.9 from pyenv (python -m venv trialvenv)
I can see that

The bug also occurs with:

tf_nightly-2.4.0.dev20201022     (recently released)
Conda environment running python 3.7.9

The bug does not occur with tf_nightly-dev20201020 and previous tf_nightly's so it is new.

The bug also occurs with tf_nightly-2.4.0-dev20201023

The bug still propages to next versions and appears with tf-nightly 2.5.0.dev20201026

I confirm I can also see the issue in the docker container docker pull tensorflow/tensorflow:nightly-gpu built yesterday: https://hub.docker.com/layers/tensorflow/tensorflow/nightly-gpu/images/sha256-a878f2a5309a037229b8b0002ae8cd0243ca0016e2716e6ebc54192d356f7ed2?context=explore

Just use tensorflow==2.3.1

Was able to reproduce
mihaimaruseac@ankh:/tmp$ python3.7 -m venv venv
mihaimaruseac@ankh:/tmp$ source venv/bin/activate
(venv) mihaimaruseac@ankh:/tmp$ pip install -q tf-nightly
(venv) mihaimaruseac@ankh:/tmp$ pip list | grep tf
tf-estimator-nightly   2.4.0.dev2020102301
tf-nightly             2.5.0.dev20201027
(venv) mihaimaruseac@ankh:/tmp$ python
Python 3.7.7 (default, May 20 2020, 19:38:38)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2020-10-27 12:09:10.257298: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-10-27 12:09:10.257332: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> exit()
Exception ignored in: <function Buckets.__del__ at 0x7f47dfd2de60>
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.7/site-packages/tensorflow/python/eager/monitoring.py", line 407, in __del__
AttributeError: 'NoneType' object has no attribute 'TFE_MonitoringDeleteBuckets'
(venv) mihaimaruseac@ankh:/tmp$ python -c "import tensorflow as tf"
2020-10-27 12:09:39.451204: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-10-27 12:09:39.451246: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Exception ignored in: <function Buckets.__del__ at 0x7fa003a6a560>
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.7/site-packages/tensorflow/python/eager/monitoring.py", line 407, in __del__
AttributeError: 'NoneType' object has no attribute 'TFE_MonitoringDeleteBuckets'

Looking into this

Note though that the message is just a warning about an ignored exception. Exit code is still success
(venv) mihaimaruseac@ankh:/tmp$ python -c "import tensorflow as tf"
2020-10-27 12:23:51.950878: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-10-27 12:23:51.950930: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Exception ignored in: <function Buckets.__del__ at 0x7fb5abc5e560>
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.7/site-packages/tensorflow/python/eager/monitoring.py", line 407, in __del__
AttributeError: 'NoneType' object has no attribute 'TFE_MonitoringDeleteBuckets'
(venv) mihaimaruseac@ankh:/tmp$ echo $?
0

@alanpurple,
Any updates regarding this? Please take a look at the above comment and let us know if this is still an issue. Thanks!

@amahendrakar
still error, but as @mihaimaruseac said, it seems like just an warning message

Same error for me:
Tensorflow version: 2.5.0-dev20201027
Python version: 3.6.12 |Anaconda, Inc.| (default, Sep  8 2020, 23:10:56)
[GCC 7.3.0]

Same
I can add you get this Error when you train a faster_rcnn_inception_v2
ssd_mobilenet_v2 no problem

Could it be related to commit 9b5e180a69e29a6266224a6c74868295ff5631a4?
It changes tensorflow/python/eager/pywrap_tfe_src.cc and the commit was roughly 10 days ago.

Bisection points to 32f35aabce2b9c65d5244a8edf5904f367f28296 but that does not seem relevant, perhaps only surfacing an issue that exists from before.

I downgraded tf-nightly works now for me

Same error for me at the moment
Windows 10, Python 3.7

D:\python37\Scripts>pip install tf-nightly
Collecting tf-nightly
  Using cached https://files.pythonhosted.org/packages/ed/e1/3b28660594bea78e17d43ba22923bfb5299de1c324f5b521f2b089491ca8/tf_nightly-2.5.0.dev20201103-cp37-cp37m-win_amd64.whl
Collecting flatbuffers~=1.12.0 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/eb/26/712e578c5f14e26ae3314c39a1bdc4eb2ec2f4ddc89b708cf8e0a0d20423/flatbuffers-1.12-py2.py3-none-any.whl
Collecting astunparse~=1.6.3 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/2b/03/13dde6512ad7b4557eb792fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl
Collecting h5py~=2.10.0 (from tf-nightly)
  Downloading https://files.pythonhosted.org/packages/a1/6b/7f62017e3f0b32438dd90bdc1ff0b7b1448b6cb04a1ed84f37b6de95cd7b/h5py-2.10.0-cp37-cp37m-win_amd64.whl (2.5MB)
     |████████████████████████████████| 2.5MB 1.6MB/s
Collecting tf-estimator-nightly~=2.4.0.dev (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/89/d2/2131f5a0f0d14bae7f4d332724748b9ca6746b0d32f5c76145f0707f47d8/tf_estimator_nightly-2.4.0.dev2020102301-py2.py3-none-any.whl
Collecting termcolor~=1.1.0 (from tf-nightly)
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting grpcio~=1.32.0 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/67/5f/bf822211f7f94a2f6d0f8fd3bda3b804d7b24b6d5c84dbc6e6c9df4c74c2/grpcio-1.32.0-cp37-cp37m-win_amd64.whl
Collecting typing-extensions~=3.7.4 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-<IP_ADDRESS>-py3-none-any.whl
Collecting protobuf~=3.13.0 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/6b/2e/28425c709c26525998be0b7a91c4090c87c38a1a9644fd43fefaea2e16c0/protobuf-3.13.0-cp37-cp37m-win_amd64.whl
Collecting keras-preprocessing~=1.1.2 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/79/4c/7c3275a01e12ef9368a892926ab932b33bb13d55794881e3573482b378a7/Keras_Preprocessing-1.1.2-py2.py3-none-any.whl
Collecting wrapt~=1.12.1 (from tf-nightly)
  Downloading https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz
Collecting tb-nightly~=2.4.0.a (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/40/a1/a6eabdbe2eae2a6c745ffa473a1d9d6f8d6d1d5d2e5fd1b86c95f821bf0b/tb_nightly-2.4.0a20201103-py3-none-any.whl
Collecting google-pasta~=0.2 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/a3/de/c648ef6835192e6e2cc03f40b19eeda4382c49b5bafb43d88b931c4c74ac/google_pasta-0.2.0-py3-none-any.whl
Collecting absl-py~=0.10 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/bc/58/0aa6fb779dc69cfc811df3398fcbeaeefbf18561b6e36b185df0782781cc/absl_py-0.11.0-py3-none-any.whl
Collecting six~=1.15.0 (from tf-nightly)
  Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting gast==0.3.3 (from tf-nightly)
  Downloading https://files.pythonhosted.org/packages/d6/84/759f5dd23fec8ba71952d97bcc7e2c9d7d63bdc582421f3cd4be845f0c98/gast-0.3.3-py2.py3-none-any.whl
Collecting wheel~=0.35 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/a7/00/3df031b3ecd5444d572141321537080b40c1c25e1caa3d86cdd12e5e919c/wheel-0.35.1-py2.py3-none-any.whl
Collecting opt-einsum~=3.3.0 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/bc/19/404708a7e54ad2798907210462fd950c3442ea51acc8790f3da48d2bee8b/opt_einsum-3.3.0-py3-none-any.whl
Collecting numpy~=1.19.2 (from tf-nightly)
  Using cached https://files.pythonhosted.org/packages/5f/a5/24db9dd5c4a8b6c8e495289f17c28e55601769798b0e2e5a5aeb2abd247b/numpy-1.19.4-cp37-cp37m-win_amd64.whl
Requirement already satisfied: setuptools in d:\python37\lib\site-packages (from protobuf~=3.13.0->tf-nightly) (41.2.0)
Collecting google-auth<2,>=1.6.3 (from tb-nightly~=2.4.0.a->tf-nightly)
  Using cached https://files.pythonhosted.org/packages/1d/60/81e68e70eea91ef05bb00bcdac243d67b61f826c65aaca6961de622dffd7/google_auth-1.23.0-py2.py3-none-any.whl
Collecting requests<3,>=2.21.0 (from tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
     |████████████████████████████████| 71kB 2.2MB/s
Collecting werkzeug>=0.11.15 (from tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB)
     |████████████████████████████████| 307kB 2.2MB/s
Collecting tensorboard-plugin-wit>=1.6.0 (from tb-nightly~=2.4.0.a->tf-nightly)
  Using cached https://files.pythonhosted.org/packages/b6/85/5c5ac0a8c5efdfab916e9c6bc18963f6a6996a8a1e19ec4ad8c9ac9c623c/tensorboard_plugin_wit-1.7.0-py3-none-any.whl
Collecting google-auth-oauthlib<0.5,>=0.4.1 (from tb-nightly~=2.4.0.a->tf-nightly)
  Using cached https://files.pythonhosted.org/packages/81/67/e2c34bb0628984c7ce71cce6ba6964cb29c418873847fc285f826e032e6e/google_auth_oauthlib-0.4.2-py2.py3-none-any.whl
Collecting markdown>=2.6.8 (from tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/ac/ef/24a91ca96efa0d7802dffb83ccc7a3c677027bea19ec3c9ee80be740408e/Markdown-3.3.3-py3-none-any.whl (96kB)
     |████████████████████████████████| 102kB 3.2MB/s
Collecting rsa<5,>=3.1.4; python_version >= "3.5" (from google-auth<2,>=1.6.3->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/1c/df/c3587a667d6b308fadc90b99e8bc8774788d033efcc70f4ecaae7fad144b/rsa-4.6-py3-none-any.whl (47kB)
     |████████████████████████████████| 51kB 3.4MB/s
Collecting cachetools<5.0,>=2.0.0 (from google-auth<2,>=1.6.3->tb-nightly~=2.4.0.a->tf-nightly)
  Using cached https://files.pythonhosted.org/packages/cd/5c/f3aa86b6d5482f3051b433c7616668a9b96fbe49a622210e2c9781938a5c/cachetools-4.1.1-py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from google-auth<2,>=1.6.3->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155kB)
     |████████████████████████████████| 163kB 2.2MB/s
Collecting chardet<4,>=3.0.2 (from requests<3,>=2.21.0->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
     |████████████████████████████████| 143kB 2.2MB/s
Collecting certifi>=2017.4.17 (from requests<3,>=2.21.0->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)
     |████████████████████████████████| 163kB 2.2MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3,>=2.21.0->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/56/aa/4ef5aa67a9a62505db124a5cb5262332d1d4153462eb8fd89c9fa41e5d92/urllib3-1.25.11-py2.py3-none-any.whl (127kB)
     |████████████████████████████████| 133kB 2.2MB/s
Collecting idna<3,>=2.5 (from requests<3,>=2.21.0->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
     |████████████████████████████████| 61kB 2.0MB/s
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<0.5,>=0.4.1->tb-nightly~=2.4.0.a->tf-nightly)
  Using cached https://files.pythonhosted.org/packages/a3/12/b92740d845ab62ea4edf04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-any.whl
Collecting importlib-metadata; python_version < "3.8" (from markdown>=2.6.8->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/6d/6d/f4bb28424bc677bce1210bc19f69a43efe823e294325606ead595211f93e/importlib_metadata-2.0.0-py2.py3-none-any.whl
Collecting pyasn1>=0.1.3 (from rsa<5,>=3.1.4; python_version >= "3.5"->google-auth<2,>=1.6.3->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
     |████████████████████████████████| 81kB 1.3MB/s
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tb-nightly~=2.4.0.a->tf-nightly)
  Using cached https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->markdown>=2.6.8->tb-nightly~=2.4.0.a->tf-nightly)
  Downloading https://files.pythonhosted.org/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl
Installing collected packages: flatbuffers, wheel, six, astunparse, numpy, h5py, tf-estimator-nightly, termcolor, grpcio, typing-extensions, protobuf, keras-preprocessing, wrapt, absl-py, pyasn1, rsa, cachetools, pyasn1-modules, google-auth, chardet, certifi, urllib3, idna, requests, werkzeug, tensorboard-plugin-wit, oauthlib, requests-oauthlib, google-auth-oauthlib, zipp, importlib-metadata, markdown, tb-nightly, google-pasta, gast, opt-einsum, tf-nightly
  WARNING: The script wheel.exe is installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script f2py.exe is installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py install for termcolor ... done
  Running setup.py install for wrapt ... done
  WARNING: The scripts pyrsa-decrypt.exe, pyrsa-encrypt.exe, pyrsa-keygen.exe, pyrsa-priv2pub.exe, pyrsa-sign.exe and pyrsa-verify.exe are installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script chardetect.exe is installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script google-oauthlib-tool.exe is installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script markdown_py.exe is installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script tensorboard.exe is installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts estimator_ckpt_converter.exe, import_pb_to_tensorboard.exe, saved_model_cli.exe, tf_upgrade_v2.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 'd:\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed absl-py-0.11.0 astunparse-1.6.3 cachetools-4.1.1 certifi-2020.6.20 chardet-3.0.4 flatbuffers-1.12 gast-0.3.3 google-auth-1.23.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.32.0 h5py-2.10.0 idna-2.10 importlib-metadata-2.0.0 keras-preprocessing-1.1.2 markdown-3.3.3 numpy-1.19.4 oauthlib-3.1.0 opt-einsum-3.3.0 protobuf-3.13.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.24.0 requests-oauthlib-1.3.0 rsa-4.6 six-1.15.0 tb-nightly-2.4.0a20201103 tensorboard-plugin-wit-1.7.0 termcolor-1.1.0 tf-estimator-nightly-2.4.0.dev2020102301 tf-nightly-2.5.0.dev20201103 typing-extensions-<IP_ADDRESS> urllib3-1.25.11 werkzeug-1.0.1 wheel-0.35.1 wrapt-1.12.1 zipp-3.4.0
WARNING: You are using pip version 19.2.3, however version 20.2.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

D:\python37\Scripts>cd ..

D:\python37>python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
2020-11-04 17:04:04.516463: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'tensorflow' has no attribute 'GIT_VERSION'
Exception ignored in: <function Buckets.__del__ at 0x000001B4B782AA68>
Traceback (most recent call last):
  File "D:\python37\lib\site-packages\tensorflow\python\eager\monitoring.py", line 407, in __del__
AttributeError: 'NoneType' object has no attribute 'TFE_MonitoringDeleteBuckets'

Note that your error is actually AttributeError: module 'tensorflow' has no attribute 'GIT_VERSION'

@mihaimaruseac Oh, I am sorry, but python -c "import tensorflow as tf; print(tf.__version__)"  also failed.

(this also happens in windows10 with<EMAIL_ADDRESS>can remove the subtype: ubuntu)

32f35aabce2b9c65d5244a8edf5904f367f28296 is indeed the culprit and fix is in progress

Error persist in version 2.5.0-dev20201105.

It seems like a bug in the recent tf-nightly version, The bug will be gone with version 2.4.0.dev20200901.

tf_nightly-2.5.0.dev20201106 which was pushed recently should be ok. At least the error no longer shows up on our log.

I just built master and the issue did not occur anymore. Thanks for resolving :)

My solution:
This error seems to happen when python version is lower than 3.7, so I upgrade my python version to 3.8.0 and then the error did not happen.
My environment
--Windows 10
--python 3.8.0
--tensorflow2.4.0rc0
Thanks for everyone who provides great solutions for this issue!!


Recent Changes 2018-12-xx

I'm going to start announcing Codewars changes, using issues for now. I'll close this when I post a new one.
Feel free to post comments here if you have any questions about the changes.
Code Runner
New Languages

Add PureScript
Add Elm

Please try/translate them and let me know if you find issues.
New Language Versions

Add OCaml 4.07
Add Lua 5.3
Add Node.js 10.x (unreleased)
I've decided to drop the custom test framework cw-2.js and use Mocha under the hood.
Assertion methods with the same name are still provided to make the transition smooth. They're just wrappers around Chai.
You can use Chai directly for better assertion methods and use fast-check for property based testing.
Existing contents should be compatible as long as the tests are written using describe/it. There's no change to Node 6/8 so incompatible ones can continue to use older versions of Node for now.
When this is released, I'll run a script and update compatible ones to use Node 10. Then create a list of incompatible ones similar to what we did when switching to the new runner.

Codewars

Lots of bug fixes, reducing technical debts, and minor performance improvements
Major framework/dependency upgrades

Existing contents should be compatible as long as the tests are written using describe/it.

Is it possible to make mocha not polluting the global space with all its test methods? Dropping tons of functions into global scope is problematic because they can easily collide with user defined variables, as well as providing extra vectors of vulnerabilities (e.g it's still possible to call test assertion methods in user code).
Maybe something like this, but apparently it's only available when the JS file is run via mocha binary. Looking further into this kinda makes me want to drop mocha altogether and use something better-designed and which the devs are more open-minded to users.
Or, at least, wrap mocha into a module that exports all its functions into a namespace, and then import that module?

I just checked some basic stuff in the preview site, about comments markdown:

might be unrelated but in preview mode, the redaction panel is missing the first character of each line.
the code blocks displayed as normal text when the message is posted while it appears as code block in preview seems to be there yet. At least, using backticks, that works, this time.
the title markdown isn't "title" anymore (smaller than regular text in bold!)

see below:

preview mode:

posted:

Thanks for testing @Blind4Basics.

might be unrelated but in preview mode, the redaction panel is missing the first character of each line.

This seems unrelated and happens when writing new comments and not editing existing :/

title level 2 is smaller than regular text in the posted message... :/

This looks like a CSS issue. Some rule with higher specificity is making it smaller. I haven't touched the frontend yet and not looking forward to.

The markdown preview and the actual doesn't always match because two different engines are used (#1640). But I think it should be closer compared to before because the server side engine also follows Common Mark now.
I'll see if I can make the preview match the actual by adding some options. The server side one is not as configurable.

Some katas (for example this one ) might have descriptions and/or discourse sections messed up because they use ~ character extensively. New markup engine introduces ~strikethrough~ markup, which was not present before, and ~ character got new meaning.

Something is wrong with how comments are shown in different places. The upper part is how the comment looks on the dashboard, and the lower part is how it looks in the kata discourse.

@FArekkusu is that from preview? I reverted the update because of some weird errors and haven't re-deployed yet. So if you saw that on production version then it wasn't introduced by the update.
The dashboard comments can be outdated because it's cached heavily. It looks like the edits were not reflected when you saw it.
Looks like the preview is showing comments from a day ago as newest for some reason. It was always less up to date compared to the production one but it looks like it's been stuck.
I might not work on this during holidays but I'll be back on Wednesday.

@kazk no it was not from preview version. Must be a bug with the current comment system.


Add ability to set Regex flags for transformers

So we have ability to add flags property to duplicate_filter:
"duplicate_filter": {
  "pattern": "\\[ABC-....\\]",
  "on_property": "title",
  "method": "match",
  "flags": "gu"
}

It would be great to have the same ability on transformers :)

So transformers should have the same ability already:
https://github.com/mikepenz/release-changelog-builder-action/blob/develop/src/configuration.ts#L31-L38
When the transformer is constructed we use the flags supplied in the config:
https://github.com/mikepenz/release-changelog-builder-action/blob/develop/src/transform.ts#L396-L399
And these are then used to transform the content:
https://github.com/mikepenz/release-changelog-builder-action/blob/develop/src/transform.ts#L76
Sorry for the slow response in looking into it.

Hi @mikepenz,
No worries, you've actually been more responsive than I expected 🤣
That's awesome, so it's only missing from documentation :)
Tested this and with a transform section like this:
"transformers": [
  {
    "pattern": "((?:TEST|ABC))[ -](\\b\\d{3,4}\\b).*",
    "target": "$1-$2 - ",
    "flags": "gui"
  }
]

it produced following result:
ABC-1234 -
Test-222 -
Test-312 -
TEST-681 -
Update Program.cs
Update Program.cs

So all as expected!
ps. I assume the flags property is handled per pattern, not global or some overwritten somehow if I would have more entry in transformers.
Michal

😆 yeah, that can vary a lot depending on the time of the year.
Oh, I see now. Yes that can be, as we moved that flag up at some point. That's why I love to refer to the real configuration.ts file with the real definitions: https://github.com/mikepenz/release-changelog-builder-action/blob/develop/src/configuration.ts
Glad it works the way needed for your usecase.
And yes, the flags are per pattern, so you'll need to provide it for each where you want to differ from the default.
Have a nice Friday and Weekend :)

If you have the time, maybe you'd like to open a PR with the addition to the README :)


Selector compiler

Currently selectors are interpreted when they execute. This is suboptimal because the same analyses must be performed each time and, more importantly, every new type of selector punishes all consumers regardless of whether they use it or not.
A better opportunity lies in compiling selectors to functions (agnostic of any actual unist tree) and having a module-local cache of those.

Maybe this could be done by generalising an existing optimised CSS selector implementation on DOM nodes (like css-select) to unist nodes?

Probably… regarding css-select, it uses parent link which is missing on Unist nodes (can be emulated but this might be slow; would be better to fix the algorithm) to traverse selectors in reverse order (to get from bar to foo in foo > bar), and there's also of course some DOM-specific stuff (not much). It needs some work, but I would say it's possible.

cssauron looks good, but it also requires .parent, which is unfortunate.


Simpler primary key inference

Pull Request
Related issue
Related to https://github.com/meilisearch/meilisearch/issues/3233
What does this PR do?
User PoV

Change primary key inference to only consider a value as a candidate when it ends with "id", rather than when it simply contains "id".
Change primary key inference to always fail when there are multiple candidates.
Replace UserError::MissingPrimaryKey with UserError::NoPrimaryKeyCandidateFound and UserError::MultiplePrimaryKeyCandidatesFound

Implementation-wise

Remove uses of UserError::MissingPrimaryKey not pertaining to inference. This introduces a possible panicking path.

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

I added a log looking like this:
[2022-12-21T09:19:42Z INFO  milli::update::index_documents::enrich] Primary key was not specified in index. Inferred to 'id'

when inference took place


Fix identifier literal

Currently, variable names |x| and x are considered as two distinguish names. This PR fixes that, and now both of them are considered equal.
PR with the changes for composer: https://github.com/ballerinalang/composer/pull/4709
Fix #4045

Closing this PR , and sending a separate PR: https://github.com/ballerinalang/ballerina/pull/4155


Verify XML APIs are returning XML with root elements that match the models

@jdisanti did some extra investigative work while reviewing my PR Add "invalid xml body root" check exemption for S3's GetObjectAttributes and found several other API that may require the same customization:

s3#GetBucketLocation
s3#ListObjects
s3#ListObjectVersions
ec2#GetConsoleOutput

Test these APIs to see if they return XML errors. If they do, apply the same customization from my PR.
Alternatively,
Implement John's suggestion to use xmlName instead of allowInvalidXmlRoot and update any buggy operations (don't forget s3#GetObjectAttributes)

This gets especially muddy since some of the S3 operations overlap. For example, making a call to ListObjectsV2 without a bucket set results in the XML tag name being ListAllMyBucketsResult and a list of buckets in the response.

Errors are also complicated: https://github.com/awslabs/aws-sdk-rust/issues/873

For ListObjectsV2 (and other S3 operations with bucket) I think the right answer is actually making bucket required—Bucket is bound as a httpLabel effectively so it it's missing we're really not sending the right request

I don't see value in keeping this issue open anymore. I think most of the XML root issues have been discovered and fixed at this point.


[BRAAV-3751] Add page for /returns endpoint.

The sample app page for the returns endpoint.
The endpoint itself was added in this txcore PR: https://github.com/circlefin/transaction-core/pull/7467
Story: https://circlepay.atlassian.net/browse/BRAAV-3751

One thought I had. Should the reversals page be under /debug/reversals/fetch and the returns under /debug/returns/fetch? Just to follow the pattern we have for the other pages.

One thought I had. Should the reversals page be under /debug/reversals/fetch and the returns under /debug/returns/fetch? Just to follow the pattern we have for the other pages.

That makes sense to me - I'll make that change.


How to return WLError (or have a regular Error bubble up) from lifecycle callbacks?

I am doing some custom validation in my Model's "beforeCreate" method.  When I create an error using
var e = new Error('my message');
e.status = 404;
next(e);

it gets wrapped up in a WLError object, and the status and message are not bubbled up to the response.  Instead, this is returned:
{
-error: {
error: "E_UNKNOWN"
status: 500
summary: "Encountered an unexpected error"
-raw: {
status: 404
}
}
}

I can get around this by looking for the "orginialError" in my res.negotiate method, but that is kind of a hack.  Would be better if I could create the WLError directly from the lifecycle callback, or even better to have the waterline error handling not bury my original error.

Please reopen if you feel this wasn't answered adequately.


[DE] scene activation for specific area

German sentences for scene_HassTurnOn lack latest updates from english version.
Would be great if we could (in german just like in english) activate scenes that have the same names/aliases but are for different rooms/areas. I haven't had the time to look into the documentation for intents and corresponding tests so instead of a PR I will merely raise this as an issue.

fixed in https://github.com/home-assistant/intents/pull/1830


NPM v3.x: "Cannot rename missing "jade" task."

Hello,
Thanks for the great work first :)
After upgrading my stack to NPM v3.3.x (this is probably a general issue of NPM v3.x branch), grunt-jade-i18n stopped compiling my files because of:
>> Tasks directory "/Users/valerian/Documents/Web/xxxxxx/node_modules/grunt-jade-i18n/node_modules/grunt-contrib-jade/tasks" not found.
>> Cannot rename missing "jade" task.

I was first thinking it could be due to the fact I was still using NodeJS v0.10.x, paired w/ the latest NPM version. I upgraded to NodeJS v4.x, and things didn't get better.
Looks like this is the only Grunt contrib plugin that fails on this recent build stack, others (on the many) I'm using are still passing.

@valeriansaliou
Did you manage to resolve this? I am seeing the same issue when deploying to an Azure website.

I think my issue is similar to the one outlined here https://github.com/AdesisNetlife/grunt-jade-i18n/issues/16 basically Azure is bringing most sub modules to the root of the node modules folder.

This should be fixed now.


Fix dev CI

Fixes #
Changes made in this Pull Request:

PR Checklist

[ ] Tests?
[ ] Docs?
[ ] CHANGELOG updated?
[ ] Issue raised/referenced?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.82%. Comparing base (84302e5) to head (f5471d6).

Additional details and impacted files


Uncomment block when caret at any position in that block [feature request]

Uncommenting a block works if whole block selected. Will be more convenient to uncomment block when caret inside block (with no selected text).
Example: HaxeDevelop allows both ways:

Would love to see this

Can anyone tell, how to do that?

@alexdima The issue closed. What's the workaround for the above problem?

See this So answer for a workaround: https://stackoverflow.com/a/61414740/836330


Meteor connection

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Feature/Question

Is there any plans on connecting this to Meteor as a backend ?

I would like to Know the same. That would be amazing to launch  MVP projects.  If some one could lead us in how to do it. I'm glad to collaborate.


what time is  querydsl-sql-example update to 3.6.0? and I have problem,THX

Hi:
I try querydsl-sql (version: 3.6.0) code is:
@QueryEntity
public class AskQuestion implements Serializable{
.....
 @QueryProjection
    public AskQuestion(Integer userId, Integer resource, Integer partitionId, Integer threadId, Integer type, Date threadTime, Date firstThreadTime, Date acceptTime, Integer isAppend, List<String> tag) {
        this.userId = userId;
        this.resource = resource;
        this.partitionId = partitionId;
        this.threadId = threadId;
        this.type = type;
        this.threadTime = threadTime;
        this.firstThreadTime = firstThreadTime;
        this.acceptTime = acceptTime;
        this.isAppend = isAppend;
        this.tag = tag;
    }
}

and testing
    public static void main(String[] args) throws ClassNotFoundException, SQLException {
.......
       QAskQuestion qAskQuestion1 = QAskQuestion.askQuestion;
        SQLTemplates templates = new MySQLTemplates();
        Configuration configuration = new Configuration(templates);
        SQLQuery query = new SQLQuery(connection, configuration);
        List<AskQuestion> askQuestions = query.from(qAskQuestion1).list(ConstructorExpression.create(AskQuestion.class,qAskQuestion1.all()));

        for (AskQuestion askQuestion : askQuestions) {
            System.out.println(askQuestion.toString());
        }
    }

throw exception : com.mysema.query.types.ExpressionException: No constructor found for class net.health.model.AskQuestion with parameters:
why? i used the @QueryProjection  but throw exception  and i try
List askQuestions = query.from(qAskQuestion1).list(Projections.bean(AskQuestion.class, qAskQuestion1.all()));
QAskQuestion is extends com.mysema.query.sql.RelationalPathBase
is success ... help thx

Hello,
I see that the error is because the constructor parameter list starts with Timestamp, and the formal parameters start with Integers.
If you want to have a constructor injected, it's safer to specify the arguments manually, and in the order they appear in the constructor parameter list.
In Projections.bean(...) the setters are used instead, so that is why it succeeds.
I hope this answers your question, and could you maybe put support questions in the Querydsl Google group in the future?

@edwardlau Could you comment whether this fixes your issue?

Closing for now, please reopen if the suggested fix doesn't work.


Kzg Fix

Kzg has some bugs that are solved
Description
Right now this has tests that should pass

Codecov Report

Merging #327 (dead32d) into main (39fbf75) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head dead32d differs from pull request most recent head ceee6c6. Consider uploading reports for the commit ceee6c6 to get more accurate results

@@           Coverage Diff           @@
##             main     #327   +/-   ##
=======================================
  Coverage   96.32%   96.33%
=======================================
  Files          95       95
  Lines       11785    11805   +20
=======================================
+ Hits        11352    11372   +20
  Misses        433      433

Impacted Files
Coverage Δ

crypto/src/commitments/kzg.rs
99.60% <100.00%> (+0.03%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


controllers: sample changes for integrating ceph-csi operator

the intention is to start off with assuming ocs-client-operator deployed with ceph-csi-operator need to be opt-in and as such made some changes.
worked with only available APIs so far and I'm afraid rewriting multiple times the same pieces isn't going to work and so putting up this PR.
need a decision to decide on whether to provide a working code which can work in two modes or else exclusively make it possible to work with new operator only. the main hurdle will be refactory for each of these cases which could result in a divergent code base which atm I'm unable to wrap my head around.

/hold


Adds the feature of Automatic Deployment to Github

@aayusharora @mariobehling  Resolves #947
Test Server: http://secure-meadow-20680.herokuapp.com
Please test the working of the server. Also, the feature won't work right away as we will have to do some modifications to the Heroku config variables and other things. Will do that after this gets reviewed :)

Codecov Report

Merging #1032 into development will decrease coverage by -1.82%.
The diff coverage is 20.96%.

@@               Coverage Diff               @@
##           development    #1032      +/-   ##
===============================================
- Coverage        32.28%   30.47%   -1.82%
===============================================
  Files                7        8       +1
  Lines             1112     1293     +181
  Branches           172      197      +25
===============================================
+ Hits               359      394      +35
- Misses             753      899     +146

Impacted Files
Coverage Δ

src/app.js
46.21% <50%> (+0.63%)
:white_check_mark:

src/backend/deploy.js
8.46% <8.46%> (ø)

Continue to review full report at Codecov.

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

@aayusharora I have removed the merge conflicts. Also, please use the EHealth Sample zip file for testing the test server. Uploading and committing all the files to Github takes some time when we use the FossAsia 2016 sample zip since there are a lot of different files. Thanks!! :)

@aayusharora @Princu7 Can we merge this PR and improve things then step by step?


adding class scope to request logs

The logging scope is by default 'application' that makes difficult to remove the logging coming from a certain class

Codecov Report

Merging #38 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #38      +/-   ##
=========================================
+ Coverage   92.85%   92.9%   +0.05%
=========================================
  Files          12      12
  Lines         140     141       +1
  Branches        5       6       +1
=========================================
+ Hits          130     131       +1
  Misses         10      10

Impacted Files
Coverage Δ

...ain/scala/org/zalando/zhewbacca/SecurityRule.scala
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Updated Cyan colour palette - Merge only if colours are approved.

Please do not merge this until we have approval on this colour palette.

WAY BETTER! Thank you!

LGTM


Multiple Commands with Invoke-SSHStreamExpectSecureAction

Looking for a way to automate changing the root password across multiple hosts in our environment.
It works via the unsecure/plaintext method, but I'd like to use the Invoke-SSHStreamExpectSecureAction to secure the creds being passed.
I'm currently trying this

Invoke-SSHStreamExpectSecureAction -ShellStream $sshshellstream -Command 'passwd' -ExpectString "New password:" -SecureAction ($securePass) -Verbose

However, I need to re enter the password on the 2nd confirmation prompt.
Is there any way to send multiple SecureActions using this command?

At the moment no, the function is in PowerShell and not C# so you should be able to grab the code from it and build a custom one based on it.

On Dec 21, 2018, at 11:59 AM, Steve Noel<EMAIL_ADDRESS>wrote:
Looking for a way to automate changing the root password across multiple hosts in our environment.
It works via the unsecure/plaintext method, but I'd like to use the Invoke-SSHStreamExpectSecureAction to secure the creds being passed.
I'm currently trying this
Invoke-SSHStreamExpectSecureAction -ShellStream $sshshellstream -Command 'passwd' -ExpectString "New password:" -SecureAction ($securePass) -Verbose
However, I need to re enter the password on the 2nd confirmation prompt.
Is there any way to send multiple SecureActions using this command?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/244, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf0Hg_avjMLXblLWNE1da8Ti8C5uritks5u7QVdgaJpZM4ZeMsk.

Thanks.  Got it working with

Invoke-SSHStreamExpectSecureAction -ShellStream $sshshellstream -Command 'passwd' -ExpectString "New password:" -SecureAction ($securePass) -SecureAction2 ($securePass) -Verbose

Had to change Posh-SSH.psm1:
Add 2nd parameter ($SecureAction2)
		        # SecureString representation of action once an expression is matched.         [Parameter(Mandatory=$true,                    ValueFromPipelineByPropertyName=$true,                    Position=3)]         [securestring]         $SecureAction2,
and then modified the 'Process' with a start-sleep command and a 2nd $ShellStream
start-sleep -seconds 2
$ShellStream.WriteLine([Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($SecureAction2)))

Trying to do the same thing here....Is cloning the sshstream function and adding the 2nd action parameter still the expectation here?  Just trying to avoid re-inventing the wheel if there was an update made to the module code base to explicitly support this.

You can code your own function using SSHStream, no need to modify the psm1 file. It allows you to update the module with out loosing your custom function.

Had to do this for Ubuntu and just sharing this for reference...
<#
	Input prompts on Ubuntu:
	$ passwd
	Changing password for <account>.
	(current) UNIX password:
	Enter new UNIX password:
	Retype new UNIX password:
	passwd: password updated successfully
	$
#>

$user = 'user2'
$password = ConvertTo-SecureString -String 'P@ssword123456' -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential -ArgumentList $user,$password
$newPasswd = ConvertTo-SecureString -String 'P@ssword09876' -AsPlainText -Force
$session = New-SSHSession -ComputerName lab-x-ubuntu18 -Port 22 -Credential $cred
$shellStream = New-SSHShellStream -SessionId $session.SessionId

$command = "passwd"
$shellStream.WriteLine("$command")
#pass in current password
$shellStream.WriteLine([Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($password)))
Start-Sleep -Seconds 2
#pass in current password
$shellStream.WriteLine([Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($newPasswd)))
Start-Sleep -Seconds 2
#pass in current password
$shellStream.WriteLine([Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($newPasswd)))
Start-Sleep -Seconds 2
# Clear buffer, should see "password updated" message
$shellStream.Read()

$shellStream.Dispose()
$session | Remove-SSHSession

<#
# Good output
.....
Last login: Tue May 19 00:08:45 2020 from <IP_ADDRESS>
$ passwd
Changing password for user2.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
$
True

#>


Getting ThrottlingException error for column account_sharing_info_list in table aws_ssm_document

Describe the bug
Getting below error in cloumn account_sharing_info_list for table aws_ssm_document
> select * from aws_ssm_document

Error: table 'aws_ssm_document' column 'account_sharing_info_list' requires hydrate data from getAwsSSMDocumentPermissionDetail, which failed with error operation error SSM: DescribeDocumentPermission, exceeded maximum number of attempts, 9, https response error StatusCode: 400, RequestID: 1366666d-3559-6666-8d04-fe66666610, api error ThrottlingException: Rate exceeded.
 (SQLSTATE HV000)

Steampipe version (steampipe -v)
Example: v0.19.1
Plugin version (steampipe plugin list)
Example: v0.92.2
To reproduce
select * from aws_ssm_document
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

We added a new table aws_ssm_document_permission which includes account-sharing_info_list and account_ids columns. We recommend you use this new table to query the above two columns.
We have also marked the account-sharing_info_list and account_ids columns in the aws_ssm_document table as deprecated and they will be removed in a future release.
PR reference. - https://github.com/turbot/steampipe-plugin-aws/pull/1670


Open Source License?

Hi Patrick,
I've been searching your repo for a LICENSE file that describes the license that you released your project under. I can't find one, which implies that that the code is public, but not free to use. We'd like to use google-trends-api in a sample that we are working on, but we need to have an OSS license (MIT for preference) that we can show our legal team before we can use it.
Chuck Bigham
Microsoft Office

Hi Chuck,
I added the MIT license so the code is now free to use.
Thanks!
Patrick


Feature Request - Configurable comments

stencil assumes rendered templates will be used with Go syntax with a comment beginning with //
It would be ideal to specify which comment syntax is used with each template, for example in a python file
# <<Stencil::Block(pythonImports)>>

# <</Stencil::Block>>
print("Hello World")
# <<Stencil::Block(customMethods)>>

# <</Stencil::Block>>

👋  We actually do support different comments! However, it's slightly opinionated. https://github.com/rgst-io/stencil/blob/main/internal/codegen/blocks.go#L39
You'd want to use either:

##
//
--
<!--

The 'double' requirement comes from trying to make it more obvious back in the v1 block days, but I don't think we need that anymore so we could probably change it to be # instead!


Include shuffle iterations in MetricBase

for extra convenience

done in https://github.com/msmbuilder/mdentropy/pull/34


Tags "unavailable" after HA restart inside HA (Server management - Restart). Requires total HA server restart (shut down virtual server and restart).

Thank you for the integration and your work with it!
Issue as in the topic. Waiting for any amount of time may make one or few tags visible, but sporadically. All tags visible again after full restart.
Using latest version of HA. Once the data is flowing have not seen issues.

Hmm. Need to check. The script should send the config message every 10 minutes. So after around 10 minutes everything should be ok.
Anyways. I will deploy a change where the config message is sent more often. I guess there is no harm. Esp-home seems to send it really often.

The new version makes now the wait for tags to show active hopefully shorter.
The configuration message to home-assistant is not retained and anyway sent every minute. Not sure it is wise but this helps.


refactor(lint): add eslint

Signed-off-by: Mike<EMAIL_ADDRESS>

Codecov Report

Merging #27 (814e224) into master (81f0007) will decrease coverage by 0.80%.
The diff coverage is 69.88%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
- Coverage   71.46%   70.66%   -0.81%
==========================================
  Files          99       99
  Lines        4539     4523      -16
  Branches     1077     1075       -2
==========================================
- Hits         3244     3196      -48
- Misses       1147     1179      +32
  Partials      148      148

Impacted Files
Coverage Δ

src/core/Desktop.ts
20.00% <ø> (ø)

src/core/ILogger.ts
100.00% <ø> (ø)

src/reactjs/components/shared/PowerActions.ts
100.00% <ø> (ø)

src/test/helper/testDataProcessor.ts
100.00% <ø> (ø)

src/core/ImageData/RLEDecoder.ts
9.09% <6.06%> (ø)

src/test/helper/testKvmCommunicator.ts
16.66% <9.09%> (ø)

src/test/helper/testcommunicator.ts
25.00% <18.18%> (ø)

src/core/Utilities/ImageHelper.ts
30.85% <28.88%> (-12.31%)
:arrow_down:

src/core/Utilities/MouseHelper.ts
37.50% <32.72%> (-39.78%)
:arrow_down:

.../reactjs/components/DeviceGrid/deviceGridConfig.ts
54.54% <37.50%> (ø)

... and 80 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #27 (814e224) into master (81f0007) will decrease coverage by 0.80%.
The diff coverage is 69.88%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
- Coverage   71.46%   70.66%   -0.81%
==========================================
  Files          99       99
  Lines        4539     4523      -16
  Branches     1077     1075       -2
==========================================
- Hits         3244     3196      -48
- Misses       1147     1179      +32
  Partials      148      148

Impacted Files
Coverage Δ

src/core/Desktop.ts
20.00% <ø> (ø)

src/core/ILogger.ts
100.00% <ø> (ø)

src/reactjs/components/shared/PowerActions.ts
100.00% <ø> (ø)

src/test/helper/testDataProcessor.ts
100.00% <ø> (ø)

src/core/ImageData/RLEDecoder.ts
9.09% <6.06%> (ø)

src/test/helper/testKvmCommunicator.ts
16.66% <9.09%> (ø)

src/test/helper/testcommunicator.ts
25.00% <18.18%> (ø)

src/core/Utilities/ImageHelper.ts
30.85% <28.88%> (-12.31%)
:arrow_down:

src/core/Utilities/MouseHelper.ts
37.50% <32.72%> (-39.78%)
:arrow_down:

.../reactjs/components/DeviceGrid/deviceGridConfig.ts
54.54% <37.50%> (ø)

... and 80 more

Continue to review full report at Codecov.

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

closing in favor of #45


Rename xbox360-controller-driver: add unofficial

The Tattiebogle driver is NOT the same driver as this Github project.

@vitorgalvao Not sure if you want to go with -unofficial or call it something else?


Sous Chefs Adoption

Description
Adopt this into sous-chefs
Issues Resolved
None
Check List

[X] All tests pass. See TESTING.md for details.
[X] New functionality includes testing.
[X] New functionality has been documented in the README if applicable.

Released as: 5.1.0


Consider moving from parking_lot back to std locks

What problem does this solve or what need does it fill?
In the past the locks in libstd were wrappers around the OS native locks like provided by pthreads. Depending on the use case the locks of parking_lot are faster. For this reason we currently use parking_lot instead. As part of the work tracked in https://github.com/rust-lang/rust/issues/93740 libstd is currently replacing OS native locks with custom implementations. The linux implementation is slightly slower than parking_lot when there is no contention, but it is faster than both parking_lot and the pthreads implementation of glibc and musl under light to extreme contention on at least two benchmarks (https://github.com/Amanieu/parking_lot/issues/338#issuecomment-1109971426 and https://github.com/rust-lang/rust/pull/95035#issuecomment-1073966631).
What solution would you like?
We should benchmark the new locking implementation of libstd for the purposes of bevy and switch to them if they don't regress performance. Even if they don't improve
What alternative(s) have you considered?
Wait until https://github.com/rust-lang/rust/issues/93740 is fully done.

A reason why we might want to stick with parking_lot is its deadlock detection.
Another option might be using the debug variants of tracing-mutex, which creates a DAG and ensures that there aren't any lock cycles (and the debug variants only do that for debug builds, but otherwise use the underlying std/parking_lot/etc primitives).


License and copyright notice missing

Hey @datjan,
I see that this code has been based on the original: repository
That code is licensed MIT and has Copyright notice, it would be good practice to include that in your project.

Hey Booli,
You are right. I created the LICENSE file.
regards

Thanks for the quick response!


Added basic touchscreen support for WaveShare 35B LCD

Added a hack to WaveShare35b 480x320 display touchscreen XPT2046
Reads touchscreen 60 times a second and dumps coordinates to named pipe /tmp/TCfifo
All credit to Original XPT2046 library by Markus Sattler https://github.com/Links2004/XPT2046 under GNU Lesser General Public License
For simplicity, #define USE_SPI_THREAD is commented out, and touchscreen is read synchronously before each frame
The hack involves changing SPI0 CLK and CS0 and CS1 pins temporarily and changing them back after reading data.
Datasheet https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf on page 148
Here is the Forked repository https://github.com/dmitryponv/fbcp-ili9341
F.Y.I. I spent more time on figuring out how to use github. I still don't fully understand the process by which contributions are reviewed. It's a very easy modification to add to existing code, so if touchscreen support is never officially added, its only a matter of adding this XPT2046.cpp touchscreen class and running it from within the loop. Thanks,

I gave it a try in my branch.  Didn't go well.  screen went white as soon as you access tmp file.  I don't get how you could use SPI drive along with this code at the same time as one uses the SPI driver and the other accesses the hardware directly.

The /tmp/TCfifo file is just how I decided to read out the data, you can run a "cat /tmp/TCfifo" command in console, click somewhere on the screen and it will display the coordinates.
I use SPI the same way the official drive would, I drive CS pin for display low, and CS pin for touchscreen high, then read back data from touchscreen, and revert CS pin state to normal. I also had to change SPI configuration a bit, the clock rate was too high for touchscreen. Hence why its a hack.
If your screen is going blank when you read the file, I assume with another C++ program, the issue is in the Inter Process communication.
Try this code, it works for me
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
int main()
{
	int fd;
	// FIFO file path
	char * myfifo = "/tmp/TCfifo";
	// Creating the named file(FIFO)
	// mkfifo(<pathname>, <permission>)
	mkfifo(myfifo, 0666);
	char arr1[80], arr2[80];
	while (1)
	{
  		// Open FIFO for Read only
		fd = open(myfifo, O_RDONLY);
  		// Read from FIFO
		read(fd, arr1, sizeof(arr1));
  		// Print the read message
		printf("Data: %s\n", arr1);
		close(fd);
	}
}

I dont know how this happened, looks like it committed unmodified files, I will update

Jui, et. al., I'm so close to getting this driver working fully with touch-screen on the Kedei type devices!  Since kernel module was out of commission, I took liberty of re-writing it with the sole function of exposing interrupt.  (there are other GPIO pin drivers already but they have been changing lots from kernel to kernel .. simpler and more portable to write a new one).  I have remaining issue of needing to blank interrupt whilst sampling and maybe play with limiting sample rates so it does not interfere with refresh too much.  I have noticed screen must be undergoing redraw in order to perform touch-sampling.  Not sure how to tackle that one.  Open to suggestions on that front.

it now works nicely in my branch


Extensive rewrite of the generator (version 0.4.0)

This is a draft pull request for a major rewrite of the project generator.
TO-DO

opa subgenerators
qunit subgenerators
maybe add ui5linter by default?

Benefits of the new version
For the user:

correct usage of namespace, project name and uimodule name
monorepo approach (using npm workspaces)
generated projects are instantly deployable
newly generated uimodules are also added to deployment config (mta.yaml)
remove confusion when calling the project generator as it asked for app vs. webapp creation
less yeoman conflicts upon project creation for a smoother experience
nesting of the generator-ui5-wdi5 out of the box

In regards to coding and maintainability:

centrally managed dependencies of generated apps
centrally managed templates

open-ux-tools for uimodules
this repo for monorepo architecture and deployment-related files

following the best practices of yeoman
simpler file structure, e.g. usage of prompts.js for every subgenerator
better usage of central helper methods to reduce redundancies

Breaking changes
project subgenerator

Conceptually this is the old app subgenerator.
New project structure with the uimodules nested inside namespace.projectName/uimoduleName
Usage of npm workspaces

uimodule subgenerator

Conceptually this is the old newwebapp subgenerator.
Now this subgenerator can actually be called standalone (after initial project generation) to add new uimodules.
New uimodules also get added to deployment configuration (mta.yaml).
Removed support for JS views, XML only (fix #74)
Removed .eslintignore (fix https://github.com/SAP/generator-easy-ui5/issues/144)
Removed prettier

model subgenerator

Renamed the newmodel subgenerator to model (after all, it's also called project generator, not newproject generator 🙂)
Removed bindingMode option
Removed countMode option
Now (optionally) automatically set up a proxy for new models using the fiori-tools-proxy.

view subgenerator

Renamed the newview generator to view
Removed support for JS view, XML only (fix #74)

fpmpage subgenerator

Renamed the newfpmpage subgenerator to fpmpage
enablefpm subgenerator now part of the more extensive fpmpage subgenerator, as it couldn't really be called standalone anyway.

Miscellaneous

Removed SAP HANA XSA support
Removed the newcomponent subgenerator, as the uimodule architecture is very similar in spirit
"Static webserver" option now uses the staticfile buildpack for deployment to CF, in fact, all deployment target deploy to CF now
Renamed "SAP Launchpad Service" option to "SAP Build Work Zone, standard edition"
Not actively promote standalone usage, only embedded usage via easy-ui5

Hi @vobu, @petermuessig, and everybody else,
I would love to get your opinions and thoughts on the progress so far.
I am also trying to find out what I should focus on next, as we are now moving close to feature parity with the old version of the generator - apart from the "TO-DO" notes in the first comment of this PR of course. Should we include OPA5 and QUnit as part of this subgenerator? I am leaning towards yes, but then none of the other templates provided by SAP does that... 🤔 And we do have wdi5 support now out of the box as well.
Happy to hear from you!

Hi @geert-janklaps, I'm pinging you because I remember you mentioning that you initially implemented the NetWeaver support for the project generator. This is one of the last missing pieces of this rewrite (see list above in first comment) and any guidance and advice is much appreciated - even if that just means "copy and paste the old deployment config" - that's fine as well. Just want to give us the chance to improve while we are at it.

Hi @geert-janklaps, I'm pinging you because I remember you mentioning that you initially implemented the NetWeaver support for the project generator. This is one of the last missing pieces of this rewrite (see list above in first comment) and any guidance and advice is much appreciated - even if that just means "copy and paste the old deployment config" - that's fine as well. Just want to give us the chance to improve while we are at it.

Hi @nicoschoenteich,
To my knowledge, the NetWeaver logic still applies in the same way. (Currently I'm not using it myself, since my focus has shifted to deployment on BTP)
So initially, I would suggest to copy the existing logic as is. I'm happy to review everything and re-test this logic on one of our demo systems. At a later stage we could have a look if there are already better solutions in terms of deployment config (maybe using Fiori Tooling?)

Hi @geert-janklaps, I'm pinging you because I remember you mentioning that you initially implemented the NetWeaver support for the project generator. This is one of the last missing pieces of this rewrite (see list above in first comment) and any guidance and advice is much appreciated - even if that just means "copy and paste the old deployment config" - that's fine as well. Just want to give us the chance to improve while we are at it.

Hi @nicoschoenteich,
To my knowledge, the NetWeaver logic still applies in the same way. (Currently I'm not using it myself, since my focus has shifted to deployment on BTP) So initially, I would suggest to copy the existing logic as is. I'm happy to review everything and re-test this logic on one of our demo systems. At a later stage we could have a look if there are already better solutions in terms of deployment config.

To be honest, i don´t like the ui5-task-nwabap-deployer. I prefer @sap/ux-ui5-tooling with deploy-to-abap which uses the standard OData APIs and is better maintained directly by SAP.
As in the docs suggested i create a seperate ui5-deploy.yaml and use "deploy": "npm run build && fiori deploy --config ui5-deploy.yaml -y" in the package.json. The Fiori Tools generate this currently this way.

maybe add ui5linter by default?
SAP HANA XSA support

ui5-linter would be good, but it´s relativly new, maybe keep it in mind and add it later when it´s reaching a more mature state or 1.0
I don't think XSA is worth the effort, unless the work is minimal

Hi @geert-janklaps, I'm pinging you because I remember you mentioning that you initially implemented the NetWeaver support for the project generator. This is one of the last missing pieces of this rewrite (see list above in first comment) and any guidance and advice is much appreciated - even if that just means "copy and paste the old deployment config" - that's fine as well. Just want to give us the chance to improve while we are at it.

Hi @nicoschoenteich,
To my knowledge, the NetWeaver logic still applies in the same way. (Currently I'm not using it myself, since my focus has shifted to deployment on BTP) So initially, I would suggest to copy the existing logic as is. I'm happy to review everything and re-test this logic on one of our demo systems. At a later stage we could have a look if there are already better solutions in terms of deployment config.

To be honest, i don´t like the ui5-task-nwabap-deployer. I prefer @sap/ux-ui5-tooling with deploy-to-abap which uses the standard OData APIs and is better maintained directly by SAP. As in the docs suggested i create a seperate ui5-deploy.yaml and use "deploy": "npm run build && fiori deploy --config ui5-deploy.yaml -y" in the package.json. The Fiori Tools generate this currently this way.

Which I totally agree with, but you need to take into account that the OData service you mention is only available as of a certain release, while the ui5-task-nwabap-deployer is able to cover older systems as well. Which means we'd be leaving behind "older" systems, which I'm pretty sure are still used. (we still have customers who are not at the right release level yet)
So I'd suggest for to keep the existing logic and maybe improve this logic with an additional question during generation and adapt the generated package accordingly (either use ui5 tooling or use nwabap-deployer)

Thanks for the input everyone, I think we should keep the current config for SAP NetWeaver deployments and leave SAP HANA XSA behind. I will prepare the commits in the coming days.

Hi @geert-janklaps, @marianfoo and everyone,
the SAP NetWeaver deployment feature is ready to be tested. Unfortunately I don't have a system to test with myself. Can anyone support?
These would be the steps:

Clone my for of this repo.
Install this generator globally via npm link (run it from the root of the repo you just cloned).
Run yo ui5-project:project
When prompted, select SAP NetWeaver.
Run npm install inside the newly generated project.
Configure your SAP NetWeaver system in the ui5.yaml of the generated UI5 app.
Run npm run build from the root of the generated project.

Best, Nico

Would recommend using .envfile for Username and Password in the deploy task
small mistake in the yaml, it´s customTasks

builder:
  customTasks:

dependency ui5-task-nwabap-deployerin the package.json of the ui5 app is missing

After those fixes is was able to deploy it succesfully

Thanks for the feedback @marianfoo! Ready to test again 🙏🏻

Hi @nicoschoenteich,
I saw your progress on this project in yesterdays UI5con-Session. So wanted to give it a try.
I cloned your forked repository and ran 'npm link' as stated above.
My platform is Windows 10 but the project generator fails:

Could you help?
Regrads,
Daniel

Hi @Kyrodan, thanks for bringing this up. I probably manually build certain paths somewhere (instead of using path.join()), which works on Unix based system, but not on Windows. I will look into that.

Hey @Kyrodan, a quick follow up on this: Which node version are you using?

Hey @Kyrodan, a quick follow up on this: Which node.js version are you using? Have you tried it with node.js >=18?
I'm using Node v20.13.1.

Which I totally agree with, but you need to take into account that the OData service you mention is only available as of a certain release, while the ui5-task-nwabap-deployer is able to cover older systems as well. Which means we'd be leaving behind "older" systems, which I'm pretty sure are still used. (we still have customers who are not at the right release level yet)

The 2.x version of ui5-task-nwabap-deployer also uses the OData service, therefore, has the same limitation. Thus, I'd recommend to use the @sap/ux-ui5-tooling since it also brings support for Steampunk and soon S/4HANA Cloud Public Edition development clients. BUT, I am obviously biased ...

Hi @tobiasqueck,
thanks a lot for your input!
To your points:

I'm convinced and will make the switch to https://www.npmjs.com/package/@sap/ux-ui5-tooling#deployment-to-abap.
The preview-middleware looks interesting, but to be honest I don't 100% understand how it works. Does it replace the need for a TestSuite and/or a generic *.qunit.html file so I only have to provide the actual test files?
I will also add the ui5linter.

@nicoschoenteich here is a project I am using for testing the Open UX tools
fe.v4.lrop.zip
Please note, I am using the Open UX tools middlewares directly, however, the same middlewares are integrated into the @sap/ux-ui5-tooling bundle on a regular basis (usually every two weeks).

Hi @tobiasqueck and @marianfoo,
I made the switch to the deploy-to-abap taks from the @sap/ux-ui5-tooling, so the SAP NetWeaver target would be ready to test again. Would one of you be so kind? 🙏🏻

Hi @tobiasqueck and @marianfoo,
I made the switch to the deploy-to-abap taks from the @sap/ux-ui5-tooling, so the SAP NetWeaver target would be ready to test again. Would one of you be so kind? 🙏🏻

Worked for me without any issues

Hi @vobu, @petermuessig and @tobiasqueck,
The PR is finally ready for a review and hopefully good to merge. I'd appreciate if one of you could give a final thumbs-up.
Best, Nico

Hi @Kyrodan, I believe I fixed the issue on Windows. Can you please check?

Hi @Kyrodan, I believe I fixed the issue on Windows. Can you please check?
Yes, it works now. Thanks!


Added failing test of matchMedia using dppx

When using the unit dppx in a media query the matchMedia polyfill throws an error. Note this happens on all browsers if you force the polyfill. I've added a failing test for it though I have yet to look into fixing it incase anyone else has a better understanding as to why it is failing.

Looks like my build failed because of Error: SAUCE_USER_NAME and SAUCE_API_KEY must be set in the environment ?

The sauce tests only work when they run on the Financial-Times owner, not on forks.  Happy to push this to a local branch for CI if you have a fix you can verify locally.

@triblondon thats fair enough. I've just pushed what I think is a fix for it based on https://developer.mozilla.org/en/docs/Web/CSS/resolution so can you check it?
N.B. to get the tests to fail you will need to run it them on a browser that doesn't have matchMedia i.e. IE 9 until https://github.com/Financial-Times/polyfill-service/issues/383 has been addressed.

Merged in #393


Code is updated, but no release

Maybe you should release a new version?
In particular I reported an issue about not saving custom directory. Now I see, the issue is fixed but no release with this fix...

Indeed, I had other issues in progress.
And this work just got frozen. I have to resume that.


Using new minimal-slp-wallet v2 lib

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[WIP] Add JSON API with Grape

Reference #68

@wildtangent @mario @olliebennett  wondering your thoughts on if you think the API should be limited to agents/admin, or should it give all users access via oauth2?  There would be some basic permissions to limit users to things like viewing docs and their own topics, but i am having trouble deciding on the value of this.

I'm thinking about the type of use-cases and what sort of access they'd require. My thoughts, in order of how useful / important the use-case is:

Agent Access: Access for agents and admins to reply to (and close etc.) topics through other interfaces, such as via a "Helpy Admin" mobile app pointed at their Helpy instance.
Automatic Ticket Creation: An authenticated service with ticket-creating and read-all permissions which is not representing an actual "user" but - for instance - another system or server. For example, an auto-importer from an existing CRM tool, a statistics extraction tool for reporting key company metrics into a central dashboard (like Geckoboard), or perhaps a two-way chat (Slack) interface allowing all employees to interface with Helpy without having their own accounts(?).
User Registration: Creating a topic directly from an app or website (e.g. @mario's SDK idea); the user can register themselves (hopefully done automatically if we know their details already) and then open their own tickets.
Unauthenticated Access: An unauthenticated user (site visitor or app user) should be able to browse (and search) all public topics, perhaps as a way to consume a "FAQ" section of the app.

Based on these use-cases, I think it's a good idea to begin with limiting to admins only if that keeps things simpler, and while the API is tested. As use-cases are developed, additional functionality can be exposed as required.

I should note that for full support of Rails 5 you'll want 0.17.0. Also that drops explicit support for Ruby < 2.2.2, though it should still work the test suite isn't run for it.


NUC 2.x images don't deploy docker

@brownjohnf can you update this issue please?

Considering addressed. Closing this issue

Sorry @floion, I missed this somehow. I think I was mistaken. There's no problem.


Prep the repo for building a Node 20 binary

Simplify the process outlined in the README
Upgrade node-gyp. Was unable to complete the installation until I did that. Can't find the logs 😢
Update the Node version in the Dockerfile
Remove the docker-compose file. We're not composing multiple services/networks so I think overkill here. Easier to just build and then run in a one-liner IMO.

Hi @pyramation, do you plan to merge this PR? My team have a security issue in node-gyp---->glob---->inflight, when the node-gyp upgrade to ^10, the inflight will removed.

@benasher44 can you check this

I guess this can be closed, since the binaries for Node.js 20.x for linux/amd64, linux/arm64, darwin/arm64 have been published by @darora :

https://github.com/launchql/libpg-query-node/issues/25#issuecomment-1882172638

I think the process of creating the binaries should be relatively reproducible by someone other than @darora? If only @darora can generate them it creates a bus factor going forward. AFAICT this repo as-is can't create the binaries because of issues in node-gyp.

Any suggestions on a free place to host them? I think that's the main blocker right now. The build issues can be otherwise over come

@benasher44 that's a concern for sure, and no I don't have a great suggestion other than Github Releases? This PR doesn't try to tackle that, it's just to make it so that someone can checkout this repo and build at least the Linux binaries themselves.

Fair! Change look good to me


Added EuroMOMO data on excess mortality in the euro zone

This script scrapes excess mortality data from the EuroMOMO website. This data consists of z-scores on excess mortality on 24 Euro-zone countries. EuroMOMO states the following countries participate in this initiative.
These graphs were generated in week 2020-39 with data from all 24 participating countries: Austria, Belgium, Denmark, Estonia, Finland, France, Germany (Berlin), Germany (Hesse), Greece, Hungary, Ireland, Italy, Luxembourg, Malta, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland, UK (England), UK (Northern Ireland), UK (Scotland), UK (Wales).
I'm not sure if this is interesting for this repo but I'm adding this data to http://covid-analytics.nl so that excess mortality in NL can be compared to other Euro-zone countries. Might as well share it with you guys right?
The script is adapted from this script. The original stopped working but the method for extracting the correct json string was still valid. I just made it work again and added code to extract the z-scores (per age group) per country, convert it to a pandas dataframe and store it as a csv. https://gist.github.com/GuillaumeDerval/e0dfe72b225854413da56f2d7a9e28ba
I'm not sure how often the EuroMOMO data is updated. Perhaps once a week?

@J535D165 ?

This is a very interesting source. Would be nice to include it. However, I'm not sure whether we can use this data because of the lack of license. I can't find anything expect All rights reserved.

So I've tried to contacted EuroMOMO twice on the license issue since opening this PR but they don't seem to respond. Should we close the ticket or keep it open so people can find the script if they want to play around with the data?


Added MIT license

MIT license has been added.

@priyanshujain sorry about that, but @ilimugur had already open a PR with changes.
BTW, thanks for helping :)


why output channels are 68?

Thanks for sharing the testing code. However, i found the final output channels are 68. And only top 17 channels and last 17 channels are used for estimation. Why not directly use 34 channels as presented in the paper? Can anybody expain that?

https://github.com/umich-vl/pose-ae-train/issues/5


Feature Engineering example issues

It seems the Feature Engineering example notebook is hosted at notebooks.terrascope.be, which I don't see EGI login being available for. So it seems inaccessible and should be fixed?
https://docs.openeo.cloud/usecases/feature-engineering/
Also, there's an incomplete sentence in the docs:

To correctly compute and use statistics over a timeseries, gap-free composites at fixed timesteps are n

I fixed the link, as we indeed did not want to reference a specific jupyterlab. (Terrascope notebooks do work with EGI, choose 'Edugain& social'.)
The issue in the text seems to be fixed already, but text itself may need a bit of work.


Release delta-rs XXXX (next release after 0.6.0)

Follow on from #971:

Planned Release and Publish to crates.io: 2023-01-13

CI and release-related enhancements we want to add in this or the next release:

[ ] #996
[ ] #984

Bugs we want to fix in this or the next release:

[ ]  #677 / #925 / #985
[ ] #973 / #1002
[x] #1025

Items:

[ ] PR to update version and CHANGELOG:
[ ] Update version to XXXX and add changelog
[ ] Release candidate created:
[ ] Release to crates.io:

See full list here:
https://github.com/delta-io/delta-rs/compare/rust-v0.6.0...main
cc @houqp @wjones127 @fvaleye @rtyler @roeap @xianwill @mosyp

Today is exactly a month since our last release. I can generate the changelog to help with this release.


On editor load the first flow tab is being shown even when it's meant to be hidden

Current Behavior
When opening a new browser window and navigating to http://x.x.x.x:1880/ the first flow tab is always shown even though it has been hidden by clicking icon on the tab
Additionally (although may be related), when hiding all flow tabs (silly I know), the first flow reappears, but there is no tab shown at the top of the editor window.
Expected Behavior
Expected to show the next available visible tab
If all flow tabs are hidden either a blank editor window or the first flow with tab shown.
Steps To Reproduce

Create several tabs.
Hide the first one.
Reload the site, ensuring you remove the extra #flow/... part from the URL

Example flow
N/A
Environment

Node-RED version<EMAIL_ADDRESS>Node.js version: 14.18.2
npm version: 6.14.15
Platform/OS: Linux 5.13.0-28-generic x86_64
Browser: Firefox 97

Steve or Nick,
How can I get the merged files?  I just downloaded the 2.2.2 and it's still doing this bug.  I installed 2.2.2 and "closed" or "hid" all the tabs.  Then I opened up Node-RED and it shows first flow with no tab at all, still.  I apparently still have the old version.


Throw Error on Chrome Tests

I tried to run the chrome tests and installed the advised package: "selenium-webdriver": "3.0.0-beta-2"
when i run the test with
SERVER_TEST_REPORTER=xunit XUNIT_FILE=$PWD/testresults/unit.xml TEST_BROWSER_DRIVER=chrome meteor test --once --driver-package meteortesting:mocha
i get this error after entering the RUNNING CLIENT TEST section:
/node_modules/selenium-webdriver/lib/promise.js:654
throw error;
^
Error: Server terminated early with status 127
at Error (native)
node_modules/selenium-webdriver/remote/index.js:243:22
...

Doesn't look familiar. It will be easiest to debug if you can post a simple app that reproduces the issue and link to it here. If you are using latest Meteor, you can try using the latest selenium-webdriver package instead of pinning to the 3.0 beta. Meteor now runs on later Node.


Working Build?

The release doesn't seem to open

Hey @brianjking , thanks for raising this! The issue is that GitHub releases will strip the executable flag from binaries uploaded to the release.
To get around that, I've gone and updated the release to be a ZIP file wrapping the binary. If you unzip the file and run the inner CLI tool, the first time you do this it will fail due to Apple's preventing unsigned code from executing. You'll need to go to System Settings -> Privacy & Security and where it says "OCRTool" was blocked from use because it is not from an identified developer. you'll need to select Allow Anyway.

After this, subsequent invocations of the CLI should work! As always if you're concerned about running unsigned binaries, you're welcome to open the project in XCode and build the CLI from source!


Please require 'active_support'

I have NameError: uninitialized constant ActiveSupport::Deprecation
[feature/deploy]~/projects/: cap production chatwork:notify_deploy_started --trace
** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
cap aborted!
NameError: uninitialized constant ActiveSupport::Deprecation
/Users/osada/projects/vendor/bundle/gems/activesupport-4.2.0/lib/active_support/core_ext/module/deprecation.rb:21:in `deprecate'

It's a same problem.
uninitialized constant ActiveSupport::Autoload (NameError), sometimes, at ramdom · Issue #14664 · rails/rails
Please use active_support.

:+1:
I encountered the same problem too (activesupport v4.2.3 + capistrano-chatwork v1.2.0)

:bow:


Support multiple mounts of ~/.gradle/caches in virtualized environments

Expected Behavior
Gradle has partial support for multiple mounts of cache folders. Currently certain caches related to dependencies support multiple read-only mounts. Details are documented in the dependency section. But there are multiple subfolders to mount, whose version might change per gradle version. And there are potentially more gradle cache folders eligible for multiple mounts such as the build or configuration cache. Mounting the entire ~/.gradle/caches folder would be simpler than multiple subfolder mounts and would cover more cache kinds. Also read-write mounts would be convenient instead of the current read-only support of the dependency cache.
Current Behavior (optional)
Blocked by #8750. Other cache kinds also show issues with lock files. In our case mutliple gradle processes cannot communicate with one another to free lock files except via the mounted folder. read-write dependency cache sharing isn't currently supported.
Context
We are running CI worker containers in kubernetes and would like to mount a single gradle cache on each kube node our worker containers run on.

Ideally it should also work with Docker's RUN --mount=type=cache  and allowing concurrent.


REST APIs for Gobblin Service job configuration.

Create APIs for create, get, full update, and delete of JobConfigs.
JobConfigs are turned into JobSpecs stored in a MutableJobCatalog.

@ibuenros @abti, please take a look. I pulled the files with changes requested in PR #1571 into a new branch since the other PR was polluted with changes from other checkins.


Cherry-pick: RUMM-1748: Update dogfood script to target Gradle version catalogs

What does this PR do?
This change cherry-picks update to dogfood script (https://github.com/DataDog/dd-sdk-android/commit/2395df2c8d6b0a7433bfad230afb2a33919ac6d0) to target version catalogs in the dependent repos.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #752 (96812e4) into release/1.11.0 (3d2d116) will decrease coverage by 0.21%.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             release/1.11.0     #752      +/-   ##
====================================================
- Coverage             88.82%   88.61%   -0.21%
+ Complexity             1720     1715       -5
====================================================
  Files                   189      189
  Lines                  5689     5689
  Branches                700      700
====================================================
- Hits                   5053     5041      -12
- Misses                  398      407       +9
- Partials                238      241       +3

Impacted Files
Coverage Δ

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
74.51% <0.00%> (-5.88%)
:arrow_down:

...nal/tracking/AndroidXFragmentLifecycleCallbacks.kt
87.80% <0.00%> (-4.88%)
:arrow_down:

...droid/rum/tracking/FragmentViewTrackingStrategy.kt
81.82% <0.00%> (-4.55%)
:arrow_down:

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
76.14% <0.00%> (-2.27%)
:arrow_down:

...g/internal/domain/event/DdSpanToSpanEventMapper.kt
93.88% <0.00%> (-2.04%)
:arrow_down:

.../android/rum/internal/domain/scope/RumViewScope.kt
95.09% <0.00%> (-0.87%)
:arrow_down:

...atadog/android/core/configuration/Configuration.kt
95.52% <0.00%> (-0.75%)
:arrow_down:

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
78.12% <0.00%> (ø)

...droid/rum/tracking/ActivityViewTrackingStrategy.kt
88.46% <0.00%> (+1.92%)
:arrow_up:

...g/android/rum/internal/domain/scope/RumEventExt.kt
87.39% <0.00%> (+2.70%)
:arrow_up:

... and 2 more


Compiled Figure 4

Closes #45
This PR adds the compiled version of Figure 4.

I updated scripts/Fig4B_singler-cellassign-heatmap.R to export both PNG and PDF, and fixed a few things along the way:

We were missing a grid:: somewhere
I had to add the heatmap argument column_names_max_height = unit(8, "cm") (upped from the default 6 cm) to ensure the column labels fully fit in the exported PDF
Turns out ComplexHeatmap and dependencies never made it into renv.lock, so I snapshotted them in.

This is being filed as a Draft since certain font size/family decisions are still in flux, pending reviews in #49 & #51. Once this has been formalized, I will update here accordingly and request review.

I went ahead and updating the sizing (waiting probably not too necessary); marking as ready for review now.

I've updated here with larger fonts, and the right file types (pdf/png) in the right spots without any files we don't need. How's it looking?


chore: stop using Che plugin registry for editor definitions

What does this PR do?

Stop using che-plugin-registry URL to get editor definitions, instead it's possible to provide editorURL parameter
Add .devfile.yaml to develop on Che
Add LICENSE file
Update README
Add default extensions

What issues does this PR fix or reference?
https://github.com/eclipse-che/che/issues/23187
Is it tested? How?

It could be tested by running it on Che instance using factory:
And execute commands provided by devfile:

Build
Generate DevWorkspace with Template (it uses editorURL as a prameter)

As a result /tmp/devworkspace-che-code-latest.yaml should be generated

cc @musienko-maxim

@olexii4 @RomanNikitenko  FYI
che-dashboard and che-code may be affected when the devworkspace-generator version is updated


R.adjust seems to behave badly when the list contains holes

It seems that R.adjust will introduce undefined
const l = []
l[10] = {number: 22}
l[20] = {number: 44}

R.adjust(R.evolve({number: R.inc()}), 20, l)

// => [undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, {"number": 22}, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, {"number": 45}]

I understand that it's a default behavior in js.
But there is ways to know which keys in the array are initialized.
I can think of :
l.propertyIsEnumerable(102) or Object.keys(l)
In the regards of performance I don't know which one should be preferred.
Or maybe there is other ways to do this.

Fooling arround this is due to the behavior of Array.concat

We've always insisted that Ramda's default iterable type is a list.  Because the language does not have a built-in pair-based list structure (no CONS/CAR/CDR) we adopt dense arrays as the closest analog available.  But if you supply a sparse array to a function looking for a list, we let the chips fall where they may.  We don't even try to compensate.

I m ok with that décision. Still i think that the doc should warn about this on all func that use Array.concat
Benjamin Dreux

Le 15 juin 2016 à 23:44, Scott Sauyet<EMAIL_ADDRESS>a écrit :
We've always insisted that Ramda's default iterable type is a list. Because the language does not have a built-in pair-based list structure (no CONS/CAR/CDR) we adopt dense arrays as the closest analog available. But if you supply a sparse array to a function looking for a list, we let the chips fall where they may. We don't even try to compensate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

the doc should warn

agreed

Yes, perhaps a link to a common, "Handling of sparse arrays" note.


the relation of gene id and  its derived transcripts id in FPKM ?

dear author,
I am trying to analyse differential gene expression of zea mays with well annotated genome following the simplified protocol has only 3 steps (depicted below).

and met such an issue: in the same campared group, gene id was significantly down-regulated, however, some of its derived transcripts id were significantly down-regulated, up-reglated or unchanged. like this:

now, i am wondering the relation of gene id and  its derived transcripts id in FPKM.
looking forward to your reply.

@gpertea looking forward to your reply. thanks a lot.

Isn't it possible that the overall change for the gene to be down-regulation, even though one of the transcripts may be significantly up-regulated (if the others are down regulated)?  It's hard to tell what's in your data there and I do not have detailed knowledge about the inner workings of those significance tests, but I guess it is possible to have rare situations like this, where a minority of transcripts may seem up-regulated between samples even though the overall expression level of the whole gene is decreased.

@gpertea
thanks for your kindly reply. maybe i did not make my issue clear.
actually, i want to know whether the FPKM of gene id is equal to ∑ ( FPKM of transcripts id from the same gene id ) or the FPKM of gene id is equal to FPKM of  the longest transcripts id from the same gene id ? is there other relation between FPKMs of gene id and its derived transcripts id ?
looking forward to your reply. thanks a lot.

It is generally the sum, but there could be reads that are not placed by StringTie into any of the assembled transcripts so they won't contribute to the coverage of the (reported) transcript, yet they could contribute to the coverage of the gene -- because they are mapped to the locus there, just not assembled into transcripts. But those should be a minority (unless it's a very noisy region, or the mappings were incorrect/problematic). Overall the gene coverage is the sum of the component transcripts' coverage, though the numbers might not be exactly matching..