[Train on official Docker image & custom TF build (no AVX)] failed to query event: CUDA_ERROR_LAUNCH_FAILED

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): used https://github.com/minimaxir/gpt-2-simple for finetuning
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04 & Docker
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): custom build TF (without AVX) from https://github.com/yaroslavvb/tensorflow-community-wheels/issues/109
TensorFlow version (use command below): b'v1.13.1-0-g6612da8' 1.13.1
Python version: Python 3.5.2
Bazel version (if compiling from source): 0.21.0
GCC/Compiler version (if compiling from source): Same as docker tensorflow/tensorflow:latest-gpu-py3 & tensorflow/tensorflow:devel-gpu-py3 (error reproduce in both)
CUDA/cuDNN version: 10.0 / <IP_ADDRESS>-1 ( https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile )
GPU model and memory: GeForce GTX 1080 Ti (11 Gb)

Describe the current behavior

root@63f592f02a0e:/gpt2# python imdb_reviews.py
...
2019-05-14 07:05:22.669722: E tensorflow/stream_executor/cuda/cuda_event.cc:48] Error polling for event status: failed to query event: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
2019-05-14 07:05:22.669812: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:274] Unexpected Event status: 1
Aborted (core dumped)

Describe the expected behavior
Train process (tested in google colab)...
Code to reproduce the issue
# tested on devel-gpu-py3 (where tf wheel builded) and latest-gpu-py3
docker pull tensorflow/tensorflow:latest-gpu-py3

# deep into docker image
docker run --runtime=nvidia -it  -v ~/projects/gpt2-simple:/gpt2 tensorflow/tensorflow:latest-gpu-py3 bash

In Docker:
pip uninstall tensorflow-gpu

cd /gpt2
# from https://github.com/yaroslavvb/tensorflow-community-wheels/issues/109
pip install tensorflow-1.13.1-cp35-cp35m-linux_x86_64.whl

# install gpt2-simple
pip install gpt_2_simple

# from https://gist.github.com/saippuakauppias/4f41ce1072a04588a2bab7dae00f9bb7
python imdb_reviews.py

Other info / logs

tf_env.txt attached.
Its error looks like https://github.com/tensorflow/tensorflow/issues/22477 but I dont understand where solution in that issue.
docker run without -u $(id -u):$(id -g) because with this I cant uninstall tensorflow:

Example
docker run --runtime=nvidia -u $(id -u):$(id -g) -v ~/projects/gpt2-simple:/gpt2 -it tensorflow/tensorflow:latest-gpu-py3 bash

You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!

tf-docker / > pip uninstall tensorflow-gpu
WARNING: The directory '/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Uninstalling tensorflow-gpu-1.13.1:
  Would remove:
    /usr/local/bin/freeze_graph
    /usr/local/bin/saved_model_cli
    /usr/local/bin/tensorboard
    /usr/local/bin/tf_upgrade_v2
    /usr/local/bin/tflite_convert
    /usr/local/bin/toco
    /usr/local/bin/toco_from_protos
    /usr/local/lib/python3.5/dist-packages/tensorflow/*
    /usr/local/lib/python3.5/dist-packages/tensorflow_gpu-1.13.1.dist-info/*
Proceed (y/n)? y
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.5/shutil.py", line 538, in move
    os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: '/usr/local/bin/freeze_graph' -> '/tmp/pip-uninstall-n9t_qerr/freeze_graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/base_command.py", line 178, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/uninstall.py", line 75, in run
    auto_confirm=options.yes, verbose=self.verbosity > 0,
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/req/req_install.py", line 825, in uninstall
    uninstalled_pathset.remove(auto_confirm, verbose)
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/req/req_uninstall.py", line 388, in remove
    moved.stash(path)
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/req/req_uninstall.py", line 277, in stash
    renames(path, new_path)
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/utils/misc.py", line 305, in renames
    shutil.move(old, new)
  File "/usr/lib/python3.5/shutil.py", line 553, in move
    os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/bin/freeze_graph'

Tensorflow debugger with mnist works fine and use GPU (I see it in nvidia-smi).

Log
root@4697d32838f4:/gpt2# python -m tensorflow.python.debug.examples.debug_mnist
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/python/debug/examples/debug_mnist.py:46: read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:260: maybe_download (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Please write your own downloading logic.
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:262: extract_images (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data to implement this functionality.
Extracting /tmp/mnist_data/train-images-idx3-ubyte.gz
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:267: extract_labels (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data to implement this functionality.
Extracting /tmp/mnist_data/train-labels-idx1-ubyte.gz
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:110: dense_to_one_hot (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.one_hot on tensors.
Extracting /tmp/mnist_data/t10k-images-idx3-ubyte.gz
Extracting /tmp/mnist_data/t10k-labels-idx1-ubyte.gz
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:290: DataSet.__init__ (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
2019-05-14 17:07:28.376774: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-05-14 17:07:28.378926: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x6115c40 executing computations on platform Host. Devices:
2019-05-14 17:07:28.378987: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
2019-05-14 17:07:28.598760: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:998] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-05-14 17:07:28.601785: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x61c1dd0 executing computations on platform CUDA. Devices:
2019-05-14 17:07:28.601829: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): GeForce GTX 1080 Ti, Compute Capability 6.1
2019-05-14 17:07:28.602453: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.6575
pciBusID: 0000:0b:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2019-05-14 17:07:28.602502: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
2019-05-14 17:07:28.605463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-05-14 17:07:28.605502: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0
2019-05-14 17:07:28.605525: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N
2019-05-14 17:07:28.605978: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10470 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:0b:00.0, compute capability: 6.1)
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-05-14 17:07:29.756412: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally
Accuracy at step 0: 0.1094
Accuracy at step 1: 0.098
Accuracy at step 2: 0.098
Accuracy at step 3: 0.098
Accuracy at step 4: 0.098
Accuracy at step 5: 0.098
Accuracy at step 6: 0.098
Accuracy at step 7: 0.098
Accuracy at step 8: 0.098
Accuracy at step 9: 0.098

I also builded tensorflow v1.12.2 and v.1.11.0 (CUDA 9 / cuDNN 7 / Bazel 0.15.0) from old official dockerfile ( https://github.com/tensorflow/tensorflow/blob/v1.12.2/tensorflow/tools/dockerfiles/dockerfiles/nvidia.Dockerfile + some things from dockerfile v1.13.1) and I get same results:
root@fe4fdf4cda67:/my-devel/gpt2-simple# python imdb_reviews.py
Loading checkpoint models/345M/model.ckpt
2019-05-15 07:00:34.445685: E tensorflow/stream_executor/cuda/cuda_event.cc:48] Error polling for event status: failed to query event: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
2019-05-15 07:00:34.445688: E tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:706] failed to record completion event; therefore, failed to create inter-stream dependency
2019-05-15 07:00:34.445785: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:274] Unexpected Event status: 1
2019-05-15 07:00:34.445793: E tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:706] failed to record completion event; therefore, failed to create inter-stream dependency
Aborted (core dumped)

Maybe problem in my Ubuntu? How to find the problem?

@saippuakauppias Make sure that LD_LIBRARY_PATH is set up correctly. Thanks!

@gadagashwini, what is the correct path to be?
I check LD_LIBRARY_PATH in docker image tensorflow/tensorflow:1.13.1-gpu-py3:
root@c119f9a4779c:/gpt2# echo $LD_LIBRARY_PATH
/usr/local/cuda/extras/CUPTI/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64

And with this env I get same error.
I changed env to:
/usr/local/cuda-10.0/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64

And again get error in start post...
I checked again tf_env_collect.sh and get same results (as in first post in attachment).

@ymodak , @gadagashwini any suggestions for me?
Please...

@saippuakauppias Please follow these steps to install Tensorflow-gpu using docker
$sudo docker pull tensorflow/tensorflow:latest-gpu
$sudo docker run -it tensorflow/tensorflow:latest-gpu
$#python

import tensorflow

Please let us know how it progresses. Thanks!

$ sudo docker run -it tensorflow/tensorflow:latest-gpu
$ # python

Python 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

and:
$ sudo docker run --runtime=nvidia -it tensorflow/tensorflow:latest-gpu
$ # python

Python 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
2019-05-31 18:24:40.299660: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
Aborted (core dumped)

Did you install nvidia-docker(https://www.tensorflow.org/install/docker#tensorflow_docker_requirements)?

Yes, of course.

@saippuakauppias, I'm sorry, but we don't provide support for community-built packages.
IIRC, all of our official packages (and therefore the packages provided in our Docker images) depend on a CPU with AVX instructions to load, which is why your later tests have failed.

Can anyone look at my tf_env.txt and say if everything is normal there? I looked at similar problems with tf_env.txt file and there were radically different files.
I suspect that I have a problem with Cuda, and not with custom build tensorflow.

@angersson @ymodak @gadagashwini can you check my tf_env.txt from start post? Please

Same problem on v1.14.0 :(
root@f58a4b0f357f:/gpt2# python imdb_reviews.py
Fetching checkpoint: 1.05Mit [00:00, 574Mit/s]
Fetching encoder.json: 1.05Mit [00:00, 4.81Mit/s]
Fetching hparams.json: 1.05Mit [00:00, 777Mit/s]
Fetching model.ckpt.data-00000-of-00001:  46%|████████▏         | 228M/498M [00:20<00:26, 10.1Mit/s]
Fetching model.ckpt.data-00000-of-00001: 498Mit [00:44, 11.1Mit/s]
Fetching model.ckpt.index: 1.05Mit [00:00, 524Mit/s]
Fetching model.ckpt.meta: 1.05Mit [00:00, 8.16Mit/s]
Fetching vocab.bpe: 1.05Mit [00:00, 6.46Mit/s]
2019-08-07 20:01:28.881234: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-07 20:01:28.883414: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x508f1f0 executing computations on platform Host. Devices:
2019-08-07 20:01:28.883468: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): <undefined>, <undefined>
2019-08-07 20:01:28.887221: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2019-08-07 20:01:29.334170: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-07 20:01:29.336751: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x536d0e0 executing computations on platform CUDA. Devices:
2019-08-07 20:01:29.336814: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): GeForce GTX 1080 Ti, Compute Capability 6.1
2019-08-07 20:01:29.337238: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-07 20:01:29.339789: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.6575
pciBusID: 0000:0b:00.0
2019-08-07 20:01:29.340142: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-08-07 20:01:29.342040: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-08-07 20:01:29.343430: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-08-07 20:01:29.343813: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-08-07 20:01:29.345995: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-08-07 20:01:29.347726: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-08-07 20:01:29.352638: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-08-07 20:01:29.352833: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-07 20:01:29.355504: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-07 20:01:29.358011: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-08-07 20:01:29.358084: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-08-07 20:01:29.361205: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-08-07 20:01:29.361231: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2019-08-07 20:01:29.361254: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2019-08-07 20:01:29.361753: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-07 20:01:29.364404: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-07 20:01:29.366944: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10470 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:0b:00.0, compute capability: 6.1)

WARNING: Logging before flag parsing goes to stderr.
W0807 20:01:36.900164<PHONE_NUMBER>11872 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/gpt_2_simple/src/sample.py:17: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where

Loading checkpoint models/117M/model.ckpt
W0807 20:01:56.259600<PHONE_NUMBER>11872 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
2019-08-07 20:01:57.971873: E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
2019-08-07 20:01:57.971963: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:273] Unexpected Event status: 1
Aborted (core dumped)

I am closing this issue, since we don't support non-official packages.

The problem was in the video card. There were memory errors (can be verified through https://github.com/ForkLab/cuda_memtest ).
Solution: replace the video card.

I am facing the same issue (Windows, tensorflow 2.1):
Random Error polling for event status: failed to query event: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure errors when training LSTM networks, causing the kernel to fail.
When replacing the LSTM layers with GRU layers, everything works like a charm.
OCCT did not reveal any issues. Other stress tests worked perfectly.
Any hints/suggestions?


Remove deprecated re-exports

Recently we added a bunch of deprecated re-exports while moving things out of the util module. Turns out while the code reads like it works, deprecated actually only works for functions, not types or modules etc.
Remove the non-functional deprecated lines and elect to not re-export things we moved. Release 0.30 is going to break a lot of code but there is no real nice way to resolve that. We will need good release notes and a public apology probably :)
Fix import statements that still rely on util::bip32 - these should have been fixed when we moved the bip32 module.

Rebase only, no other changes.

Rebase only, no other changes.


The code fails to create time series in using my original dataset. 'Number of words we are analyzing: 0'

When I run this code for my original dataset, the code fails to create time series.
I prepared ngrams and common_vocab in the same way as this repository.
Why 'Number of words we are analyzing: 0' ?
$ ngrams_pipeline.py --corpus-dir ngram100 --file-extension "ngrams" --working-dir ./working --output-dir ./output --context-size 5 --epochs 3 --start-time-point 1905 --end-time-point 1975 --step-size 5 --vocabulary-file common_vocab2.txt --workers 16
Processing files, ngram100/1905.ngrams ngram100/1910.ngrams ngram100/1915.ngrams ngram100/1920.ngrams ngram100/1925.ngrams ngram100/1930.ngrams ngram100/1935.ngrams ngram100/1940.ngrams ngram100/1945.ngrams ngram100/1950.ngrams ngram100/1955.ngrams ngram100/1960.ngrams ngram100/1965.ngrams ngram100/1970.ngrams
Training embeddings
Models will be stored in, ./working/models
Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; AND IT WON'T COST YOU A CENT.
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.

To silence the citation notice: run 'parallel --citation'.

Computers / CPU cores / Max jobs to run
1:local / 8 / 4

Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
local:4/0/100%/0.0s train_embeddings_ngrams.py -f ngram100/1020.ngrams -o ./working/models -p 1020 -e skipgram -workers 4 --epochs 3 -w 5
Building a model from the corpus.
Model built.
2016-07-14 11:23:41 INFO corpustoembeddings.py: 59 window size:5, alpha:0.01, embedding size:200, min_count:10, workers:4
2016-07-14 11:23:41 INFO word2vec.py: 395 collecting all words and their counts
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #0, processed 0 words and 0 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #10000, processed 79436 words and 13124 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #20000, processed 158902 words and 16428 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #30000, processed 238544 words and 17704 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #40000, processed 318058 words and 18188 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #50000, processed 397421 words and 18453 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #60000, processed 476940 words and 18540 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #70000, processed 556187 words and 18582 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #80000, processed 635476 words and 18601 word types
2016-07-14 11:23:45 INFO word2vec.py: 423 PROGRESS: at sentence #90000, processed 714631 words and 18615 word types

…

Config:
Input data frame file name: ./working/timeseries/source.csv
Vocab file common_vocab2.txt
Output pvalue file ./output/pvals.csv
Output sample file ./output/samples.csv
Columns to drop 1905
Normalize Time series: True
Threshold 1.75
Dropped column 1905
Columns of the data frame are Index([u'Unnamed: 0', u'word', u'1910', u'1915', u'1920', u'1925', u'1930',
       u'1935', u'1040', u'1945', u'1950', u'1955', u'1960', u'1965', u'1970'],
      dtype='object')
Number of words we are analyzing: 0
/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/more_itertools-2.2-py2.7.egg/more_itertools/more.py:30: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
[Parallel(n_jobs=4)]: Done   0 out of   0 | elapsed:    0.0s finished
Traceback (most recent call last):
  File "/Users/username/.pyenv/versions/2.7.9/bin/detect_changepoints_word_ts.py", line 4, in <module>
    __import__('pkg_resources').run_script('langchangetrack==0.1.0', 'detect_changepoints_word_ts.py')
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources.py", line 517, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources.py", line 1436, in run_script
    exec(code, namespace, namespace)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/langchangetrack-0.1.0-py2.7.egg/EGG-INFO/scripts/detect_changepoints_word_ts.py", line 227, in <module>
    main(args)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/langchangetrack-0.1.0-py2.7.egg/EGG-INFO/scripts/detect_changepoints_word_ts.py", line 189, in main
    pvals, num_samples = zip(*results)
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/Users/username/.pyenv/versions/2.7.9/bin/ngrams_pipeline.py", line 4, in <module>
    __import__('pkg_resources').run_script('langchangetrack==0.1.0', 'ngrams_pipeline.py')
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources.py", line 517, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources.py", line 1436, in run_script
    exec(code, namespace, namespace)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/langchangetrack-0.1.0-py2.7.egg/EGG-INFO/scripts/ngrams_pipeline.py", line 55, in <module>
    main(args)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/site-packages/langchangetrack-0.1.0-py2.7.egg/EGG-INFO/scripts/ngrams_pipeline.py", line 28, in main
    subprocess.check_call(cmd, shell=True)
  File "/Users/username/.pyenv/versions/2.7.9/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'detect_cp_distributional.sh ./working/models ./working ./output 1905 1975 5 locallinear 1000 common_vocab2.txt 1000 1.75 4' returned non-zero exit status 1

Thank you.

I'm sorry, it is my fault.
My vocabrary file contains some numeric characters, but these characters are not readed incorrectly.
Now, I fixed this point.


Better compatibility with Token Mold?

I use Token Mold to prepend an adjective to each non-Actor Linked token I drop onto my scenes. The issue I'm encountering is that LTW seems to be looking for a token/actor called exactly "Lair Action" to get triggered. Since Token Mold adds the adjectives to any unlinked token, it breaks LTW.
The simplest fix would be if you could create the token and actor as Linked, so that Token Mold didn't change it's name.
Or if there was another way that you knew of to fix it, I'd love to use this more, but as it is, I have to disable Token Mold before I start any combat with a token with Legendary actions/Lair actions to get it to work. These kind of fights happen infrequently that I just don't remember the careful steps I need to take to make it work, so I just don't use LTW when I feel that it could help me.
Any chance of tweaking this so that it doesn't get broken?

My sincerest apologies, I'm only just now seeing this. I will take a look and find the solution. Your lead seems promising.

I have implemented a fix and will release it in a bit. Thanks for your patience.


[ci]: TEST & DO NOT MERGE

DO NOT MERGE

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
955 unchanged lines in 27 files lost coverage.
Overall coverage decreased (-0.06%) to 59.375%

Files with Coverage Reduction
New Missed Lines
%

client_cli/src/main.rs
1
0%

client/src/http_default.rs
1
0%

cli/src/main.rs
1
0%

core/src/smartcontracts/isi/asset.rs
1
29.79%

data_model/src/transaction.rs
1
47.66%

derive_primitives/src/lib.rs
1
0%

macro/derive/src/lib.rs
1
94.59%

wasm_codec/derive/src/lib.rs
1
90.68%

config/base/src/lib.rs
2
91.94%

tools/kagami/src/main.rs
3
2.01%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
19858

Relevant Lines:
33445

💛  - Coveralls


Use no 'static lifetimes anymore

Redid PR #31.
The code builds and passes all automated tests of the repo, but I didn’t test it using another project or similar. The many unsafe blocks doing pointer dereferencing and such hide stuff from the lifetime-checker. So simply because it builds is not yet assuring to me. Please check and test before merging.
I made an API change to TagIter, requiring the use of a constructor function.
I am sure that I haven’t captured the intention of issue #22 completely. Although, all handed-out references have some parametric lifetime, this patch doesn’t improve “safety”. Meaning: out-of-bounds accesses aren’t prevented and the multiboot2 header can’t be at an arbitrary place in memory, because the physical addresses inside the header are still directly interpreted as pointers.

Please update this branch

@Columbus240

LGTM, thanks @Columbus240!
I'll merge this, and publish as version 0.8.0 (I think I have permissions to do that)


add PAC to pipeline

Add a PAC build step in the concourse pipeline before the github release, so the changelog can be automated and removed from the manual steps.

Use the PAC docker image since it comes pre installed with all Ruby dependencies

The PAC image has an entrypoint and that needs to be removed for it to work with the pipeline, and @Sharor has a configuration which prettifies the output of PAC. This is a blocker and should be fixed soon

https://github.com/codecov/example-go


Need some visual padding between active and hovered tabs

On a page with tabs, when you hover over the tab directly next to the active tab, there's no visual padding between the tabs, which looks kind of confusing.

cc @luciaaaaaaa

Styling is better for smaller on-page tabs, btw: https://deploy-preview-8489--cockroachdb-docs.netlify.app/docs/stable/install-client-drivers.html

Styling is better for smaller on-page tabs, btw: https://deploy-preview-8489--cockroachdb-docs.netlify.app/docs/stable/install-client-drivers.html

@jseldess I think its okay for tabs not to have padding, but the selected tab should be highlighted by making the text also purple. this way it is very clear which tab is selected vs. on hover.
reference: https://material.io/components/tabs/web
However it should be consistent everywhere

@jseldess I think its okay for tabs not to have padding, but the selected tab should be highlighted by making the text also purple. this way it is very clear which tab is selected vs. on hover.
reference: https://material.io/components/tabs/web
However it should be consistent everywhere

But in the materialize example, the text color changes and the background color changes. Without that background change, I find our design not clear. Again, unless there's some padding between tabs.
This page shows the type of padding I'm talking about, and I think it looks fine: https://deploy-preview-8489--cockroachdb-docs.netlify.app/docs/stable/install-client-drivers.html.
Can you please clarify exactly what the design should be and help make sure it's applied everywhere?

But in the materialize example, the text color changes and the background color changes. Without that background change, I find our design not clear. Again, unless there's some padding between tabs.
This page shows the type of padding I'm talking about, and I think it looks fine: https://deploy-preview-8489--cockroachdb-docs.netlify.app/docs/stable/install-client-drivers.html.
Can you please clarify exactly what the design should be and help make sure it's applied everywhere?

I see what you mean @jseldess
just discussed with @anagio. We want to avoid the gap between the tabs so that eventually tabs can slide to selected option. This is a nice micro-interaction that tabs usually employ
The issue is that currently the hover and selected state look exactly the same. To address this I propose:
Hover state: Text in purple
Active state: Text in purple and tab

More feedback on tabs within content: https://cockroachlabs.slack.com/archives/C0168LW5THS/p1612804229114400
It seems like the feedback here is that there isn't enough of a visual differentiation between the tabs and the rest of the text (example in step 2):

@luciaaaaaaa - I think your proposed changes (active state = purple text + tab) might help here but maybe we need more top padding too?


[Bug] CTRL + C | CTRL + V Stuck

When I'm just trying to copy something and want a paste somewhere the app is stuck in a couple seconds or just not copying the line. Really annoying.
Installed from Microsoft Store.

I fix the thing. When u change the "Use windows theme settings ON" from settings the issue will be solved


[MRG] Parametrized test_boston_dataset after bugfix in #43

Looks like #43 also fixed test_boston_dataset :)

Nice!


Feature same drawable different colors in HeaderDesign

right now we can give same image with different colors for tabs in MaterialViewPager.Listener getHeaderDesign method. But that refreshes that refreshes the Background Header image on every tab shift.
Instead if there is logic which checks if the HeaderImage is same as previous tab so even when we swipe tabs the Header Image view Won't refresh (i.e it still continues it animation with out any break), it will help because many real case applications use same Header Image but different colors. But now on every tab shift the BackGround Image shifts.
This can be a good feature and also adds optimization to library.

I completely agree.
That's exactly my situation!


TextField and TextFormField don't work anymore in MS Edge

What happened?
The classes TextField and TextFormField don't work anymore in MS Edge.
When I run code that includes a TextField (e.g. second example on the page https://api.flutter.dev/flutter/material/TextField-class.html) I can click into the field, a blinking cursor is shown. When I enter a character the field empties and shows no text - the field stays empty when I enter more text.
Steps to reproduce problem
Open https://api.flutter.dev/flutter/material/TextField-class.html and run the second example.
Additional info
Browser
Browser:
MS Edge
Version:
Microsoft Edge | 115.0.1901.203 (Offizielles Build) (64-Bit)
Revision | a5a2b1779bcfe71f081bc9104cca968d420a89ac
Chromium-Version | 115.0.5790.171
Betriebssystem | Windows 10 Version 22H2 (Build 19045.3208)
JavaScript | V8 <IP_ADDRESS>
Are you using any extensions/plugins that affect website behavior
No.
Are there any warnings or errors in your browser's JavaScript console?
General warnings about usage of deprecated functions are shown.
Machine
Operating system:
Windows
Version:
10
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
see https://api.flutter.dev/flutter/material/TextField-class.html example 2.
DartPad's output
Did DartPad print anything to the console pane? If so, paste it below:
No output on console.

Version infro from the footer of https://api.flutter.dev/flutter/material/TextField-class.html
Flutter 3.13.0 • 2023-08-16 10:19 • efbf63d9c6 • stable

Thanks for opening an issue!
Does this happen in a full version of DartPad like: https://dartpad.dev/?id=387be773179a32f3698dcbd982e1bda7
Could you also try the text fields in a standalone web example like https://flutter.github.io/samples/web/material_3_demo/?

Thanks for opening an issue!
Does this happen in a full version of DartPad like: https://dartpad.dev/?id=387be773179a32f3698dcbd982e1bda7

Yes it happens in te full version as well. Attached is a screencast of what it looks like (changed the background color to grey).
You cannot see the text while entering. Though characters are "accepted" by the field

Could you also try the text fields in a standalone web example like https://flutter.github.io/samples/web/material_3_demo/?

Happens here as well, same behaviour of the fields in the Text Inputs section.
Bildschirmaufnahme.webm

Thanks for verifying, it's appreciated! Since it occurred with non-DartPad Material 3 demo, it looks like this is potentially a general issue with Flutter web on Edge and not with DartPad itself.
Generally Flutter issues are tracked at https://github.com/flutter/flutter/issues. Would you mind opening an issue on that repository with the same information you provided here? They'll be able to triage the issue and perhaps know of a solution.
I'll look to see if there's an existing issue though and will mention it here if I can find one. Thank you!

Not a problem. I created https://github.com/flutter/flutter/issues/133232

Thanks for that! I see you identified the root issue there, so I'll close this one :)


Pin buffers in benchmark

We should pin buffers to have fast transfers on x86 machines.

Right I was just thinking about this the other day that the removal of the "-pinned" flag in the library must have disabled this for the benchmark as well. This is an elegant solution.


SassC::SyntaxError / Sass::CompileError: End of file reached without feedback on Jruby with Java 16+

HI there - thanks for this project, it looks promising to make a migration away from ruby-sass and libsass possible, since dartsass-rails doesn't seem to be as nicely integrated with Rails/Sprockets as we'd like for development purposes and getting libsass to compile for Windows seems to be a bit of a nightmare; not worth the effort for something deprecated (supporting Windows dev/test is currently a requirement for us).
I'm parking this here as came across an issue that might be of use to others on JRuby.
When pre-compiling assets for test or production under JRuby it's possibIe to get errors like the below, but no feedback on the problematic file. When in development mode, things just hang in JRuby threads without feedback - you can see forked dart processes, but JRuby-land is just waiting for responses.
Environment

JRuby <IP_ADDRESS> (Ruby 2.6 compatible)
Java <IP_ADDRESS>
MacOS Monterey 12.5.1

Problem
Getting error with rake assets:clobber assets:precompile --trace via JRuby
SassC::SyntaxError: /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/async.rb:56:in `block in await': End of file reached (Sass::CompileError)
        from org/jruby/ext/thread/Mutex.java:171:in `synchronize'

There is no other feedback on the problem, or what it was trying to do. What is actually happening is that forking dartsass seems to require "Native subprocess control" which is restricyed on Java 16+. Normally JRuby will warn you with
2022-09-09T14:01:31.317+08:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.

Solution
Ensure you have these args (--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED) to your JVM JRuby is running in, and sassc-embedded-shim-ruby will work correctly.
I suspect this project isn't necessarily validated with JRuby, so wanted to note this here. I also suspect the "feedback" problem isn't so much this project's problem as some challenge with our setup, or JRuby itself. So we can probably close this immediately :-)
Fuller log
Using environment variables
    GEM_HOME='/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0' \
    GEM_PATH='/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0' \
        PATH='/Users/chad/Projects/community/gocd/gocd/server/scripts:/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/bin:/Users/chad/.local/bin:/Users/chad/go/bin:/usr/local/sbin:/Users/chad/.asdf/shims:/Users/chad/.asdf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' \
   RAILS_ENV='test' \
RAILS_GROUPS='assets' \
        RUBY='/Users/chad/Projects/community/gocd/gocd/server/scripts/jruby' \
[/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails]$ java -Djruby.home=uri:classloader://META-INF/jruby.home -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xss2048k -client -Dfile.encoding=UTF-8 -Duser.country=SG -Duser.language=en -Duser.variant org.jruby.Main -S rake assets:clobber assets:precompile --trace
2022-09-09T13:49:03.937+08:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
** Invoke assets:clobber (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/js-routes-1.4.14/lib/js_routes.rb:22: warning: Dir.exists? is a deprecated name, use Dir.exist? instead
** Execute assets:clobber
I, [2022-09-09T13:49:14.648612 #61099]  INFO -- : Removed /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/public/assets
** Invoke assets:precompile (first_time)
** Invoke assets:environment
** Execute assets:precompile
I, [2022-09-09T13:49:14.984946 #61099]  INFO -- : Writing /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/public/assets/lib/d3-3.1.5.min-586e3ae81fb89e3ab168586419d4588eebe30e705122844359e8156ed2c2545f.js
rake aborted!
SassC::SyntaxError: /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/async.rb:56:in `block in await': End of file reached (Sass::CompileError)
        from org/jruby/ext/thread/Mutex.java:171:in `synchronize'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/async.rb:53:in `await'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/host.rb:133:in `await'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/host.rb:43:in `compile_request'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded.rb:209:in `compile_string'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded.rb:47:in `compile_string'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sassc-embedded-1.54.0/lib/sassc/embedded.rb:17:in `render'
        from /Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sassc-rai

.... (snip)

Caused by:
Sass::CompileError: End of file reached
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/async.rb:56:in `block in await'
org/jruby/ext/thread/Mutex.java:171:in `synchronize'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/async.rb:53:in `await'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/host.rb:133:in `await'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded/host.rb:43:in `compile_request'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded.rb:209:in `compile_string'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sass-embedded-1.54.9/lib/sass/embedded.rb:47:in `compile_string'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sassc-embedded-1.54.0/lib/sassc/embedded.rb:17:in `render'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:40:in `block in call'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/utils.rb:171:in `module_include'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:39:in `call'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/sass_processor.rb:30:in `call'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
org/jruby/RubyArray.java:1947:in `reverse_each'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
org/jruby/RubyHash.java:794:in `default'
org/jruby/RubyHash.java:1265:in `[]'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/bundle.rb:23:in `block in call'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/utils.rb:200:in `dfs'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/bundle.rb:24:in `call'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
org/jruby/RubyArray.java:1947:in `reverse_each'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
org/jruby/RubyHash.java:794:in `default'
org/jruby/RubyHash.java:1265:in `[]'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:134:in `block in find'
org/jruby/RubyArray.java:1865:in `each'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:133:in `find'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-rails-3.4.2/lib/sprockets/rails/task.rb:67:in `block in define'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/sprockets-rails-3.4.2/lib/sprockets/rails/task.rb:66:in `block in define'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
org/jruby/RubyArray.java:1865:in `each'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
org/jruby/ext/monitor/Monitor.java:82:in `synchronize'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
org/jruby/RubyArray.java:1865:in `each'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/Users/chad/Projects/community/gocd/gocd/server/src/main/webapp/WEB-INF/rails/gems/jruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in `<main>'
org/jruby/RubyKernel.java:1052:in `load'
uri:classloader:/META-INF/jruby.home/bin/rake:23:in `<main>'

The tests in GitHub Actions run with JRuby on Java 11 today, so that it does not expose the issue you're facing.
And yes, this is a JRuby issue: https://github.com/jruby/jruby/issues/6721

@ntkme Thank you! I am previously aware of the underlying problem after doing a Java 17 migration, but it's a bit weird that one doesn't get any feedback or see the normal error from the JVM subsystem when you try to access something you're not allowed to. That's probably a separate JRuby quirk that it's swallowing the root cause error somehow.


Add scores and categories for individual probes

Help me understand what's a problem and how much, by providing, for individual probes:

The top-level category they count towards
Their individual score
(If applicable) their weight of contribution to their top-level category

After discussion with you (Daniel), I do understand your point.
So, the requirement here is to have a way to understand why a scoring implementation gets a specific score.
For now, only the description can lead to some understanding about the value of the score, but it is not clear enough at all.
We need to see directly how a plugin maintainer can change a score from 0 to 1 or from 0.65 to 1 by addressing specific probes.
This is also true to understand why we have a 1.


Figure out and document the recommended way to establish organizational defaults for individual resource types for Config Connector

Copying a good question from slack:

If I have a complex application consisting of several GCP resources such as a bucket, pubsub topic and cloudsql, what kind of granularity in packages and their scope should I be considering?
The additional context here is that I want these GCP resources to have sane defaults for our environment, so I'd likely already create packages for many resources, just for that (and likely accompany things like cloudsql with a loggingsink).
Will everything end up in 1 package, with cloudsql, the bucket, etc packages being cloned from the blueprints I created?
Or will the user deploy each and every blueprint, with all the issues that involves?
I guess my question consists out of two:

how to provide my own defaults for most resources?
what does the end result look like from a user perspective / how are things composed?

The existing de facto approach to set defaults for individual resource types has been granular nested subpackages with setters.
Here's an example:
https://github.com/GoogleCloudPlatform/blueprints/tree/main/catalog/bucket
That repo has other examples, of redis, spanner, and so on.
However, I've cautioned strongly against setters #3131, as they are manual and error-prone, and obstruct automation. For instance, setters are an obstacle to operating on blueprints with the package orchestrator, to editing them with a UI, to changing settings with security remediation automation, and to creating blueprints automatically.
And I've recommended that users should not need to create packages for individual resource types.
Packages are pretty heavyweight for that granularity, especially for deployment, and also often degenerate to the "every attribute is a parameter" pattern anyway (see the setter issue above).
I've even suggested that we reconsider whether we need nested subpackages #3343.
Furthermore, users should be able to author resources easily enough, such as via:

Backstage UI plugin
Generator CLI command, such as kubectl create or kube-gen.sh.
CLI with interactive prompts
Shell with menu-like autocompletion
IDE plugin, such as Google Cloud Code
Terminal console
Mobile app
Generator KRM function
Copy/paste from documentation
Fork a tutorial
Export from live state

and so on.
Imperative generators have fewer issues than declarative ones (#2528), and authoring is an imperative process.
Enabling easy configuration authoring is a goal of the project. There's a lot that could be done to improve the UX via user interface surfaces #3145: recommended defaults, smart defaults, step-by-step guidance, and so on.
For Config Connector specifically, we need improvements and additions to the function catalog, such as:

Horizontal functions that change names, labels, namespaces, etc. need to be configured to be aware of cross references and selectors in Config Connector resource types
We need functions suitable for implementing the variant-constructor pattern
set-project-id needs improvement: #2562, #2690
We need set-gcp-location: #2658
We need set-gcp-domain: #2677
We need set-gcp-org-id: #1400
We might want set-gcp-displaynames (no issue yet AFAIK)
We should be able to automatically capture the gcloud context: #2715
We probably want a function to set kcc lifecycle directives by default based on resource type, such as for storage resources

cc @diviner524

I've also been looking at other tools that support resource or package/module composition, such as terragrunt and kapitan.dev.
There are some common concepts or patterns:

A workspace, or container for the composition.
Shared properties within the workspace, including some well known properties.
Components being composed, with their own customized property values.
Targets / environments / variants that more or all of the components are provisioned into, with their own property values.

We may want to think about how to support this pattern more explicitly.
cc @justinsb


tailcall optimization & coroutines

Yay or nay?
Poking around the codebase I noticed it is modeled after Lua (sans register VM) in many regards and it might be worth it to continue in this trend.
I do realize this is basically introducing bloat and non-standard extension, however the two $SUBJ features are the key selling points of Lua - and will be missed by anybody who ports Lua scripting to use mujs.
Question is, would be code submissions of this sort considered or are they better kept in side fork as the goal of mujs is to be strictly minimal ecma implementation, with no compromises made which would introduce nonstandard features?
Regarding technicalities, superficially it seems that no big refactoring would be necessary and all the changes would be quite self contained, with the exception js_State->{stack,top,bot} which would have to go into new js_Thread (and original references to js_State should be made via js_Thread->J)
Tailcall optimization would be enabled by scope flag (as it is a nonstandard semantic).
Coroutines as a package call, very similiar to Lua, including unability to yield across C stack. As a side benefit, ES6 generators could be then done simply by adding syntactic sugar to this.

Tailcall optimization would not be difficult to add; the only real "drawback" of doing it is losing stack trace information for exceptions and runtime errors; the benefit is allowing naturally recursive functional code to work without worrying about running out of stack.
Coroutines would be useful, but are a bit counter to the original idea of a minimal JS interpreter.
An implementation would still be fairly minimal in terms of resulting code size; but it does involve a much larger effort of implementation.
Note however, that any significant contributions of code to MuJS will need a copyright assignment to Artifex since we dual license the code as part of commercial licensing of MuPDF, which is what funds the development of both MuPDF and MuJS.

In summary: Yay, to both proposals. But I've got limited time to work on it myself (I have more urgent projects I need to focus on in the short term), and any contributions will need copyright assignment if they are to be merged into the official mujs project.

copyright assignment

Fine by me, as long it's not something obtuse like faxing stuff around.
I'll start with the tailcall following week or so.


can't install with capacitor 4.0.x core

Doesn't look like this works with capacitor core 4.0.x yet?
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@capacitor/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@capacitor-community/keep-awake
npm ERR!   @capacitor-community/keep-awake@"*" from the root project

See https://github.com/capacitor-community/keep-awake/pull/32

Duplicate of #31


rats-tls: provide developer guide

Guide the developer to implement instance code, and how to use enclave-tls api to implement applications based on enclave-tls.

Duplicated to https://github.com/alibaba/inclavare-containers/issues/763


How to make 3rd party rust types available to the VM

Summary
I'm building a little data processing application, in which I'd like be able to add data transformations that are written in python but will be executed by rust under the hood. Eventually I want provide a polars dataframe, and modify it via python.
Something like this:
def transform(df):
    df = df.with_columns(
        (pl.col("x") * 2).alias("twice")
    ).collect()

    return df

I'm already hitting a road block getting the dataframe in and out of the VM. I tried to build on top of the call_between_rust_and_python example, but it only works with types that are already supported by rustpython or on simple types that are composed of supported types.
I'd be very happy if you'd nugde me into the right direction, given if it's actually possible what I'm trying to achieve.

Still RustStruct in the call_between_rust_and_python is the best option. You have to wrap a rust type to make a python type.
The inner rust type can be literally any type, though they requires different wrapping strategy.
Please share the details how you are blocked by building on top of call_between_rust_and_python. Then I could understand the situation better.


Revert "Searchnews"

Reverts katgucilatar/world-wire-news#54     reverting commit because of news saving issue.

nvm


Newcases and Newdeaths are not available anymore

🐛 Describe the bug
Multiple values like newCases and newDeaths are not available anymore
💥 When did the bug occurred.*
Always
💻 Versions (please complete the following information):

Python: 3.9.10
RKI-Covid-Parser: 1.3.1
OS: independent

🗄 Stacktrace

🎓 Please try to add as many data to reproduce the issue.

Solved with the latest release version 1.3.2

@swanitzek it is now available with the latest version 1.5.8

Perfect! It works again. Thank you very much.

Thanks a lot, I got my numbers back 👍


mupdf: Improve pkg-config file

Description of changes

Use variable substitution to base paths on prefix

multiple-outputs hook takes care of applying corrections as needed

Actually use the variables in Cflags & Libs

Gives:
prefix=/nix/store/qs7s1r5z3k2nb7c4c31k3k4zs7bz6h4h-mupdf-1.23.5
libdir=${prefix}/lib
includedir=/nix/store/9k7v3h2ykh92bahprg04y1cngpri7dpv-mupdf-1.23.5-dev/include

Name: mupdf
Description: Library for rendering PDF documents
Version: 1.23.5
Libs: -L${libdir} -lmupdf
Cflags: -I${includedir}

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Diff applied to base branch, thank you!


Clean takes a flag that will add a --force flag to clean.

See bug report https://issues.jenkins-ci.org/browse/JENKINS-26660 for more details

Depends on https://github.com/jenkinsci/git-plugin/pull/449

rebuild

Hi @MarkEWaite, happy Thanksgiving, we’d really like to get this PR and the dependent PR in git-plugin merged. Let me know if anything needs to be fixed or changed.

Hi @MarkEWaite, just wanted to check in again. Do you know when you will be able to look over this PR and PR in the git-plugin?

I am confident that I will not evaluate it for at least a month.  I'm working now on PR225 to resolve the renamed submodule regression that was introduced in git plugin 3.0.  Once tests are written to resolve that regression, I'll next focus my efforts on resolving the authentication regression(s) that were introduced in git plugin 3.0.  Once those two are completed, I'll review other pull requests to see which should be reviewed next.
I'd love to have you enlist others to help test this pull request and its matching pull request for the git plugin.  There are a few different Jira reports requesting this feature, so you might comment on those bug reports to see if you can persuade the submitters of those bugs to help confirm the usefulness and compatibility of this pull request.
I'm more readily persuaded when multiple users report that they are successfully running the pull request

This would fix https://issues.jenkins-ci.org/browse/JENKINS-45705 for me.

@leandro-lucarella-sociomantic you can test drive the plugin by downloading it from the "all checks have passed" details link
That takes you to a page which has an "Artifacts" link in the top right corner.  When you click that link, one of the items to download is git-client.hpi.  That is the tip of the current master branch with this pull request merged onto it.

Thanks! I guess I will need to install a matching github-plugin in https://github.com/jenkinsci/git-plugin/pull/449 for this right? But that PR is not building so I can't download it.

ping @MarkEWaite

@leandro-lucarella-sociomantic I won't be able to assist with this until after the end of the working day today, or possibly tomorrow.  Too many things to do for work today.

Just for the records, we had deployed the plugin with this fix for maybe like a month or even more. Sadly I couldn't get the people affected by this to test it in this time, but on the other hand, nothing else broke, so I guess that is in a way good news :)


Decide on URI format from dewey.info

*related to #5 and #2 *
In my opinion the default (if no option --scheme was given) should be to emit URIs as they were given at dewey.info. To document the choice of URIs I wrote the following paragraph. I am posting it here to discuss whether we can agree on this choice.

DDC URI format
The choice of common URIs is the most important decision because it allows connection of data from multiple sources. The URIs for DDC, as described by Mitchell and Panzer (2013), follow a general pattern with URIs for classes, tables, table numbers, and editions among other parts. URIs for classes and table numbers can further be refined with an edition or date (e.g. http://dewey.info/class/641/2009/, http://dewey.info/class/641/e22/, and http://dewey.info/class/641/e23/2012-08/) and some URIs have an alternative form (e.g. http://dewey.info/class/T2--162/). To minimize the number of possible URIs, only the following URIs should be used:

DDC as whole: http://dewey.info/scheme/edition/e23/ (particular edition) or http://dewey.info/scheme/ddc/ (general)
class entry: http://dewey.info/class/551.46/e23/ (particular edition) or 	http://dewey.info/class/551.46/
DDC table:	http://dewey.info/table/2/e23/ (particular edition) or 	http://dewey.info/table/2/ (general, not found at dewey.info?)
table entry:	http://dewey.info/class/2--162/e23/ (particular edition) or 	http://dewey.info/class/2--162/  (general)

Note that language editions have no distinct URIs on purpose. The URI format for particular editions of DDC only works until the 23rd edition because this will probably be the last. When OCLC moves from editions to another numbering scheme, this needs to be reflected in an update of this guideline.

Probably a good idea to use the established pattern by default! I'm incorporating it into the rewrite branch.

Since the rewrite branch was merged quite some time ago, I'm closing this issue. The current default URI pattern is documented on https://github.com/scriptotek/mc2skos#uris . Feel free to re-open the issue if there's more to discuss.


[$1000] Room - Blank pages are displayed when clicking on links provided

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open app
Sign in expensifail account
Navigate to each of the following links:

https://staging.new.expensify.com/r/6821704960193694
https://staging.new.expensify.com/r/6821704960193694/details
https://staging.new.expensify.com/r/6821704960193694/participants
https://staging.new.expensify.com/r/6821704960193694/settings
Expected Result:
User redirected to a blank conversation with a message indicating that the user doesn't have access in web and to LHN in mobile view
Actual Result:
Blank pages are displayed when clicking on links provided
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/d6aeb99d-ce95-4aa8-959e-298aaf80d04b
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0100c1b8a9b3d3ef2b
Upwork Job ID:<PHONE_NUMBER>235895808
Last Price Increase: 2023-06-20

I don't have an expensifail account - only expensicorp so i need to get one of those made asap or ask another Expensifier with one to test this for me. I didn't get to this today but it's first on my todo list tomorrow.

Reprodicible:

waiting for proposals

Still waiting on proposals here , not overdue.

Hi I'm Piotr from Callstack - expert contributor group - will start investigation in this area

After checking each platform I've got these results:
On android/ios (all types of links)

Web (chrome)
Chat link:

Details/participants/settings page:

Are these results correct? If not, what is the correct result of goin to link we do not have access to?

Yeah, kinda seems like this is no longer a bug?


Scrolling on parent page not triggering a resize event

Hey I'm building an iFramed site for VH1/Rimmel and isolated the code and you can see the live version here: http://rawgit.com/offerpop/wyng.com-demo/master/index.html
The following code works fine for initial resize + some callbacks I have inside the frame itself, but for some reason, scrolling to the end of the page does not enable another resize even though I have scrolling set to true
<!DOCTYPE html>
<html>
    <head>
        <script src="https://s3.amazonaws.com/assets.offerpop.com/libs/iframeresizer/iframeResizer.min.js"></script>
    </head>

    </head>

    <body>
        <iframe src="//wyng.com/commerce/gallery/24659?context=iframe" width="100%" frameborder="0" id="rimmel"></iframe>

        <script>
         iFrameResize({
            heightCalculationMethod: 'documentElementScroll',
            scrolling : true,
            checkOrigin : false,
            enablePublicMethods : true,
            minHeight: 1500,
           });
          window.addEventListener('scroll', function(e) {
            console.log('scrolling', e);
            console.log(document.documentElement.scrollHeight, document.querySelector('#rimmel').scrollHeight);
          });
        </script>
    </body>
</html>```

Not sure I follow what your trying to do. But glad you found a solution,,


I translated lidar_ex_checker into koreans

I translated lidar_ex_checker into koreans

@taewankang Your contribution to Apollo is highly appreciated. Please create a new folder in docs and put all your korean translations of documents there. I am closing all your existing pull requests. Please create a new one after you make the changes. Thanks!


TP2000-206: Automatically select terminating regulations

Why
At the moment it's not possible for users to add or remove end dates to measures because they aren't able to make a corresponding edit to the terminating regulation. This behaviour is also handled in a number of bespoke places in the code base.
What
This commit unifies that logic into a signal that is fired pre-save, so no matter where the edit to the measure is happening the logic will be applied. This also lets us remove some redundant code.
We also take the changed commodity code handling logic out into a signal.
The mute_signals decorator is necessary for ME33 and ME34 so that it is possible to create test data that ignore this logic.

Codecov Report

Merging #521 (acec341) into master (8aebe03) will increase coverage by 0.00%.
The diff coverage is 96.07%.

@@           Coverage Diff           @@
##           master     #521   +/-   ##
=======================================
  Coverage   92.72%   92.72%
=======================================
  Files         299      301    +2
  Lines       18567    18582   +15
  Branches     1479     1478    -1
=======================================
+ Hits        17216    17231   +15
  Misses       1077     1077
  Partials      274      274

Impacted Files
Coverage Δ

measures/models.py
96.30% <ø> (+0.38%)
:arrow_up:

measures/patterns.py
90.76% <ø> (-0.10%)
:arrow_down:

measures/signals.py
92.30% <92.30%> (ø)

common/models/mixins/validity.py
98.00% <100.00%> (-0.04%)
:arrow_down:

measures/apps.py
100.00% <100.00%> (ø)

measures/tests/test_business_rules.py
96.93% <100.00%> (+0.02%)
:arrow_up:

measures/tests/test_signals.py
100.00% <100.00%> (ø)

regulations/tests/test_business_rules.py
92.59% <100.00%> (-0.63%)
:arrow_down:

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 8aebe03...acec341. Read the comment docs.

:+1:


Grpc heartbeat

Consul already provides a grpc heartbeat checking mechanism, and if consuldotnet can be updated, just add the GRPC attribute to the AgentServiceCheck class

yeh,I think so!

yes, we also need this function immediately. so please quickly updated. thks


execution failures in deletion tasks

Hi there,
Upon running the command python delete_gnn.py, I encountered the following error:
  File "/home/user/Documents/code/GNNDelete/delete_gnn.py", line 86, in main
    assert args.df != 'none'
AssertionError

Similarly, when I executed the command python delete_node.py, and python delete_node_feature.py,  I was met with another error:
AttributeError: 'GlobalStorage' object has no attribute 'train_pos_edge_index'

Would you mind providing some suggestions?

Hey, I'm facing the same problem as you. Have you resolved it?
File "/home/user/Documents/code/GNNDelete/delete_gnn.py", line 86, in main
assert args.df != 'none'
AssertionError


Welcome bot for new contributors

🚀 Feature
Enable a bot to welcome first-time-contributors to the repos (could be enabled here and in napari/docs).
Motivation
This bot would be implemented via github Actions and would be similar to other projects (for example, on Matplotlib). Here is extra motivation for this kind of automation: Welcome and guide first-time-contributors with a github action
Pitch
An idea for the wording would be something like:

Thank you for opening your first PR in napari!
If you have not heard from us in a while, please feel free to ping us on the zulip chat reviews stream or tag anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.
You can also join us on zulip for real-time discussion.
For details on testing, writing docs, and our review process, please see the developer guide.
To see a rendered version of the documentation with changes from this PR, click the Details button on the "Build PR Docs" check.
We strive to be a welcoming and open project. Please follow our Code of Conduct.

Alternatives
Manually tracking first-time-contributors can work for small projects, but as they grow is becomes increasingly hard to welcome people in a timely manner. This ensures they at least have the basic information they need while they wait for a review.
Additional context
This was first mentioned in https://github.com/napari/docs/issues/98
cc @psobolewskiPhD 😄

I like it. Maybe after Thank you... we add a
What's next?

one of the maintainers will activate CI
your PR will be reviewed to see if it's ready for merging
(with or without bullets 🤷♂)

But bot should not be activated on CI marked as draft?

I mean it could? Does it matter?
This would be for first-time contributors a general and gentle view of whats next.

To be clear I think both the wording and policy require further discussion from the community - I just wanted to capture the idea for later 😄


SAK-21242 - Configure number of hours to show in Calendar's weekly an…

…d daily pages

We are going to do some QA in Murcia's trunk QA server (Atica) so please make reviews of the code but don't merge to trunk until we have finished. Thanks.

Nice feature @danielmerino


Improve readability of the Conway cddl spec

Please provide more comments explaining the semantics, and avoid magic constants
E.g. for https://github.com/IntersectMBO/cardano-ledger/blob/411054e40b4e08350049e4eaffdf0cc5f73e9d91/eras/conway/impl/cddl-files/conway.cddl#L20
The old explainer was very useful

One possible solution to this which would help better define the address is use the ,abnfb  control operator from: https://www.rfc-editor.org/rfc/rfc9165.html to help define these kinds of fields.


Remove the virt_launcher.process custom SELinux policy

Is your feature request related to a problem? Please describe:
After https://github.com/kubevirt/kubevirt/pull/11222 merges virt-launcher's custom SELinux policy is no longer needed.
Describe the solution you'd like:
Remove the virt_launcher.process SELinux custom policy and any reference to it, including the logic that installs the custom policy at startup https://github.com/kubevirt/kubevirt/blob/main/pkg/virt-handler/selinux/labels.go#L149.
Additional context:
Passt was the last user of the custom SELinux policy, and after https://github.com/kubevirt/kubevirt/pull/11222 it will no longer need it.

/label good-first-issue

/assign

is someone still working on this  issue or else @alicefr  please assign it to me

Hey @acardace, @alicefr, just to confirm you want the Getting Started documentation to be corrected right? i.e. remove the mention of the special SELinux policy that we had in place?
And @jean-edouard are you still working on this issue? If not,
/assign

@jean-edouard, thanks for mentioning this! Then should I raise a new PR for cleaning the docs?
Or you'll be handling that as well?
@acardace @alicefr

@jean-edouard this was going to be my first contribution to KubeVirt.
I'll be more than happy to clean the documents up if you want me to.


Add support for Scala Native

It is early days for Scala Native (https://github.com/scala-native/scala-native), but support would be be very helpful.

Is there anybody working on this at the moment?

This has been implemented.


Crash/Java issue upon startup.

Description:
Messenger crashes when started, for some reason it has updated to beta despite the update channel being "Stable" ever since, when started, it comes up with this message.
[Window Title]
Error
[Main Instruction]
JavaScript error in the main process
[Content]
RangeError: Maximum call stack size exceeded
at CallSiteToString as toString
at C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\node_modules\source-map-support\source-map-support.js:362:24
at Array.map (native)
at Function.prepareStackTrace (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\node_modules\source-map-support\source-map-support.js:361:24)
at SyntaxError.get stack as stack
at C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\common\utils\logger.js:107:53
at ensureDataLoaded (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\browser\utils\prefs.js:43:9)
at Object.get (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\browser\utils\prefs.js:87:3)
at send (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\browser\services\piwik.js:15:40)
at reportToPiwik (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\common\utils\logger.js:47:11)
at C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\common\utils\logger.js:110:7
at ensureDataLoaded (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\browser\utils\prefs.js:43:9)
at Object.get (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\browser\utils\prefs.js:87:3)
at send (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\browser\services\piwik.js:15:40)
at reportToPiwik (C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\common\utils\logger.js:47:11)
at C:\Users\lemag\AppData\Local\messengerfordesktop\app-2.0.1\resources\app.asar\scripts\common\utils\logger.js:110:7
[OK]
Steps to reproduce:
Start up application.
App version:
2.0.1 despite not selecting beta.
OS:
Windows 10 Home x64
Extra:
This issue has been reproduced on three of my systems.
Attempted to reinstall via uninstaller and deleting the Appdata messengerfordesktop directory, attempted to download new installer (Stable and Beta) still no good.

Exactly same here

+1

I also have the same error, can someone suggest a fix for it? Reinstalling does not work

I have this problem too :(

I have the same problem too! and I really loved having this. What can I do to fix it? I've uninstalled and reinstalled as well and still no Joy. Has anyone gotten any answers or feedback?

I eventually fixed it by deleting everything that has to do with the software. To find all the files that are spread in the system in various places I used another powerful search software called "Everything" https://www.voidtools.com/.
After this a clean reinstall fixed it.

I think I know how to fix it, will do so in the next update.

I installed the update as suggested but I am still getting that Java error.

Remus, can I ask what you put in the search options on the program you suggested? I'm not good when it comes to the things it's asking for. Thanks in advance.

From: Remus Barbatei<EMAIL_ADDRESS>Sent: Thursday, March 2, 2017 6:22 PM
To: aluxian/Messenger-for-Desktop
Cc: tigereyes7088; Comment
Subject: Re: [aluxian/Messenger-for-Desktop] Crash/Java issue upon startup. (#613)
I eventually fixed it by deleting everything that has to do with the software. To find all the files that are spread in the system in various places I used another powerful search software called "Everything" https://www.voidtools.com/.
[https://www.voidtools.com/sssmall2.gif]https://www.voidtools.com/
Everything Search Enginehttps://www.voidtools.com/
www.voidtools.com
Small installation file; Clean and simple user interface; Quick file indexing; Quick searching; Minimal resource usage; Share files with others easily; Real-time updating
After this a clean reinstall fixed it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/aluxian/Messenger-for-Desktop/issues/613#issuecomment-283815173, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANT17KzF-sx7VwOEdF_R9IPYIUFSpAvDks5rh08kgaJpZM4KAIMf.

Hey everyone, please check the latest version: https://github.com/aluxian/Messenger-for-Desktop/releases


Force Nesting

Hi Kazarena, this may be a limitation of json-ld, but I have a json-ld object below. I generate this object by going from RDFDataset to using api.FromRDF(). In order to make it more succinct, it would be nice if instead of having an array of objects here, I could express it as a single object, with _:b1 nested inside _:b0. Do you know of any json-ld calls that will achieve that? I tried compact, but didn't work.
[
  {
    "@id": "_:b0",
    "@type": [
      "http://www.cidoc-crm.org/cidoc-crm/E15_Identifier_Assignment"
    ],
    "http://www.cidoc-crm.org/cidoc-crm/P140_assigned_attribute_to": [
      {
        "@id": "http://www.verisart.com/objects/e7822ade-0a3a-493c-8e83-16580ce8e866"
      }
    ],
    "http://www.cidoc-crm.org/cidoc-crm/P141_assigned": [
      {
        "@id": "_:b1"
      }
    ]
  },
  {
    "@id": "_:b1",
    "@type": [
      "http://www.cidoc-crm.org/cidoc-crm/E35_Title"
    ],
    "http://www.w3.org/2000/01/rdf-schema#label": [
      {
        "@language": "en",
        "@value": "Mona Lisa"
      }
    ]
  }
]

Hi @scisci,
It looks like a good case to use JSON-LD Framing.
See examples in the official test suite:
https://github.com/kazarena/json-gold/blob/master/ld/testdata/frame-0001-in.jsonld
https://github.com/kazarena/json-gold/blob/master/ld/testdata/frame-0001-frame.jsonld
https://github.com/kazarena/json-gold/blob/master/ld/testdata/frame-0001-out.jsonld
In this example we have a library, a book and a chapter:
{
  "@context": {
    "dc": "http://purl.org/dc/elements/1.1/",
    "ex": "http://example.org/vocab#",
    "ex:contains": {"@type": "@id"}
  },
  "@graph": [
    {
      "@id": "http://example.org/test/#library",
      "@type": "ex:Library",
      "ex:contains": "http://example.org/test#book"
    },
    {
      "@id": "http://example.org/test#book",
      "@type": "ex:Book",
      "dc:contributor": "Writer",
      "dc:title": "My Book",
      "ex:contains": "http://example.org/test#chapter"
    },
    {
      "@id": "http://example.org/test#chapter",
      "@type": "ex:Chapter",
      "dc:description": "Fun",
      "dc:title": "Chapter One"
    }
  ]
}

And we would like to ensure that chapters are nested within books and books are nested within libraries. So we need to invoke frame operation with the following frame document:
{
  "@context": {
    "dc": "http://purl.org/dc/elements/1.1/",
    "ex": "http://example.org/vocab#"
  },
  "@type": "ex:Library",
  "ex:contains": {
    "@type": "ex:Book",
    "ex:contains": {
      "@type": "ex:Chapter"
    }
  }
}

It will then give us the following output:
{
  "@context": {
    "dc": "http://purl.org/dc/elements/1.1/",
    "ex": "http://example.org/vocab#"
  },
  "@graph": [{
    "@id": "http://example.org/test/#library",
    "@type": "ex:Library",
    "ex:contains": {
      "@id": "http://example.org/test#book",
      "@type": "ex:Book",
      "dc:contributor": "Writer",
      "dc:title": "My Book",
      "ex:contains": {
        "@id": "http://example.org/test#chapter",
        "@type": "ex:Chapter",
        "dc:description": "Fun",
        "dc:title": "Chapter One"
      }
    }
  }]
}

I believe you can solve your problem by using the same approach. However, as always, it's worth mentioning that JSON-LD is just JSON in the end and sometimes framing is a way too heavy solution for simple problems. I.e. if you are in full control of the input data and if its structure is reasonably static, it may be easier just to nest the nodes directly in JSON rather than relying on powerful but relatively expensive operations like framing.
See more discussion here

Yep that looks like what I was looking for, although I would also prefer to get rid of the graph property and have it as a single object. Thanks again for the help.
PS in the meantime I wrote some code that does the same thing (finds ids and nests, reducing down to a single object) but the framing method is probably more robust.

Graph property is not required in the example above (because there's just one node inside) but it may be necessary for other documents. I can't remember exactly but there may be a configuration option to remove the graph in this case.
Based on my experience so far with JSON-LD, if there is a requirement to have your documents in a specific (e.g. pretty or minimalist) shape, you will most likely need to do some small post-processing of your JSON-LD document after applying standard transformations.


Log full request path and responses in dry-run.rb

When executing dry-run.rb script, it would be ideal to log the full URL (built using Excon::Utils.request_uri(payload)) for requests that share the path but different query parameters, especially in Azure DevOps.
Logging the response is also useful when debugging.
This is a result of https://github.com/excon/excon/pull/803 hence the bump in excon version
Sample log with this change:
🌍 --> GET https://dev.azure.com/tingle/dependabot/_apis/git/repositories/repro-366
🌍 <-- 200 https://dev.azure.com:443/tingle/dependabot/_apis/git/repositories/repro-366
🌍 --> GET https://dev.azure.com/tingle/dependabot/_apis/git/repositories/repro-366/stats/branches?name=main
🌍 <-- 200 https://dev.azure.com:443/tingle/dependabot/_apis/git/repositories/repro-366/stats/branches?name=main
🌍 --> GET https://dev.azure.com/tingle/dependabot/_apis/git/repositories/repro-366/items?path=.github/dependabot.yml&versionDescriptor.versionType=commit&versionDescriptor.version=484e0dccc2d7b6a3bbb886a01c1da23544de8c36
🌍 <-- 200 https://dev.azure.com:443/tingle/dependabot/_apis/git/repositories/repro-366/items?path=.github/dependabot.yml&versionDescriptor.versionType=commit&versionDescriptor.version=484e0dccc2d7b6a3bbb886a01c1da23544de8c36
=> fetching dependency files
🌍 --> GET https://dev.azure.com/tingle/dependabot/_apis/git/repositories/repro-366

When a requests return 404, we can check if the path is correct or where an issue could be. In scenarios where the body is necessary, EXCON_DEBUG=1 can be used.

I think all you really need here is the dry-run.rb change? The gemspec / Gemfile.lock aren't needed for this PR IIUC??

How about the changes in https://github.com/excon/excon/pull/803 without which the response doesn't have crucial aspects of the URI?

Ah, that's why you're bumping the minimum version... makes sense. I was only thinking about how it will default to the max version.

Can you fix merge conflicts so we can merge?

Can you fix merge conflicts so we can merge?

Done

Thanks again!


55 tags + status

Description

add of tags + status component
restructure css. not for existing components. use tags + status as an example.
add unit tests for tags + status
reworked package.json -> removed all unneeded commands.

📦 Published PR as canary version: 0.0.65--canary.57.f6b5ef3ddbcad7608c6c9b69d56543348a976c1d.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Looking good (y)
The only thing I noticed is that, when doing changes within the Stencil component (not the stories), the hot reloading is not working, but we agreed that that is acceptable, right?

Looking good (y) The only thing I noticed is that, when doing changes within the Stencil component (not the stories), the hot reloading is not working, but we agreed that that is acceptable, right?

I don't think this is acceptable, because it would hinder your work if you have to build every time you make a change.

dev:stencil is needed for storybook to run. for local development run "npm run dev". let's discuss your development process with index.html tomorrow - i hope we find an easier solution for you.
this would lead to big css files in the end resulting in bigger than needed components as global css bleads to other components. I'm open for suggestions here.
will fix, thanks
more like a button. is  there a reasoning to don't use  tags for buttons? many frameworks do it that way.
why? did you find any problems with the current solution? Can you try the current solution and see if it works for you? The end 2 end tests test for a click event and they work fine. My local tests were also good.
yeah, lets do it in a different PR
hot code reloading works - you just have to press f5.


Latest Europe continent database indexing taking too much time

Hello Team,
I am using overpass docker image(https://hub.docker.com/r/wiktorn/overpass-api) to launch the overpass docker service for Europe continent and the plant URL I am using is https://download.geofabrik.de/europe-latest.osm.bz2 which is latest up to date.
It took more than 48 hours to do indexing and still doing indexing. Find the below docker command to start the overpass docker and EC2 hardware config.
I have given diff url to update every 30 days in environment variables.
My question is when I am starting the docker image it will start with latest europe continent database but when I see the logs it is considering the updates also and start doing indexing( I see update 30 days interval). Screenshot of last few lines of latest logs

Docker command:
cmd = " ".join(
[
"docker",
"run",
"--restart=always", # starts docker after system reboot
"--log-driver json-file",
"--log-opt max-size=10m",
"--log-opt max-file=3",
"-e",
"OVERPASS_META=yes",
"-e",
"OVERPASS_MODE=init",
"-e",
f"OVERPASS_PLANET_URL=file:///db/{self.region}-latest.osm.bz2",
"-e",
"OVERPASS_RULES_LOAD=10", # infinite areas update process. Ex: 0-always run, 5-run 5% of the time...
"-e",
f"OVERPASS_DIFF_URL={self._updates_url}", # https://download.geofabrik.de/europe-updates
"-e",
f"OVERPASS_UPDATE_SLEEP={3600 * 24 * 30}", # update every 30 days
"-e",
"OVERPASS_STOP_AFTER_INIT=false",
"-v",
f"{self._dir_overpass}/:/db",
"-p",
f"{self._overpass_port}:80",
"-i",
"-t",
"-d",
"--name",
self._overpass_container_name,
"wiktorn/overpass-api",
]
)
EC2 config:
Instance Size: i4i.2xlarge
vCPU: 64
Instance Storage (GB): 1 x 1,875 AWS Nitro SSD
Network Bandwidth (Gbps): Up to 12
EBS Bandwidth (Gbps): Up to 10
and After very long time the status of docker is:

I tried mutliple times but got same errors.
Note: I am using url to a diff directory for updating the instance is https://download.geofabrik.de/europe-updates instead of https://planet.openstreetmap.org/replication/minute/ Does it cause any issue?
But other continents like northa-merica, asia are working fine with diff url https://download.geofabrik.de/north-americal-updates, https://download.geofabrik.de/asia-updates

Hi,
I have problem understanding what the issue is. From the logs you have shared, I don't see any problem using https://download.geofabrik.de/europe-updates - and it makes applying updates easier, as you have less files to download.
Regarding updating every 30 days - if you restart the container, it resets the timer, so it is not super precise, and script starts with the update and then sleeps, so I don't see anything suspicious in what you have reported above.

Thanks for the reply @wiktorn.
As you mentioned even I don't see any issue in logs, but the docker status is unhealthy after longtime. I run the docker multiple times but status is unhealthy.
Interesting thing is the same docker run command working fine( with update URL  https://download.geofabrik.de/north-americal-updates, https://download.geofabrik.de/asia-updates) for north-america and asia.
Quite confused

What is the error reported by healthcheck?
Can you post first 100 lines of logs after the container restart and maybe last 100 lines after few minutes of running, but excluding lines containing compute_geometry?

If you sort your logs by time, it just looks like it is applying updates one by one, so it doesn't look like anything unusual.
Why do you think, that this logs are of an issue?

Because I didn't invoke the updates diff url flag  "OVERPASS_DIFF_URL"  environment variable flag while running the docker.

So how the container knows, that it needs to fetch updates from https://download.geofabrik.de/europe-updates? It's nowhere in the defaults.

I assume if I don't pass OVERPASS_DIFF_URL then container does not look for updates. Am I wrong?
What if I assign empty to OVERPASS_DIFF_URL (OVERPASS_DIFF_URL = "") does it not look for updates?
what would be the default action?

It took almost and more than 2 days but still indexing the database.
Is it usual or unusual?